mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-01 05:39:51 +00:00
rtsp-sdp: Only add RTX to the SDP when using a feedback profile
This commit is contained in:
parent
4ff22ef6d2
commit
ec2c500a9d
1 changed files with 2 additions and 1 deletions
|
@ -384,7 +384,8 @@ make_media (GstSDPMessage * sdp, GstSDPInfo * info, GstRTSPMedia * media,
|
|||
|
||||
update_sdp_from_tags (stream, smedia);
|
||||
|
||||
if ((rtx_time = gst_rtsp_stream_get_retransmission_time (stream))) {
|
||||
if ((profile == GST_RTSP_PROFILE_AVPF || profile == GST_RTSP_PROFILE_SAVPF)
|
||||
&& (rtx_time = gst_rtsp_stream_get_retransmission_time (stream))) {
|
||||
/* ssrc multiplexed retransmit functionality */
|
||||
guint rtx_pt = gst_rtsp_stream_get_retransmission_pt (stream);
|
||||
|
||||
|
|
Loading…
Reference in a new issue