Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

建议优化gop cache的使用,尽量降低网络抖动导致的卡顿 #125

Closed
universix opened this issue Jan 19, 2022 · 1 comment
Closed
Labels

Comments

@universix
Copy link

目前项目多为实时性要求不高,但要求视频流畅的场景,所以希望 lal 能优化 gop cache 的使用,尽量降低网络抖动导致的卡顿

建议 gop cache @的调控分多个优先层级:

  1. 低优先层级:全局 gop-num。能在全局层面降低偶尔的网络抖动带来的卡顿
  2. 中优先层级:各个协议的 gop-num(-1表示取全局值)。config 中,目前只有 rtmp 和 http-flv 有 gop-num 选项,希望每个协议都有
  3. 高优先层级:pull 时的 gop-num(-1表示取中级值)。拉取的目标流往往网络情况差异极大,在拉取时,指定这个流的 gop-num 能针对性的降低这个视频流因网络抖动带来的卡顿

这3个层级的默认都为0,即默认为低延迟模式,但在需要的场景可以逐级调整优化,尽量降低网络抖动导致的卡顿
或者只取建议的1,3级,降低配置及管理的复制度

@q191201771 q191201771 mentioned this issue Jul 16, 2022
32 tasks
@q191201771
Copy link
Owner

超时移入 #37 中管理了,后续进度有更新我会在这边和那边同时更新,感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants