bilibili / flv.js

HTML5 FLV Player
Apache License 2.0
22.93k stars 3.38k forks source link

直播 音视频不同步抱错信息如下: #265

Open ZhangDewei opened 6 years ago

ZhangDewei commented 6 years ago

MP4Remuxer] > Large audio timestamp gap detected, may cause AV sync to drift. Silent frames will be generated to avoid unsync.

而且声音有抖动 ,微卡,求助解决

我的配置是: this.flvPlayer = window.flvjs.createPlayer({ type: 'flv', url: src, enableWorker: true, enableStashBuffer: true, stashInitialSize: 128, fixAudioTimestampGap: false, lazyLoadMaxDuration: 3 * 60 cors: true });

ZhangDewei commented 6 years ago

dts: 13497 ms, expected: 13480 ms, delta: 17 ms, generate: 1 frames dts: 39488 ms, expected: 39471 ms, delta: 17 ms, generate: 1 frames

还有这种信息

xqq commented 6 years ago

音频流问题,可能是 LFLiveKit 等问题库的受害者

ZhangDewei commented 6 years ago

我和我们的发起端同学沟通过,他没有用过 LFLiveKit 这个库。您能确认是发起端的问题吗?如果可以的话,我去和我们的发起端沟通一下,让他看看哪里的问题,谢谢您

xqq commented 6 years ago

推流端不规范

lynxerzhang commented 4 years ago

这个问题我也遇到了,现在在研究还没有合并入master的几个提交,据说可以解决大部分这种问题