140
rated 0 times
[
147]
[
7]
/ answers: 1 / hits: 17595
/ 11 Years ago, mon, january 20, 2014, 12:00:00
I've been implementing a webrtc videochat.
Everything is working smoothly except for the case when the peer closes the browser.
I've been trying to handle this event by implementing an onended callback on the remote mediastream. Though, this callback does not seem to ever be called.
How can I detect that the peer's browser has been closed or that the connection was finished on the other side?
More From » html