-
Notifications
You must be signed in to change notification settings - Fork 34
Update Niconama support #205
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
base: master
Are you sure you want to change the base?
Conversation
…eanup of methods and strings
nndownload/nndownload.py
Outdated
| "type": "startWatching", | ||
| "data": { | ||
| "stream": { | ||
| "quality": "super_high", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be replaced by the highest quality that is acquired from params (params['program']['stream']['maxQuality']) because super_high is no longer the best quality for years (we have 6m and 12m now).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is 12Mbps exclusive to some type of user/broadcast type? I tried setting up a broadcast now on premium and it seems the max is 6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably only the "official" ones can do. I can't find a 12M rn but here is a 8M one: https://live.nicovideo.jp/watch/lv347308094
Also note that the actual bitrate is often much lower.
|
I can help writing the comment downloading function once you're done. I have a working one myself. Do note the proto schema data is directly copied from https://github.com/tsukumijima/NDGRClient (MIT) which was imported from https://github.com/n-air-app/nicolive-comment-protobuf (also MIT); I don't dump them myself. |
Resolves #11. This also fixes
get_media_from_manifestto actually respect the media type.-cis not supported-headers. This adds a warning to follow that work in On-air Niconama stream links #203