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

[POC} Only load media segments for Representations known to be decipherable #1488

Closed
wants to merge 1 commit into from

Conversation

peaBerberian
Copy link
Collaborator

@peaBerberian peaBerberian commented Jul 30, 2024

Historically, the RxPlayer load media segments and perform the license-fetching logic in parallel, as it theoretically lead to faster playback when all qualities are decipherable.

However, this has always only been a theory and it may have the reverse effect on devices where we're not able to obtain all keys (this also is only theoretical).

To better know what the impact of loading media segments in parallel or after the license, I'm here only loading media segments (not the initialization segment, which can be loaded right away) either if the Representation is clear or is known to be decipherable.

This is only a Proof-Of-Concept with for now no intent to make it a feature.

@peaBerberian peaBerberian force-pushed the poc/load-media-segments-only-decipherable branch 5 times, most recently from ca58e14 to b87ca86 Compare August 2, 2024 10:32
…erable

Historically, the RxPlayer load media segments and perform the
license-fetching logic in parallel, as it theoretically lead to faster
playback when all qualities are decipherable.

However, this has always only been a theory and it may have the reverse
effect on devices whose some keys are not obtainable (this also is only
theoretical).

To better know what the impact of loading media segments in parallel or
after the license, I'm here only loading media segments (not the
initialization segment, which can be loaded right away) either if the
Representation is clear or is known to be decipherable.

This is only a Proof-Of-Concept with for now no intent to make it a
feature.
@peaBerberian peaBerberian force-pushed the poc/load-media-segments-only-decipherable branch from b87ca86 to 29e3541 Compare August 29, 2024 19:53
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.

1 participant