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)'.
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)'.