mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
webrtcbin: Don't consider RTP receivers stopped
We don't support stopping RTP receivers currently so let's not consider them all stopped all the time. This fixes some of the ICE/DTLS state change handling and specifically fixes the ICE gathering state. Previously the ICE gathering state was immediately going from NEW to COMPLETE because it considered all transceivers stopped and as such all activate transceivers were finished gathering ICE candidates. Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1126
This commit is contained in:
parent
57c982a1dd
commit
de0f803d56
1 changed files with 2 additions and 0 deletions
|
@ -1554,6 +1554,8 @@ _create_webrtc_transceiver (GstWebRTCBin * webrtc,
|
|||
rtp_trans = GST_WEBRTC_RTP_TRANSCEIVER (trans);
|
||||
rtp_trans->direction = direction;
|
||||
rtp_trans->mline = mline;
|
||||
/* FIXME: We don't support stopping transceiver yet so they're always not stopped */
|
||||
rtp_trans->stopped = FALSE;
|
||||
|
||||
g_array_append_val (webrtc->priv->transceivers, trans);
|
||||
|
||||
|
|
Loading…
Reference in a new issue