webrtc: don't reuse stopped transceivers at all

This commit is contained in:
Matthew Waters 2018-11-27 19:27:27 +11:00
parent 4d34fe7617
commit 19b3d744d8

View file

@ -3367,6 +3367,8 @@ _find_compatible_unassociated_transceiver (GstWebRTCRTPTransceiver * p1,
return FALSE; return FALSE;
if (p1->mline != -1) if (p1->mline != -1)
return FALSE; return FALSE;
if (p1->stopped)
return FALSE;
return TRUE; return TRUE;
} }