[vlc-devel] commit: Revert "SDP: don't disallow RTCP RR" (Pierre Ynard )

git version control git at videolan.org
Mon Dec 7 20:28:57 CET 2009


vlc | branch: master | Pierre Ynard <linkfanel at yahoo.fr> | Mon Dec  7 20:28:03 2009 +0100| [f05d2fa4512a94e0cb0da34b61da5fd510ad9ac3] | committer: Pierre Ynard 

Revert "SDP: don't disallow RTCP RR"

This reverts commit b377e1af8d5a0df8e9969655a2024b251724c83c.

Signed-off-by: Pierre Ynard <linkfanel at yahoo.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f05d2fa4512a94e0cb0da34b61da5fd510ad9ac3
---

 src/stream_output/sdp.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/stream_output/sdp.c b/src/stream_output/sdp.c
index 47bb16f..d2c0610 100644
--- a/src/stream_output/sdp.c
+++ b/src/stream_output/sdp.c
@@ -225,7 +225,8 @@ char *sdp_AddMedia (char **sdp,
 
     outlen += snprintf (NULL, 0,
                         "m=%s %u %s %d\r\n"
-                        "b=TIAS:%u\r\n",
+                        "b=TIAS:%u\r\n"
+                        "b=RR:0\r\n",
                         type, dport, protocol, pt, bw);
 
     newsdp = realloc (*sdp, outlen + 1);
@@ -239,6 +240,7 @@ char *sdp_AddMedia (char **sdp,
                          type, dport, protocol, pt);
     if (bw > 0)
         ptr += sprintf (ptr, "b=%s:%u\r\n", bw_indep ? "TIAS" : "AS", bw);
+    ptr += sprintf (ptr, "b=RR:0\r\n");
 
     /* RTP payload type map */
     if (ptname != NULL)




More information about the vlc-devel mailing list