fuck reolinks shitty firmware
All checks were successful
Build Docker image / docker (push) Successful in 1m40s

This commit is contained in:
Lee 2024-03-02 12:03:38 +00:00
parent 8e47a1e896
commit 96e0c4a120

@ -143,6 +143,12 @@ class Reolink(UnifiCamBase):
stream = self.args.substream stream = self.args.substream
return ( return (
f"rtmp://{self.args.username}:{self.args.password}@{self.args.ip}:1935" f"rtmp://{self.args.ip}/bcs/channel{self.args.channel}_{stream}.bcs"
f"//h264Preview_{int(self.args.channel) + 1:02}_{stream}" 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}"
# )