We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在对接海康威视RTSP流媒体的时候,出现后端数据拥塞的情况,导致第一帧和第二帧会间隔10多秒后返回给前端(后续帧时间正常),这时,前端会一直卡在这个页面转圈,还请给一个解决方案。
前端代码:
function toPlay() { if (!mpegts.isSupported()) { alert("不支持flvjs"); return; } let path = document.getElementById("rtspPath").value; this.player = mpegts.createPlayer({ type: "flv", isLive: true, url: "ws://127.0.0.1:8080/rtsp/1" }); this.player.attachMediaElement(videDoc); try { this.player.load(); this.player.play(); } catch (error) { console.log(error); } }
The text was updated successfully, but these errors were encountered:
@songbiaoself 请问找到解决方案了吗,我好像也遇到了同样的问题。
Sorry, something went wrong.
No branches or pull requests
在对接海康威视RTSP流媒体的时候,出现后端数据拥塞的情况,导致第一帧和第二帧会间隔10多秒后返回给前端(后续帧时间正常),这时,前端会一直卡在这个页面转圈,还请给一个解决方案。
前端代码:
The text was updated successfully, but these errors were encountered: