Is the Nx Cloud up? Visit our Status Page for the current health and performance of the Nx Cloud.

Status Page

HTML player used in Nx Web Admin

Answered

Comments

3 comments

  • Permanently deleted user

    1) We are using hls.js as an underlying player, and force HLS in all cases if the camera supports h264

    2) There are two tricks to make it load faster:

    1. Set up motion detection and recording on the camera - this way server will keep consuming video from the camera at all times, saving time on establishing a connection
    2. Request secondary stream - server stores the latest few seconds in the buffers for that stream, and thus can start streaming it right ahead. For the primary stream, the server will have to wait for about 15 seconds before starting the stream

     

    0
  • Jason Lee

    Evgeny, 

     

    Thanks a lot for your feedback. 2 follow up questions:

     

    1. If we enable motion detection and set "motion recording" instead of record always. Will the video load time also faster?

    2. We are using this API: http://localhost:7001/hls/<cameraId>.m3u, is it primary or secondary stream?

    Thanks, Jason

     

    0
  • Permanently deleted user

    1. Yes.

    2. By default, it is adaptive, add ?lo at the end to force secondary stream.

    0

Please sign in to leave a comment.