From bc22f611148a755eefa4163fcde303d1f2281610 Mon Sep 17 00:00:00 2001 From: Duncan Leo Date: Sun, 24 Oct 2021 17:56:21 +0800 Subject: [PATCH] fix(stream): apply 1s seek to video stream --- camera/camera.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/camera/camera.go b/camera/camera.go index 372a5e3..9ee3501 100644 --- a/camera/camera.go +++ b/camera/camera.go @@ -90,6 +90,8 @@ func generateArguments(inputCfg InputConfiguration, streamCfg rtp.StreamConfigur inputCfg.Format, "-protocol_whitelist", protocolWhitelist, + "-ss", + "00:00:01.000", "-i", inputCfg.Source, "-c:v",