Skip to content

Conversation

@tykus160
Copy link
Member

@tykus160 tykus160 commented Mar 4, 2025

The goal is to simplify and abstract feature logic detection. Currently lots of places depend on various calls to shaka.util.Platform and mainteinance of this is hard & not easy to read.

By introducing device API ideally rest of the player logic would look into device features instead of directly checking platform. Additionally we can more easily cache needed values, so we won't have to parse user agent several times anymore.

@tykus160 tykus160 added type: enhancement New feature or request priority: P1 Big impact or workaround impractical; resolve before feature release labels Mar 4, 2025
@avelad avelad added type: code health A code health issue priority: P3 Useful but not urgent and removed priority: P1 Big impact or workaround impractical; resolve before feature release labels Mar 5, 2025
@avelad avelad marked this pull request as ready for review May 30, 2025 12:07
@avelad
Copy link
Member

avelad commented May 30, 2025

@shaka-bot test

@shaka-bot
Copy link
Collaborator

@avelad: Lab tests started with arguments:

  • pr=8210

@avelad avelad merged commit 970d775 into shaka-project:main Jun 2, 2025
74 of 78 checks passed
joeyparrish added a commit to joeyparrish/shaka-player that referenced this pull request Jul 7, 2025
The default was not ported correctly in shaka-project#8210.  This fixes it to its previous (and documented) default value.
joeyparrish added a commit that referenced this pull request Jul 7, 2025
The default was not ported correctly in #8210. This fixes it to its
previous (and documented) default value.
avelad pushed a commit that referenced this pull request Jul 15, 2025
The default was not ported correctly in #8210. This fixes it to its
previous (and documented) default value.
@shaka-bot shaka-bot added the status: archived Archived and locked; will not be updated label Aug 1, 2025
@shaka-project shaka-project locked as resolved and limited conversation to collaborators Aug 1, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

priority: P3 Useful but not urgent status: archived Archived and locked; will not be updated type: code health A code health issue type: enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants