examples: Use AVPF profile for the RTX example
authorSebastian Dröge <sebastian@centricular.com>
Mon, 4 May 2015 14:33:08 +0000 (16:33 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 4 May 2015 14:33:08 +0000 (16:33 +0200)
examples/test-video-rtx.c

index 5022feb..f804b95 100644 (file)
@@ -66,6 +66,8 @@ main (int argc, char *argv[])
       "audiotestsrc ! audio/x-raw,rate=8000 ! "
       "alawenc ! rtppcmapay name=pay1 pt=8 " ")");
 
+  gst_rtsp_media_factory_set_profiles (factory, GST_RTSP_PROFILE_AVPF);
+
   /* store up to 0.4 seconds of retransmission data */
   gst_rtsp_media_factory_set_retransmission_time (factory, 400 * GST_MSECOND);