mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 00:31:13 +00:00
client: use protocols supported by stream
This commit is contained in:
parent
04d2da4d03
commit
1a838d6179
1 changed files with 1 additions and 2 deletions
|
@ -1448,8 +1448,7 @@ handle_setup_request (GstRTSPClient * client, GstRTSPContext * ctx)
|
||||||
gst_rtsp_transport_new (&ct);
|
gst_rtsp_transport_new (&ct);
|
||||||
|
|
||||||
/* our supported transports */
|
/* our supported transports */
|
||||||
supported = GST_RTSP_LOWER_TRANS_UDP |
|
supported = gst_rtsp_stream_get_protocols (stream);
|
||||||
GST_RTSP_LOWER_TRANS_UDP_MCAST | GST_RTSP_LOWER_TRANS_TCP;
|
|
||||||
|
|
||||||
/* parse and find a usable supported transport */
|
/* parse and find a usable supported transport */
|
||||||
if (!parse_transport (transport, supported, ct))
|
if (!parse_transport (transport, supported, ct))
|
||||||
|
|
Loading…
Reference in a new issue