test-record: Set latency for playback-style example to 2s instead of 200ms
This commit is contained in:
parent
6e5b156b0d
commit
aa1feab874
@ -69,6 +69,7 @@ main (int argc, char *argv[])
|
||||
factory = gst_rtsp_media_factory_new ();
|
||||
gst_rtsp_media_factory_set_record (factory, TRUE);
|
||||
gst_rtsp_media_factory_set_launch (factory, argv[1]);
|
||||
gst_rtsp_media_factory_set_latency (factory, 2000);
|
||||
|
||||
/* attach the test factory to the /test url */
|
||||
gst_rtsp_mount_points_add_factory (mounts, "/test", factory);
|
||||
|
Loading…
x
Reference in New Issue
Block a user