Closed defagos closed 1 year ago
About play / pause:
src
and played with play
.play
is called to start playback.prepare
d. play
is called to start playback (rate set to non-zero value).prepare
on Android and do not attempt to make some play method prepare and play.prepareAndPlay
) might be added.AVQueuePlayer
automatically prepares items and play
is only called to make the playback move forward.More than actual states it appears we should be more interested in how we can learn about what happens in the player:
onPlayReadyChange
, onIsPlayingChange
).playing
, timeUpdate
or ended
).rate
changes) into meaningful events.TL;DR
As developers we need to agree on a common playback API where applicable so that our products are meaningfully aligned.
Acceptance criteria
Tasks