Skip to content

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:

  1. Start playing a video
  2. Hit the "..." and select "Play as audio"
  3. Return to video mode
  4. Android media controls are now visible, while in video playback mode
  5. Alternate between seeking in VLC and seeking from Media Controls
  6. 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

Merge request reports