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:
Matthew Waters 2020-05-01 01:17:08 +10:00 committed by GStreamer Merge Bot
parent ce9b41f5d4
commit b266652043

View file

@ -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);
}