WebRTC for sub-second latency

In Progress

Comments

12 comments

  • Avatar
    Tagir Gadelshin

    Hi, Mat L
    Yes, of course. We do have distant plans for using WebRTC, but there is no solid ETA. We may release it next year, but my best guess that it would be released later, cause we have a lot of important features in the queue. 

    By the way, we currently use the Apple HLS protocol: it was originally developed for on-demand video streaming and later adopted for live, so we have this latency issue in web interfaces. WebRTC may solve those issues

    1
    Comment actions Permalink
  • Avatar
    Mat L

    Thanks for your quick reply!

    I look forward to playing with this feature.

    0
    Comment actions Permalink
  • Avatar
    Mihai Pavelescu

    Hi Mat,

    What WebRTC libraries did you use?

    Thanks,
    Mihai

     

    0
    Comment actions Permalink
  • Avatar
    Mat L

    Hi,

    I'm using this excellent Golang library: https://github.com/pion/webrtc
    I did not a develop a WebRTC plugin for NX Witness; sorry if you were looking for a C++ solution.

    0
    Comment actions Permalink
  • Avatar
    Mihai Pavelescu

    Thanks for sharing,

    We will look into it,

    Mihai

    0
    Comment actions Permalink
  • Avatar
    Dima Kanevsky

    Hi Mihai,

    We're facing the same issue.

    HLS has huge latency! Up to 20 sec.

    Is there any update on webrtc?

     

    Thanks,

    Dima

    0
    Comment actions Permalink
  • Avatar
    Lukas Zich

    Hello, any update with WebRTC implementing? Thank You, Lukas

    0
    Comment actions Permalink
  • Avatar
    Mihai Pavelescu

    Hi,

    We manage to implement WebRTC using NX + gstreamer library + custom code, taking rtsp h264/aac from NX and live-playing with same codecs in browser using for multiple cameras in same time.

    End-2-end latency is constant around 400 ms in lab scenarios, cpu use is few percents for 20-30 streams, (we do not use transcoding).

    Thanks,
    Mihai

     

     

     

    0
    Comment actions Permalink
  • Avatar
    Lukas Zich

    Hi Mihai, great news. Is it ready for testing? Which NX version? How about to enhance it by implementing PTZ in web browser? Thanks,  L.

    0
    Comment actions Permalink
  • Avatar
    Mihai Pavelescu

    Hi Lukas,

    Just to clarify, I'm just a customer like you. I used latest NX,
    PTZ can work in browser limited to NX API PTZ or you can develop for specific camera API.

    I'm not part of NX team, I just suggested gstreamer library  -> if you have development skills or devteam (C#/ C++...)

    Mihai

    0
    Comment actions Permalink
  • Avatar
    Tagir Gadelshin

    Hey, I'm a Product Manager at Nx.
    Mat L Mihai Pavelescu Dima Kanevsky Dima Kanevsky Lukas Zich

    We added WebRTC support in 5.1, which reached Beta. Please, check it out: https://meta.nxvms.com/downloads/betas

    there is no solid documentation on it yet, but here is some hint on how you can construct an URL that returns a simple player based on webRTC

    https://172.20.1.236:7001/webrtc/?camera_id=084419f6-ec75-6b41-f668-2d8285e9d445&position=1674240507000000

     

    So this is our first iteration. We will continue to evolve it in the next versions. 

    Please, test it and we're waiting for your feedback. Thank you!

     

    0
    Comment actions Permalink
  • Avatar
    Mat L

    Hi Tagir Gadelshin,

    Thanks for the news.
    I'm looking forward to testing this!

    0
    Comment actions Permalink

Please sign in to leave a comment.