UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

Pause media player when alarm on the device rings

Open GabrielRosenberg opened this issue 2 years ago • 3 comments

Describe the issue When the media player is playing a video and the alarm on the device (Android or iOS) is activated, the video continues to play, but the sound is off. Is there any way to make the video player pause when such an event occurs?

Your Setup (please complete the following information):

  • Unity version: 2019.4.8
  • AVPro Video version (number and edition (trial/core/ultra/enterprise)): 2.6.5 Ultra
  • Operating system version: Android and iOS

GabrielRosenberg avatar Dec 14 '22 10:12 GabrielRosenberg

You mention 'Windows', but also 'device'. Does this issue refer to iOS/Android?

Ste-RH avatar Dec 14 '22 11:12 Ste-RH

Sorry for the confusion, the issue is on both iOS and Android. Not windows.

GabrielRosenberg avatar Dec 14 '22 12:12 GabrielRosenberg

On iOS playback has been paused when audio is interrupted (when the timer goes off for instance) since version 2.6.7

MorrisRH avatar Feb 03 '23 16:02 MorrisRH