diff --git a/src/stream/sink/rtsp_sink.rs b/src/stream/sink/rtsp_sink.rs index 174ab001..2f056881 100644 --- a/src/stream/sink/rtsp_sink.rs +++ b/src/stream/sink/rtsp_sink.rs @@ -242,7 +242,7 @@ impl RtspSink { let socket_path = format!("/tmp/{id}"); let sink = gst::ElementFactory::make("shmsink") .property_from_str("socket-path", &socket_path) - .property("sync", false) + .property("sync", true) .property("wait-for-connection", true) .property("shm-size", 10_000_000u32) .property("enable-last-sample", false)