Not able to play stream with HLS only WebM is playing
AnsweredFollowed these links steps to integrate the stream in website. Able to load the stream with WebM format but when am trying to load the stream using HLS (.m3u or .m3u8) the URL is failing to load. I have setup my system webcam as stream camera. Using Nx Witness (4.0.0.29987) on Windows 10 operating system. Can some one help resolving this issue.
-
Thank you for your quick response Wendy Chuang, I have upgrade the version to 4.0.0.30617. But still am not able to play the HLS (.m3u or .m3u8) videos. Only WebM is working. Am generating the URL as mentioned in the article link (https://support.networkoptix.com/hc/en-us/articles/360019770334-How-to-Embed-Video-from-Nx-Witness-Nx-Meta-on-a-website).
And i have tried with http://localhost:7001/hls/{videoid}.m3u?lo&auth={auth_key}
And i can see this message in the log file:
2020-04-07 12:20:02.738 4ddc WARNING nx::vms::server::hls::HttpLiveStreamingProcessor(0x245e63f39a0): Failed to get chunks of resource QnThirdPartyResource(0x245e085e650, 7d43e52a883fc11bfd5b9bb5b68cf07b)
-
There are the streams am getting from getCameraEX.
{"streams":[{"codec":8,"customStreamParams":{},"encoderIndex":0,"resolution":"1280x720","transcodingRequired":false,"transports":["mjpeg"]},{"codec":5,"customStreamParams":{},"encoderIndex":1,"resolution":"640x360","transcodingRequired":false,"transports":[]},{"codec":0,"customStreamParams":{},"encoderIndex":-1,"resolution":"*","transcodingRequired":true,"transports":["rtsp","mjpeg","webm"]}]}
This is an integrated system web camera.
-
Hi, I have another camera with this streams:
{"streams":[{"codec":174,"customStreamParams":{},"encoderIndex":1,"resolution":"640x360","transcodingRequired":false,"transports":["rtsp"]},{"codec":28,"customStreamParams":{},"encoderIndex":0,"resolution":"1280x720","transcodingRequired":false,"transports":["rtsp","hls"]},{"codec":0,"customStreamParams":{},"encoderIndex":-1,"resolution":"*","transcodingRequired":true,"transports":["rtsp","mjpeg","webm"]}]}
Is it possible to play the HLS stream in this?
-
Okay, i tried to play this video by this URL
https://{system_id}.relay.vmsproxy.com/hls/{camera_id}.m3u8?lo&auth={user_auth}
but it's not working. when change this to webm URL it's working.
https://{system_id}.relay.vmsproxy.com/web/media/{camera_id}.webm?rt&resolution=Auto&auth={user_auth}
Please sign in to leave a comment.
Comments
11 comments