Commit 43850e78 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Use session-wide RTCP RR bandwidth. Fix overflow

parent 568b8609
......@@ -838,6 +838,7 @@ static char *SDPGenerate( const sout_stream_t *p_stream,
p += sprintf( p, "/%d", p_sys->i_ttl ?: 1 );
}
p += sprintf( p, "\r\n" );
p += sprintf( p, "b=RR:0\r\n" );
for( i = 0; i < p_sys->i_es; i++ )
{
......@@ -861,7 +862,6 @@ static char *SDPGenerate( const sout_stream_t *p_stream,
{
p += sprintf(p,"b=AS:%d\r\n",id->i_bitrate);
}
p += sprintf( p, "b=RR:0\r\n" );
if( id->psz_rtpmap )
{
p += sprintf( p, "a=rtpmap:%d %s\r\n", id->i_payload_type,
......
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