How to know if the other side stops sending media

244 views
Skip to first unread message

José Luis Millán

unread,
Feb 27, 2013, 1:40:43 PM2/27/13
to discuss...@googlegroups.com
Hi,

Is there any RTCPeerconnection event which alerts when the other side stops sending media? It could have crashed or just terminated its media without having signaled for any reason.

How can this be detected?

Thanks

--
José Luis Millán

Iñaki Baz Castillo

unread,
Feb 27, 2013, 1:55:24 PM2/27/13
to discuss...@googlegroups.com
2013/2/27 José Luis Millán <jmi...@aliax.net>:
> Hi,
>
> Is there any RTCPeerconnection event which alerts when the other side stops
> sending media? It could have crashed or just terminated its media without
> having signaled for any reason.
>
> How can this be detected?

It would basically be a "media timeout" callback, but it should not
happen if the remote stream has been paused by the remote.

Is there such a callback in the specs?


--
Iñaki Baz Castillo
<i...@aliax.net>

Justin Uberti

unread,
Feb 27, 2013, 7:10:38 PM2/27/13
to discuss-webrtc
This would be handled via the "disconnected" state for RTCIceConnectionState. It will trigger after some TBD (currently ~5s) delay of not receiving liveness checks or media from the remote side.



--

---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages