PlaybackFragment does not connect to active background video when resumed
Opened this issue · 1 comments
mkjensen commented
When PlaybackFragment
is left running (e.g. when requesting search or by returning to the home screen), playback continues in the background which may or may not be correct. However, when returning to PlaybackFragment
, the UI shows a paused video with another video instance playing (invisibly but audibly) in the background.
A simplification may be to remove VideoUrlLoader
from PlaybackFragment
and let callers provide the necessary video URL.
mkjensen commented
This is because the life cycle of PlaybackFragment is currently messed up (Loader vs. TextureView vs. ExoPlayer). Will be fixed when cleaning it up.