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

Request that sender send no RTCP RR.

Now we can legitimately not receive them, ahaha!
parent cf6e0b83
...@@ -785,6 +785,7 @@ static char *SDPGenerate( const sout_stream_t *p_stream, ...@@ -785,6 +785,7 @@ static char *SDPGenerate( const sout_stream_t *p_stream,
sizeof( "u=*\r\n" ) + strlen( p_sys->psz_session_url ) + sizeof( "u=*\r\n" ) + strlen( p_sys->psz_session_url ) +
sizeof( "e=*\r\n" ) + strlen( p_sys->psz_session_email ) + sizeof( "e=*\r\n" ) + strlen( p_sys->psz_session_email ) +
sizeof( "t=0 0\r\n" ) + /* permanent stream */ /* when scheduled from vlm, we should set this info correctly */ sizeof( "t=0 0\r\n" ) + /* permanent stream */ /* when scheduled from vlm, we should set this info correctly */
sizeof( "b=RR:0\r\n" ) +
sizeof( "a=tool:"PACKAGE_STRING"\r\n" ) + sizeof( "a=tool:"PACKAGE_STRING"\r\n" ) +
sizeof( "c=IN IP4 */*\r\n" ) + 20 + 10 + sizeof( "c=IN IP4 */*\r\n" ) + 20 + 10 +
strlen( psz_destination ) ; strlen( psz_destination ) ;
...@@ -866,6 +867,7 @@ static char *SDPGenerate( const sout_stream_t *p_stream, ...@@ -866,6 +867,7 @@ static char *SDPGenerate( const sout_stream_t *p_stream,
{ {
p += sprintf(p,"b=AS:%d\r\n",id->i_bitrate); p += sprintf(p,"b=AS:%d\r\n",id->i_bitrate);
} }
p += sprintf( p, "b=RR:0\r\n" );
if( id->psz_rtpmap ) if( id->psz_rtpmap )
{ {
p += sprintf( p, "a=rtpmap:%d %s\r\n", id->i_payload_type, 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