forked from androidx/media
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MMSW-13526: Enable async mode by default for FTVE devices (#11)
This PR bring a fix made by Amazon on their [exoplayer-amazon-port](amzn/exoplayer-amazon-port@ebceee0). ## Original description [Problem] There are frame drops and performance issues with 60fps content on some Amazon SmartTv (FTVE) devices. [Solution] We identified that switching the MediaCodec APIs to asynchronous buffer queueing mode improves the performance and reduces frame drops. We enable async mode by default for FTVE devices with API level >= 28. Developers still have the option to disable async mode with DefaultRenderersFactory.forceDisableMediaCodecAsynchronousQueueing() if they wish to do so. cr: https://code.amazon.com/reviews/CR-92572712
- Loading branch information
1 parent
869388b
commit 7624d70
Showing
2 changed files
with
19 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters