shaka-project / shaka-player-embedded

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

Text tracks not showing after unload/load #188

Open daveleroy opened 3 years ago

daveleroy commented 3 years ago

I believe the issue is here.

https://github.com/google/shaka-player-embedded/blob/dccd0bbe7f326e73ef4841700b9a65ded6353564/shaka/src/media/default_media_player.cc#L163

It appears that playing_src_ is set to true on detach so after detach it will always assume the avplayer is being used when it actually is not.