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

音视频同步问题 #21

Open
SDTfsq opened this issue Apr 7, 2020 · 2 comments
Open

音视频同步问题 #21

SDTfsq opened this issue Apr 7, 2020 · 2 comments

Comments

@SDTfsq
Copy link

SDTfsq commented Apr 7, 2020

试用了您的代码传输实时视频效果非常好。但是有一个问题请教您,razor在内部做了播放控制,丢包率高,播放延时会变大,那怎么和音频流同步呢?

@yuanrongxi
Copy link
Owner

yuanrongxi commented Apr 7, 2020

音视频同步需要根据音频的时间戳来取对应的视频,razor里面是没有这块的实现,需要实现一个接口来取视频,sim transport是一个临时的协议,不建议使用在生产线上。延迟大是肯定的,因为是做了重传处理,如果网络在300ms,丢包率在5%左右,还是可以基本同步

@SDTfsq
Copy link
Author

SDTfsq commented Apr 8, 2020

袁老师,如果音频流也用razor传输,会不会起到音频传输质量保证的效果,然后音视频同步也好做一些?

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

2 participants