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
旧版 api 没法获取现在直播正在广泛使用的格式(fMP4-HLS),我从 room-player.min.js 中发现了疑似新版的 api 地址的代码
room-player.min.js
a.ajax("//api.live.bilibili.com/xlive/web-room/v2/index/getRoomPlayInfo?room_id=" + e.roomId + "&protocol=0,1&format=0,1,2&codec=0,1&qn=" + e.qn + "&platform=" + (e.isMobile ? "html5" : "web") + "&ptype=8&dolby=5" + (e.isMobile ? "" : "&panorama=1")
直接访问就可以拿到 fmp4 格式的地址
The text was updated successfully, but these errors were encountered:
Pr welcome
Sorry, something went wrong.
这个api网页版至少去年9月就开始用了
哦原来都写在 info.md 里面了,没看见(
Successfully merging a pull request may close this issue.
旧版 api 没法获取现在直播正在广泛使用的格式(fMP4-HLS),我从
room-player.min.js
中发现了疑似新版的 api 地址的代码直接访问就可以拿到 fmp4 格式的地址
The text was updated successfully, but these errors were encountered: