Gabriel Rivero b274541431
VEX-7093: Protect initialization of DRM (#29)
This PR will fix the crash from the experiment on react-native-video

Jira: VEX-7093

velocity PR: crunchyroll/velocity#2443

The crash was caused by using the player object before it was set by another thread, the change simply waits for the player to be available before executing any player interaction after DRM initialization.

Reviews
Major reviewer (domain expert): @jctorresM
Minor reviewer: @jacob-livingston
2022-04-28 20:17:59 -04:00
..
2019-07-28 15:42:32 +02:00