Merge pull request #6484 from prlanzarin/fix-ss-error-exit
Fixed incorrect error toast on screenshare presenter exit
This commit is contained in:
commit
3d6da277d3
@ -97,6 +97,10 @@ KurentoManager.prototype.exitScreenShare = function () {
|
||||
this.kurentoScreenshare.logger.info(' [exitScreenShare] Exiting screensharing');
|
||||
}
|
||||
|
||||
if(this.kurentoScreenshare.webRtcPeer) {
|
||||
this.kurentoScreenshare.webRtcPeer.peerConnection.oniceconnectionstatechange = null;
|
||||
}
|
||||
|
||||
if (this.kurentoScreenshare.ws !== null) {
|
||||
this.kurentoScreenshare.ws.onclose = function () {};
|
||||
this.kurentoScreenshare.ws.close();
|
||||
|
Loading…
Reference in New Issue
Block a user