Skip to content

How can the API be used to select the best stream object from a list that contains multiple stream objects? #5988

Answered by bastimeyer
xueli12 asked this question in Q&A
Discussion options

You must be logged in to vote

Why are you doing this custom stuff when the chzzk plugin has just been merged into master?
https://github.com/streamlink/streamlink/commits/fef6fd66d1a4499cadd13c4ae76ffe1d8f427805/

Also, streamlink_cli is not a public interface. You can't rely on its stability. So whatever you're doing with it, you're on your own and won't receive any support in third party implementations.

DASHStream.parse_manifest() returns a dict[str, DASHStream] object where the keys are the "quality names" defined by the DASH implementation (limiting - see below). DASHStream instances have a video_representation and an audio_representation which both have different attributes. If you want to get the "best" stream f…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@xueli12
Comment options

Answer selected by xueli12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants