shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
238 stars 63 forks source link

Disable filtering out video variants with a resolution higher than the current device's resolution #179

Open okycelt opened 3 years ago

okycelt commented 3 years ago

Is it possible to disable filtering out video variants with a resolution higher than the current device's resolution? If all video variants have a higher resolution, the playback will fail with error 4032.

Thank you

TheModMaker commented 3 years ago

There's no way to do it in the API, but you could edit the source here. I'll change it to set a default abr.restrictions config; this will allow the size to be a soft restriction and allow the app to change it if they want.

okycelt commented 3 years ago

Removing that condition seems to have done the job, thanks.