mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
webrtcbin: Remember if a transceiver had a forced m-line
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2104>
This commit is contained in:
parent
92d356d4b0
commit
ed1f0f33a2
2 changed files with 8 additions and 0 deletions
|
@ -6281,6 +6281,12 @@ gst_webrtc_bin_request_new_pad (GstElement * element, GstPadTemplate * templ,
|
||||||
gst_object_ref (pad));
|
gst_object_ref (pad));
|
||||||
_add_pad (webrtc, pad);
|
_add_pad (webrtc, pad);
|
||||||
|
|
||||||
|
if (lock_mline) {
|
||||||
|
WebRTCTransceiver *wtrans = WEBRTC_TRANSCEIVER (trans);
|
||||||
|
wtrans->mline_locked = TRUE;
|
||||||
|
trans->mline = serial;
|
||||||
|
}
|
||||||
|
|
||||||
return GST_PAD (pad);
|
return GST_PAD (pad);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,6 +48,8 @@ struct _WebRTCTransceiver
|
||||||
gboolean do_nack;
|
gboolean do_nack;
|
||||||
|
|
||||||
GstCaps *last_configured_caps;
|
GstCaps *last_configured_caps;
|
||||||
|
|
||||||
|
gboolean mline_locked;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _WebRTCTransceiverClass
|
struct _WebRTCTransceiverClass
|
||||||
|
|
Loading…
Reference in a new issue