projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ff22ef
)
rtsp-sdp: Only add RTX to the SDP when using a feedback profile
author
Sebastian Dröge
<sebastian@centricular.com>
Mon, 4 May 2015 14:31:20 +0000
(16:31 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 4 May 2015 14:31:20 +0000
(16:31 +0200)
gst/rtsp-server/rtsp-sdp.c
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-sdp.c
b/gst/rtsp-server/rtsp-sdp.c
index
421525d
..
393b099
100644
(file)
--- a/
gst/rtsp-server/rtsp-sdp.c
+++ b/
gst/rtsp-server/rtsp-sdp.c
@@
-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);