Commit f05d2fa4 authored by Pierre Ynard's avatar Pierre Ynard

Revert "SDP: don't disallow RTCP RR"

This reverts commit b377e1af.
Signed-off-by: default avatarPierre Ynard <linkfanel@yahoo.fr>
parent 5656d43c
...@@ -225,7 +225,8 @@ char *sdp_AddMedia (char **sdp, ...@@ -225,7 +225,8 @@ char *sdp_AddMedia (char **sdp,
outlen += snprintf (NULL, 0, outlen += snprintf (NULL, 0,
"m=%s %u %s %d\r\n" "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); type, dport, protocol, pt, bw);
newsdp = realloc (*sdp, outlen + 1); newsdp = realloc (*sdp, outlen + 1);
...@@ -239,6 +240,7 @@ char *sdp_AddMedia (char **sdp, ...@@ -239,6 +240,7 @@ char *sdp_AddMedia (char **sdp,
type, dport, protocol, pt); type, dport, protocol, pt);
if (bw > 0) if (bw > 0)
ptr += sprintf (ptr, "b=%s:%u\r\n", bw_indep ? "TIAS" : "AS", bw); 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 */ /* RTP payload type map */
if (ptname != NULL) if (ptname != NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment