You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When "Resume Playback After Audio Session Route Change" is set to OFF, the video player pauses automatically when an audio device is disconnected.
At the moment there is no straightforward way to understand when this happens. It's desirable that whenever the video player is paused by some internal mechanism, the MediaPlayer component publishes an event, for example MediaPlayerEvent.EventType.Paused to reflect the video player's change of the state.
Describe alternatives you've considered
It's possible to detect the change of state by checking it in every update. But it's already done in AppleMediaPlayer.Update(), implementing another check somewhere else would be redundant.
The text was updated successfully, but these errors were encountered:
When "Resume Playback After Audio Session Route Change" is set to OFF, the video player pauses automatically when an audio device is disconnected.
At the moment there is no straightforward way to understand when this happens. It's desirable that whenever the video player is paused by some internal mechanism, the MediaPlayer component publishes an event, for example
MediaPlayerEvent.EventType.Paused
to reflect the video player's change of the state.Describe alternatives you've considered
It's possible to detect the change of state by checking it in every update. But it's already done in
AppleMediaPlayer.Update()
, implementing another check somewhere else would be redundant.The text was updated successfully, but these errors were encountered: