nginx实时流延迟延迟45秒
我在Ubuntu Machine的RTMP中设置了NGINX,可以根据网络中有许多文章的摄像头进行HLS流式传输我的网络摄像头,但它具有35-45秒的不可接受的延迟!!!
I have setup nginx in ubuntu machine for rtmp to hls streaming my webcam according to many articles that there are in the web but it has an unacceptable latency of 35-45 secs!!!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
HLS通常是关于
10s+
延迟,如果您想要〜100ms
延迟,您必须
使用webrtc,但是WebRTC很复杂,不仅涉及良好事物。通常,我们想要低潜伏期,并且我们也希望更多的可能性设备发布和播放流,并且如果我们想扩展我们的系统,我们希望CDN支持它。
简而言之,如果10S延迟对您来说还可以,请切勿尝试构建3S延迟系统。如果3s对您来说还可以,请切勿建造100ms。这个世界上没有免费的东西。
关于协议的基线延迟:
关于延迟存在一些问题:
因此,这实际上取决于使用方案,例如:
如果您想进行更多讨论,则可以加入 srs 的社区。
HLS is normally about
10s+
latency, and if you want~100ms
latency youMUST
use WebRTC, but WebRTC is complex and not only about the good things.Generally we want low latency, and we also want as more as posssible devices to publish and play streams, and we want CDN to support it if we want to scale out our system.
In short, if 10s latency is ok for you, never try to build a 3s latency system. If 3s is ok to you, never build a 100ms one. There is no free thing in this world.
The baseline latency about protocols:
There are some issues about the latency:
So it really depends on the use scenario, for example:
If you want more discussion, you could join the community of SRS.