test-video-rtx: set exact payload type to PCMA payloader
authorHyunjun Ko <zzoon.ko@samsung.com>
Wed, 15 Apr 2015 01:06:30 +0000 (10:06 +0900)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 15 Apr 2015 13:14:15 +0000 (15:14 +0200)
Setting wrong payload type causes failure to do retransmission through audio stream

https://bugzilla.gnome.org/show_bug.cgi?id=747839

examples/test-video-rtx.c

index 27763c3..89b7778 100644 (file)
@@ -64,7 +64,7 @@ main (int argc, char *argv[])
       "videotestsrc ! video/x-raw,width=352,height=288,framerate=15/1 ! "
       "x264enc ! rtph264pay name=pay0 pt=96 "
       "audiotestsrc ! audio/x-raw,rate=8000 ! "
-      "alawenc ! rtppcmapay name=pay1 pt=97 " ")");
+      "alawenc ! rtppcmapay name=pay1 pt=8 " ")");
 
   /* store up to 0.4 seconds of retransmission data */
   gst_rtsp_media_factory_set_retransmission_time (factory, 400 * GST_MSECOND);