From 43850e783567e3cf537b8329d07f9833264ed9c6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?R=C3=A9mi=20Denis-Courmont?= Date: Tue, 21 Aug 2007 16:32:06 +0000 Subject: [PATCH] Use session-wide RTCP RR bandwidth. Fix overflow --- modules/stream_out/rtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/stream_out/rtp.c b/modules/stream_out/rtp.c index 2154044ad6..aded604c54 100644 --- a/modules/stream_out/rtp.c +++ b/modules/stream_out/rtp.c @@ -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, -- 2.20.1