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

[Proposal] Add to config most compat switches #1514

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

peaBerberian
Copy link
Collaborator

Based on #1510, the idea behind this proposal is to add to our config properties allowing to force toggles we for now only enable for specific devices.

The goal is to simplify the debugging of issues seen on specific devices (which is the huge majority of them), by just having to update the config in the corresponding application (as proposed by #1510).

So for example let's say that we encounter a new device where relying on the same MediaKeys instance for multiple contents may fail after a time (bug encountered on LG's WebOS, on some Panasonic TVs, and now, in issue #1464, on Philips's TitanOS), we could just initially tell application people to try setting that experimental flag.

If it fixes the issue, we will add a supplementary device check inside the corresponding compat function.

This seems faster and less bothersome to me than having to create special builds of the RxPlayer, and there our role could just be to redirect the developer seeing the issue to the right config option (as opposed to having to build a player, then link that player to the application, making sure that their CI like us etc.).

@peaBerberian peaBerberian added the proposal This Pull Request or Issue is only a proposal for a change with the expectation of a debate on it label Aug 23, 2024
@peaBerberian peaBerberian force-pushed the misc/config-compat branch 2 times, most recently from 2f2b47c to 3393b46 Compare August 23, 2024 15:17
@peaBerberian peaBerberian force-pushed the misc/re-export-config branch from 86fc351 to 34323ec Compare August 23, 2024 21:08
@peaBerberian peaBerberian force-pushed the misc/config-compat branch 2 times, most recently from 11b90ef to e353d59 Compare August 23, 2024 21:11
@peaBerberian peaBerberian force-pushed the misc/re-export-config branch from 34323ec to eb83db7 Compare August 23, 2024 21:12
@peaBerberian peaBerberian force-pushed the misc/re-export-config branch from eb83db7 to 65260a2 Compare August 29, 2024 20:01
@peaBerberian peaBerberian added the Priority: 3 (Low) This issue or PR has a low priority. label Sep 3, 2024
@peaBerberian peaBerberian changed the base branch from misc/re-export-config to dev November 15, 2024 17:52
Based on #1510, the idea behind this proposal is to add to our config
properties allowing to force toggles we for now only enable for
specific devices.

The goal is to simplify the debugging of issues seen on specific devices
(which is the huge majority of them), by just having to update the
config in the corresponding application (as proposed by #1510).

So for example let's say that we encounter a new device where relying on
the same `MediaKeys` instance for multiple contents may fail after a
time (bug encountered on LG's WebOS, on some Panasonic TVs, and now, in
issue #1464, on Philips's TitanOS), we could just initially tell
application people to try setting that experimental flag.

If it fixes the issue, we will add a supplementary device check inside
the corresponding compat function.

This seems faster and less bothersome to me than having to create
special builds of the RxPlayer, and there our role could just be to
redirect the developer seeing the issue to the right config option
(as opposed to having to build a player, then link that player to the
application, making sure that their CI like us etc.).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: 3 (Low) This issue or PR has a low priority. proposal This Pull Request or Issue is only a proposal for a change with the expectation of a debate on it
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant