Skip to content
Snippets Groups Projects
Commit 801ed30a authored by Pedro Beschorner Marin's avatar Pedro Beschorner Marin
Browse files

Missing after rebase

parent 8f8463cf
No related branches found
No related tags found
No related merge requests found
......@@ -266,7 +266,7 @@ class VideoProvider extends Component {
}
startResponse(message) {
const { cameraId } = message;
const { cameraId, role } = message;
const peer = this.webRtcPeers[cameraId];
logger.info({
......@@ -688,11 +688,10 @@ class VideoProvider extends Component {
},
}, `Missing peer at ICE connection state transition for ${cameraId}`);
// isLocal as the second argument means it will only try to reconnect if
// it's a viewer instance (see stopWebRTCPeer restarting argument)
this.stopWebRTCPeer(cameraId, !isLocal);
VideoService.notify(intl.formatMessage(intlClientErrors.iceConnectionStateError));
}
// isLocal as the second argument means it will only try to reconnect if
// it's a viewer instance (see stopWebRTCPeer restarting argument)
this.stopWebRTCPeer(cameraId, !isLocal);
VideoService.notify(intl.formatMessage(intlClientErrors.iceConnectionStateError));
};
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment