diff sdp.c @ 6379:0bcd6a8bc5d5 libavformat

Add RTP packetization of VP8 Patch by Josh Allmann, joshua dot allmann at gmail
author mstorsjo
date Mon, 16 Aug 2010 14:21:17 +0000
parents 3aa7765383b5
children 1f6088eaa469
line wrap: on
line diff
--- a/sdp.c	Sat Aug 14 20:34:51 2010 +0000
+++ b/sdp.c	Mon Aug 16 14:21:17 2010 +0000
@@ -412,6 +412,10 @@
                                     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;