Commit bdcbe68c authored by lucabe's avatar lucabe

Add some information about the stream bitrate, if available


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@12331 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 52b64858
......@@ -267,6 +267,9 @@ static void sdp_write_media(char *buff, int size, AVCodecContext *c, const char
av_strlcatf(buff, size, "m=%s %d RTP/AVP %d\r\n", type, port, payload_type);
dest_write(buff, size, dest_addr, ttl);
if (c->bit_rate) {
av_strlcatf(buff, size, "b=AS:%d\r\n", c->bit_rate / 1000);
}
sdp_media_attributes(buff, size, c, 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