FFmpegFrameRecorder videoBroadcasting audio comes faster than video frame in 3G Network

末鹿安然 提交于 2019-12-03 17:08:19

This is a known issue we battled with on the iOS side as well.. Basically the packets for video get dropped while the audio keeps going, and it all goes to hell. Some hardware under low bandwidth just doesn't play nice and goes out of sync.. I don't believe there is a solid fix, we had to hack it by building our own buffer on top for the audio/video and re-synchronizing using timestamps, frame sizes, and packet counts.

Afraid I can't post that code (it's not mine to post) but if you know the protocol, shouldn't be hard to recreate..

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!