Invoke publishState on video player seek
Description
When using the "Play as Audio" feature during video playback, inconsistent state emerges between the built-in seek bar in the video player and the Media Control seek bar.
How Has This Been Tested?
Steps to Reproduce:
- Start playing a video
- Hit the "..." and select "Play as audio"
- Return to video mode
- Android media controls are now visible, while in video playback mode
- Alternate between seeking in VLC and seeking from Media Controls
- Observe the timelines fall out of sync
Note: There is a secondary issue that may be present in libVLC that prevents seeking in videos opened as audio files. If you begin playback using "Play as audio" seek will fail to work. The slider will jump after user input, but will immediately jump back when updated from playback events. The log shows the request is passed to libVLC, but it does not perform the expected behavior.
Types of changes
-
Bug fix (non-breaking change which fixes an issue)
Checklist
-
I have read the CONTRIBUTING section of the README document.
Edited by Robert Stone