mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 03:29:50 +00:00
examples: Use AVPF profile for the RTX example
This commit is contained in:
parent
ec2c500a9d
commit
e4264381a5
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue