-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Extracting the players codec at a particular instance in time #2832
Comments
We don't support codec switching, so the array will only contain one kind of codec. They may have different profiles, but they should have the same base codec. You should use |
Actually looking over our definitions, I don't know why the |
Looking for a bit more clarification - One of the DASH features for example is multi-codec support (suppose I had a manifest with AVC and HEVC tracks). If I were to make a call on |
Until we support codec switching (#1528), we filter out codecs that don't match the initial codec selected. We pick the initial codec based on browser support and on bandwidth; once we pick a codec, we filter out all other codecs so you'll only see choices for one. |
@rdailey98 Does this answer all your questions? Can we close the issue? |
Closing due to inactivity. If this is still an issue for you or if you have further questions, you can ask us to reopen or have the bot reopen it by including |
Have you read the Tutorials?
Yes
Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
v3.0.2
Please ask your question
Looking to extract the codec the player is using at a given instance in time for telemetry event purposes. Is there a function or event that can help achieve this?
getStats()
seemed to be useful at first glance but unfortunately contains no info about the current codec.shaka.Player.StreamingEvent
, although for our purposes it would be counter intuitive to parse an event in order to fire off an other event.Stream
object, however this contains a list of codecs not the current one being used.Any help would be greatly appreciated - please let me know if I'm overlooking anything.
The text was updated successfully, but these errors were encountered: