fix experiments
This commit is contained in:
parent
7d756029d9
commit
ced60c44e1
2 changed files with 1 additions and 6 deletions
|
@ -176,11 +176,6 @@ GatewayConnection.prototype.negotiateVoiceSession = async function() {
|
|||
logRtc(`onsignalingstatechange -> ${this.webrtcConnection.signalingState}`);
|
||||
};
|
||||
|
||||
this.webrtcConnection.onconnectionstatechange = () => {
|
||||
logRtc(`onsignalingstatechange -> ${this.webrtcConnection.connectionState}`);
|
||||
};
|
||||
|
||||
|
||||
const offer = await this.webrtcConnection.createOffer();
|
||||
await this.webrtcConnection.setLocalDescription(offer);
|
||||
if (this.rtcGotCandidates) {
|
||||
|
|
|
@ -8,7 +8,7 @@ globalGatewayConnection.onopen = (sessionData) => {
|
|||
store.dispatch({ type: 'gateway/connectionstatus', gateway: { isConnected: true } });
|
||||
store.dispatch({ type: 'authenticator/updatelocaluserobject', user: sessionData.user });
|
||||
store.dispatch({ type: 'channels/updatechannellist', channels: sessionData.channels });
|
||||
store.dispatch({ type: 'application/updateexperiments', user: sessionData.__global_experiments || [] });
|
||||
store.dispatch({ type: 'application/updateexperiments', experiments: sessionData.__global_experiments || [] });
|
||||
};
|
||||
|
||||
globalGatewayConnection.onmessage = (message) => {
|
||||
|
|
Loading…
Reference in a new issue