The lowest latency of Microsoft Azure when do Live video with OBS

jinhua liu 1 Reputation point
2021-11-09T03:41:19.717+00:00

we want to create an Azure Media Services live stream with OBS using below guide, but I found the latency is about 20seconds which is not acceptable in live , Do any guys try this and what is the lowest latency? Is any suggest that could lower this latency. Thanks
https://docs.azure.cn/en-us/media-services/latest/live-event-obs-quickstart

Azure Media Services
Azure Media Services
A group of Azure services that includes encoding, format conversion, on-demand streaming, content protection, and live streaming services.
302 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Xavier Pouyat 591 Reputation points Microsoft Employee
    2021-11-09T13:57:33.657+00:00

    Hi,
    You can enable low latency on a live event. You may need to use CSF or CMAF with the low latency mode enabled in Azure Media Player.
    https://learn.microsoft.com/en-us/azure/media-services/latest/live-event-latency-reference

    0 comments No comments

  2. John Deutscher 241 Reputation points
    2021-11-09T18:20:07.297+00:00

    In addition, it sounds like you may not be super familiar with how HTTP based streaming works. You should read the site howvideo.works to understand the limitations of client buffers, iOS segment sizes, GOP sizes, etc. to get more of an idea of what controls there are for latency.

    Overall, using standard HLS or DASH with 2s GOPs, it is very normal to see 20 seconds of latency. That's actually considered GOOD in the industry for standard HLS.

    There is work going on for newer protocols that can get lower latency at scale. LL-HLS and LL-DASH are the two more popular ones being supported.
    You will find the specification and a lot of good overview vides on what LL-HLS is here.

    https://www.theoplayer.com/blog/how-does-ll-hls-work

    LL HLS overview by Roger Pantos (Apple) - https://www.youtube.com/watch?v=Wcc2sInCB1M

    LL HLS challenges and difference video from Will Law - https://www.youtube.com/watch?v=DVrPv-8PUm4&t=7s

    Apple dev docs - https://developer.apple.com/documentation/http_live_streaming/enabling_low-latency_hls


  3. Xavier Pouyat 591 Reputation points Microsoft Employee
    2021-11-10T08:22:34.707+00:00

    You may investigate the use of Azure Video Analyzer if you scenario is home security.

    0 comments No comments