Commit b377e1af authored by Pierre Ynard's avatar Pierre Ynard

SDP: don't disallow RTCP RR

It does more harm than good, since some clients (RealPlayer) will
just throw out a "not enough bandwidth" error and fail to open the
stream.
parent 3957c6eb
...@@ -225,8 +225,7 @@ char *sdp_AddMedia (char **sdp, ...@@ -225,8 +225,7 @@ 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);
...@@ -240,7 +239,6 @@ char *sdp_AddMedia (char **sdp, ...@@ -240,7 +239,6 @@ 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