scottlamb / moonfire-nvr

Moonfire NVR, a security camera network video recorder
Other
1.2k stars 138 forks source link

live view doesn't work even configure the sub steamer #161

Closed brian-liu1 closed 2 years ago

brian-liu1 commented 2 years ago

I had configure the main and sub stream to record: main stream rtsp_usrl rtsp://192.168.1.2:554/streaming/channels/1 sample file dir </user/media> record [x] flush_if_sec 3600 sub stream rtsp_usrl rtsp://192.168.1.2:554/streaming/channels/2 sample file dir </user/media> record [x] flush_if_sec 3600 Now i can access the main/sub stream from list view, but the live view indicate that "Must have sub stream set to record see issue#119". I confused that why LiveCamera.tsx would think the code is ok 'if (subStream === undefined || !subStream.record)'.

brian-liu1 commented 2 years ago

I build an old version and now i clone the newest version an that error fixed.