From 7b18d94cb3c44cab320f4ea177760fa14d82fe30 Mon Sep 17 00:00:00 2001 From: Josh Allmann Date: Mon, 16 Aug 2010 14:21:17 +0000 Subject: Add RTP packetization of VP8 Patch by Josh Allmann, joshua dot allmann at gmail Originally committed as revision 24797 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/sdp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavformat/sdp.c') diff --git a/libavformat/sdp.c b/libavformat/sdp.c index ab5ef400bb..ad06906dd6 100644 --- a/libavformat/sdp.c +++ b/libavformat/sdp.c @@ -412,6 +412,10 @@ static char *sdp_write_media_attributes(char *buff, int size, AVCodecContext *c, c->width, c->height, pix_fmt, config); break; } + case CODEC_ID_VP8: + av_strlcatf(buff, size, "a=rtpmap:%d VP8/90000\r\n", + payload_type); + break; default: /* Nothing special to do here... */ break; -- cgit v1.2.3