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

Support to play video during phone calls

Open dw8869 opened this issue 3 years ago • 8 comments

Player is paused when I get a phone call from the device on iOS platform. How to play when calling?

Unity version: 2019.4.15f1 AVPro Video version: 2.15

dw8869 avatar Nov 08 '21 05:11 dw8869

Could you please describe what happens in more detail:

  1. Did you answer the call? Did you dismiss it?
  2. Did it resume afterwards?
  3. What behaviour do you expect/want?

kahnivore avatar Nov 08 '21 11:11 kahnivore

  1. Yes, i was answered the call.
  2. No, player keep pausing.
  3. When I get a call or answer a call player keep playing, not pause When the player was paused, I tried to play it again, but it didn't work.

dw8869 avatar Nov 08 '21 16:11 dw8869

What do you mean you tried to play it again and it didn't work? How did you try to play it?

kahnivore avatar Nov 08 '21 17:11 kahnivore

  1. Incoming call.
  2. Player was paused.
  3. mediaPlayer.Play()

Player is still paused.

dw8869 avatar Nov 09 '21 01:11 dw8869

So the phonecall ended, then you called mediaPlayer.Play() and it didn't? That seems strange..

kahnivore avatar Nov 10 '21 14:11 kahnivore

No, not ended. Still phone call I want play when phone call.

dw8869 avatar Nov 10 '21 14:11 dw8869

@kahnivore Will this feature be added to the next version?

dw8869 avatar Nov 17 '21 02:11 dw8869

We still need to investigate this, unsure of timeframe currently.

kahnivore avatar Nov 17 '21 07:11 kahnivore