Closed dholgaurav closed 5 years ago
Hi I am able to find workaround but it is not a proper solution. Please find workaround as below
I have done few modification in "pc.oniceconnectionstatechange" function Added one case for firefox
case 'closed':
if(util.browser.indexOf('Firefox') != -1)
{
if(callBackFunction)
{
callBackFunction();
}
}
break;
Note : here you have to define "callBackFunction" in page where you required.
oniceconnectionstatechange is called with iceConnectionState closed status only in firefox, I checked firefox, chrome and opera for windows desktop, I am not sure about the Mobile OS and Other Operating System like MAC and Linux
Please provide your inputs or workaround if any Thanks Gaurav Dhol
Hi
I am using Peer server as a server and Peerjs as a client. I have created one application for broadcast.
Problem is I am starting audio and video from chrome 37.0.2062.120 and view stream from firefox 32.0.2, If stream is disconnected firefox client not able to get close event.
If i start the stream from firefox and receive stream from chrome then I am able to get close event.
I have debug the issue and found that "MediaConnection.prototype.close" is not firing. so can you please help me to resolve this issue?
Thanks Gaurav Dhol