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

Add unsupported and undecipherable bitrates to the debug element #1321

Merged
merged 1 commit into from
Dec 4, 2023

Conversation

peaBerberian
Copy link
Collaborator

The debug element that might be displayed with the createDebugElement method filtered from listed video and audio bitrates those that were not for decipherable or decodable Representation.

This makes sense, but it bothered us when debugging why some qualities were not advertised anymore through that window on some difficult-to-debug devices lately: was it an RxPlayer bug, a DRM policy not respected, or codecs that were unsupported.

This commit adds audio and video bitrates which are not actually playable, suffixing them by E! when it is because it's not decipherable, by U! when it's because the codec is not supported, or both (U! E!) when it's both.

The debug element that might be displayed with the
`createDebugElement` method filtered from listed video and audio
bitrates those that were not for decipherable or decodable
Representation.

This makes sense, but it bothered us when debugging why some qualities
were not advertised anymore through that window on some
difficult-to-debug devices lately: was it an RxPlayer bug, a DRM policy
not respected, or codecs that were unsupported.

This commit adds audio and video bitrates which are not actually
playable, suffixing them by `E!` when it is because it's not decipherable,
by `U!` when it's because the codec is not supported, or both (`U! E!`)
when it's both.
@peaBerberian peaBerberian added this to the 3.33.0 milestone Nov 23, 2023
@peaBerberian peaBerberian merged commit c5efdda into master Dec 4, 2023
3 checks passed
@peaBerberian peaBerberian mentioned this pull request Jan 24, 2024
@peaBerberian peaBerberian deleted the feat/debug-add-unsupported-unencrypted branch February 7, 2024 17:49
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

Successfully merging this pull request may close these issues.

2 participants