For Mac M1 builds on-demand audios are not seekable. This issue is a problem of AVFoundation on M1 which must be reported to Apple.
Closer inspection of the issue reveals that on-demand audios have a single seekable time range whose duration is infinite. AVPlayerViewController with a vanilla AVPlayer suffers from the same issue.
Issue type
Incorrect behavior
Environment information
Library version: Any
macOS version: 11.2.2
Device: Mac M1
Reproducibility
Always reproducible
Steps to reproduce
Build and run the SRG Media Player demo on M1.
Open an on-demand audio (last tab) with any player.
For all of them (including the one using only bare system components) the slider does not move and stays stuck at zero.
For Mac M1 builds on-demand audios are not seekable. This issue is a problem of
AVFoundation
on M1 which must be reported to Apple.Closer inspection of the issue reveals that on-demand audios have a single seekable time range whose duration is infinite.
AVPlayerViewController
with a vanillaAVPlayer
suffers from the same issue.Issue type
Incorrect behavior
Environment information
Reproducibility
Always reproducible
Steps to reproduce
Other contents (including DVR audio) play fine.