e
All checks were successful
Build Docker image / docker (push) Successful in 1m37s

This commit is contained in:
Lee 2024-03-02 14:38:32 +00:00
parent 358261fd32
commit 2ec6f808ca

@ -903,7 +903,7 @@ class UnifiCamBase(metaclass=ABCMeta):
base_args = [
# "-avoid_negative_ts",
# "make_zero",
"-fflags",
# "-fflags",
# "+genpts+discardcorrupt",
# "-use_wallclock_as_timestamps 1",
]
@ -942,7 +942,7 @@ class UnifiCamBase(metaclass=ABCMeta):
f" {self.get_base_ffmpeg_args(stream_index)}"
f' -i "{source}"'
f" {self.get_extra_ffmpeg_args(stream_index)}"
f"-metadata streamName={stream_name} - | nc {destination[0]} {destination[1]}"
f" -metadata streamName={stream_name} -f flv - | nc {destination[0]} {destination[1]}"
)