Search code examples
wowzahttp-live-streamingwowza-transcoder

How can i reduce latency in HLS streaming with Wowza


i have live stream Wirecast to Wowza. In Wowza transcoder i have only 360p and 720p streams. In my dedicated server i don't have GPU. Now when i use HLS playback streaming latency average 15-20 seconds. I think this is unusual and i want to reduce this to 5-10 seconds. How can i do this on Wowza?

Here is my server features:

CPU: Intel® Xeon® E5-1650 v3 Hexa-Core Haswell incl. Hyper-Threading Technology RAM: 256 GB DDR4 ECC RAM Hard Drive: 2 x 480 GB SATA 6 Gb/sData Center Series SSD (Software-RAID 1) Connection: 1 Gbit/s-Port Guaranteed Bandwidth: 1 Gbit/s Backup Space: 100 GB Inclusive Traffic: 50 TB*


Solution

  • Now when i use HLS playback streaming latency average 15-20 seconds. I think this is unusual and i want to reduce this to 5-10 seconds.

    It's not unusual. It's the nature of HLS. Any time you're using a segments, the whole segment needs to be buffered before it can be handled. You could reduce your segment size, reduce your codec's quality (using whatever fast low-latency setting your codec offers), but you're better off with 15-20 second delay in almost all circumstances. (Do those watching really know that they're looking 20 seconds into the past? Even DirecTV satellite service lags behind by that much.)

    If latency really matters to you, you shouldn't use HLS, DASH, or any other segmented streaming mechanism.