diff --git a/unifi/cams/base.py b/unifi/cams/base.py index 04ce415..5d1f9a2 100644 --- a/unifi/cams/base.py +++ b/unifi/cams/base.py @@ -929,7 +929,7 @@ class UnifiCamBase(metaclass=ABCMeta): source = await self.get_stream_source(stream_index) cmd = ( "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.get_extra_ffmpeg_args(stream_index)} -metadata" f" streamName={stream_name} -f flv - | {sys.executable} -m" diff --git a/unifi/cams/reolink.py b/unifi/cams/reolink.py index 7feb061..ae2ef44 100644 --- a/unifi/cams/reolink.py +++ b/unifi/cams/reolink.py @@ -147,8 +147,3 @@ class Reolink(UnifiCamBase): f"?channel={self.args.channel}&stream=0&user={self.args.username}" 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}" - # )