gecko-dev/mobile
John Lin 7ab9a436b9 Bug 1651088 - ensure ExoPlayer instance operate on a single thread. r=geckoview-reviewers,snorp
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
2020-08-05 20:04:30 +00:00
..
android Bug 1651088 - ensure ExoPlayer instance operate on a single thread. r=geckoview-reviewers,snorp 2020-08-05 20:04:30 +00:00
locales Bug 1607092 - Add new quote from Book of Mozilla for GeckoView r=geckoview-reviewers,Pike,agi 2020-07-07 02:22:07 +00:00
.eslintrc.js Bug 1632922 - use const instead of let - manual fixes. r=snorp 2020-04-24 21:53:19 +00:00