no idea what im doing
All checks were successful
Build Docker image / docker (push) Successful in 1m31s

This commit is contained in:
Lee 2024-03-02 12:10:07 +00:00
parent 96e0c4a120
commit 3a3c7fead9
2 changed files with 1 additions and 6 deletions

@ -929,7 +929,7 @@ class UnifiCamBase(metaclass=ABCMeta):
source = await self.get_stream_source(stream_index) source = await self.get_stream_source(stream_index)
cmd = ( cmd = (
"ffmpeg -nostdin -loglevel error -y" "ffmpeg -nostdin -loglevel error -y"
f" {self.get_base_ffmpeg_args(stream_index)} -rtsp_transport" # f" {self.get_base_ffmpeg_args(stream_index)} -rtmp_transport"
f' {self.args.rtsp_transport} -i "{source}"' f' {self.args.rtsp_transport} -i "{source}"'
f" {self.get_extra_ffmpeg_args(stream_index)} -metadata" f" {self.get_extra_ffmpeg_args(stream_index)} -metadata"
f" streamName={stream_name} -f flv - | {sys.executable} -m" f" streamName={stream_name} -f flv - | {sys.executable} -m"

@ -147,8 +147,3 @@ class Reolink(UnifiCamBase):
f"?channel={self.args.channel}&stream=0&user={self.args.username}" f"?channel={self.args.channel}&stream=0&user={self.args.username}"
f"&password={self.args.password}" f"&password={self.args.password}"
) )
# return (
# f"rtmp://{self.args.username}:{self.args.password}@{self.args.ip}:1935"
# f"//h264Preview_{int(self.args.channel) + 1:02}_{stream}"
# )