#822·flv.js

【网页版播放器·技术反馈】视频暂停后页面被浏览器休眠恢复,播放速度变为一半(已附可复现步骤与实测数据)

作者: Cyiming创建于 2026年9月15日更新于 2026年9月15日

Hello. I encountered a stable playback speed anomaly in the web version, which I suspect is related to the audio initialization/recovery logic of the player, and I am reporting it here with the complete test data for technical colleagues to investigate.

I. Phenomenon

When playing videos in the web version, if the video is in a paused state and the page is frozen by the browser's "hibernating tabs" function (hidden in the background) for a while, and then returns to play, the playback speed will be half of the normal speed:

  • The screen plays at about 0.5 times the normal speed (not a stuttering frame, but a uniformly slowed down speed).
  • The sound is significantly lengthened and slowed down.
  • The network, buffering, and decoding are normal (see the data below).

内容来源: bilibili/flv.js