Streams : Youtube video is lost if you switch app
Description
While playing a Youtube video, if you switch to home screen and after a second or longer switch again to VLC, the stream does not play anymore but a random video from the device.
Note : It doesn't happen each time... see logs
[EDIT] It seems that the "first" video of the medialibrary is launched.
Expected behavior
Video should continue to play...
Actual behavior
... but it's not.
Steps to reproduce
- Open a Youtube video
- Switch to homescreen
- Launch another app
- Switch back to VLC
- Video have changed
Context
App version
3.3.4
Android version
10
Device model
Huawei P30 Lite
App mode
Smartphone
Edited by Alexandre Perraud