Android Auto: When playing a stream the time does not increment
Description
During stream playback the time does not increment and is frozen at zero on the Android Auto head-unit. This issue is only apparent if you either use a physical head-unit, or the desktop-head-unit emulator. Android Auto for Phone does not show the time in clock format on screen, so this issue is not apparent.
Android API documentation requires a negative value for infinite / unknown duration media.
Refer to: MediaMetadata.METADATA_KEY_DURATION API Doc
Expected behavior
Time should count up from zero for the duration of stream playback.
Actual behavior
Time is shown as 00:00 during stream playback.
Steps to reproduce
- Add a stream to VLC
- Add the stream to a playlist
- Launch Android Auto
- Load the playlist and start streaming
- Observe the progress on screen is frozen at zero.
Context
App version
3.3.1
App Mode
Auto