ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.29k stars 636 forks source link

HLS playback may stuck loading after some time when the network has jitter #6632

Closed mekya closed 2 months ago

mekya commented 2 months ago

Short description

HLS Playback gets stuck in loading when publishing with WebRTC. We encounter this problem when there is a jitter in the network

Environment

Steps to reproduce

  1. Publish stream with WebRTC
  2. Try to play the stream with HLS playback by default player
  3. Increase jitter for the uplink to 200ms
  4. Refresh the HLS Playback

Expected behavior

HLS playback should start playing

Actual behavior

HLS playback get stuck in loading

mekya commented 2 months ago

The following PR fixes this issue

https://gitlab.com/Ant-Media/Ant-Media-Enterprise/-/merge_requests/729