git.videolan.org
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568b860
)
Use session-wide RTCP RR bandwidth. Fix overflow
author
Rémi Denis-Courmont
<rem@videolan.org>
Tue, 21 Aug 2007 16:32:06 +0000
(16:32 +0000)
committer
Rémi Denis-Courmont
<rem@videolan.org>
Tue, 21 Aug 2007 16:32:06 +0000
(16:32 +0000)
modules/stream_out/rtp.c
patch
|
blob
|
history
diff --git
a/modules/stream_out/rtp.c
b/modules/stream_out/rtp.c
index
2154044
..
aded604
100644
(file)
--- 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,