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
@ -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…
x
Reference in New Issue
Block a user