mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 11:45:25 +00:00
webrtcbin: also mark data channel transports as active
Fixes negotiation of a bundled sdp with only a data channel. Without marking the transport as active, we would never unblock the transportreceivebin and thus no data would ever reach us. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1231>
This commit is contained in:
parent
ce9b41f5d4
commit
b266652043
1 changed files with 2 additions and 0 deletions
|
@ -4032,6 +4032,8 @@ _update_data_channel_from_sdp_media (GstWebRTCBin * webrtc,
|
|||
}
|
||||
}
|
||||
|
||||
stream->active = TRUE;
|
||||
|
||||
receive = TRANSPORT_RECEIVE_BIN (stream->receive_bin);
|
||||
transport_receive_bin_set_receive_state (receive, RECEIVE_STATE_PASS);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue