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

直播延时严重 #14

Closed
AmpletecGo opened this issue Oct 16, 2019 · 6 comments
Closed

直播延时严重 #14

AmpletecGo opened this issue Oct 16, 2019 · 6 comments

Comments

@AmpletecGo
Copy link

Expected behaviour

正常播放直播

Actual behaviour

直播延时严重,原因是 render 频率过慢

Steps to reproduce

Environment

电脑与手机

  • Browser:
  • Version:
  • Operating System:
  • Version:

Console errors (if any)

Link to where the bug is happening

@zhw2590582
Copy link
Owner

大概率是我的音视频同步没做好,你试试把音频禁用掉看看

@AmpletecGo
Copy link
Author

这个问题在你还没加上音频就已经存在了,所以我猜应该跟音频没有关系

@zhw2590582
Copy link
Owner

有没有地址我这边可以访问到的?

@AmpletecGo
Copy link
Author

@zhw2590582
Copy link
Owner

访问不了,文件不存在

@emptycodes
Copy link

High latency of streaming is caused by default videoChunk value maybe. If you change tab in browser - latency is higher. FlvPlayer keeps frames in memory and will show it when you back to tab in speed close to framerate. When i set videoChunk to 5*1024, player is showing all saved frames like a accelerated video and back to ~1s latency. Is it possible to add an option for start render from newest frame rather than old frames?

P.S. It seems to me that when i change tab, browser's memory filling up by old frames and despite tab refresh data is still saved - close and create new tab helps.

Firefox 78.0.2, H264 High (no audio), Multiple decoder.

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

No branches or pull requests

3 participants