mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
webrtc: also check for a null mid to signify an unassociated transceiver
We always give our transceivers an mline on creation so that check is not useful by itself
This commit is contained in:
parent
00977f263a
commit
4d34fe7617
1 changed files with 1 additions and 1 deletions
|
@ -1222,7 +1222,7 @@ _check_if_negotiation_is_needed (GstWebRTCBin * webrtc)
|
|||
const GstSDPMedia *media;
|
||||
GstWebRTCRTPTransceiverDirection local_dir, remote_dir;
|
||||
|
||||
if (trans->mline == -1) {
|
||||
if (trans->mline == -1 || trans->mid == NULL) {
|
||||
GST_LOG_OBJECT (webrtc, "unassociated transceiver %i %" GST_PTR_FORMAT,
|
||||
i, trans);
|
||||
return TRUE;
|
||||
|
|
Loading…
Reference in a new issue