如何使用Wowza减少HLS流中的延迟 [英] How can i reduce latency in HLS streaming with Wowza

查看:263
本文介绍了如何使用Wowza减少HLS流中的延迟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有现场直播Wirecast到Wowza.在Wowza转码器中,我只有360p和720p流.在我的专用服务器上,我没有GPU.现在,当我使用HLS回放时,流式传输延迟平均为15-20秒.我认为这很不正常,我希望将其减少到5-10秒.我如何在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?

这是我的服务器功能:

CPU:英特尔®至强®E5-1650 v3六核Haswell(含).超线程技术 内存:256 GB DDR4 ECC RAM 硬盘驱动器:2 x 480 GB SATA 6 Gb/s数据中心系列SSD(软件RAID 1) 连接:1 Gbit/s-端口 保证带宽:1 Gbit/s 备份空间:100 GB 包容流量:50 TB *

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*

推荐答案

现在,当我使用HLS回放时,流平均等待时间为15-20秒.我认为这很不正常,我希望将其减少到5-10秒.

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.

这很正常.这是HLS的本质.任何时候使用分段时,都需要对整个分段进行缓冲,然后才能对其进行处理.您可以减小段的大小,降低编解码器的质量(使用编解码器提供的任何快速的低延迟设置),但在几乎所有情况下,最好都具有15-20秒的延迟. (那些观看者真的知道他们正在过去20秒吗?甚至DirecTV卫星服务也落后了这么多.)

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.)

如果延迟确实对您很重要,则不应使用HLS,DASH或任何其他分段式流机制.

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

这篇关于如何使用Wowza减少HLS流中的延迟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆