mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +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);
|
||||
|
||||
/* our supported transports */
|
||||
supported = GST_RTSP_LOWER_TRANS_UDP |
|
||||
GST_RTSP_LOWER_TRANS_UDP_MCAST | GST_RTSP_LOWER_TRANS_TCP;
|
||||
supported = gst_rtsp_stream_get_protocols (stream);
|
||||
|
||||
/* parse and find a usable supported transport */
|
||||
if (!parse_transport (transport, supported, ct))
|
||||
|
|
Loading…
Reference in a new issue