Skip to content
New issue

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

Update to v2 APIs #26

Open
wacky6 opened this issue Nov 13, 2023 · 3 comments
Open

Update to v2 APIs #26

wacky6 opened this issue Nov 13, 2023 · 3 comments

Comments

@wacky6
Copy link
Owner

wacky6 commented Nov 13, 2023

Entry point appears to be:

https://api.live.bilibili.com/xlive/web-room/v2/index/getRoomPlayInfo?room_id=<RoomID>
@wacky6
Copy link
Owner Author

wacky6 commented Nov 13, 2023

V1 playUrl seems to be still working. Assuming response data quality field is correct

@wacky6
Copy link
Owner Author

wacky6 commented Nov 13, 2023

v2 provides, qn=10000 (原画?)

  • (proto 0?) flv: hevc/h264; H264 URL appears to agree with v1 API
  • (proto 1?) m3u8: hevc/h264; Much slower TTFB

Open Q:

  • Unclear if m3u8 is better (or less susceptible to jitter)
  • Dual codec is suspicious. Would have go through re-encode unless source streams 2 formats (upload bw is okay now, probably okay??)

Well-known configs going through encoder (quality=3 / qn < 10000) will jank.

@wacky6
Copy link
Owner Author

wacky6 commented Dec 17, 2023

Warn: new HLS stream m4s chunk pacing is broken in high latency situations. Guaranteed jank.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant