mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
7ab9a436b9
The threading model described in the javadoc (ExoPlayer.java#92 in tree) requires that the player is accessed from a single thread. However current GeckoHlsPlayer implementation violates this rule and uses the player from Gecko main thread and other media task queues. Introduce methods to execute code asynchronously and synchronously for GeckoHlsPlayer to follows the rule. Also add comments documenting thread usages for some instance variables and assertions in the begining of methods that need to be on the player thread to help debugging. Differential Revision: https://phabricator.services.mozilla.com/D85668 |
||
---|---|---|
.. | ||
android | ||
locales | ||
.eslintrc.js |