AgoraRtcEngine_iOS icon indicating copy to clipboard operation
AgoraRtcEngine_iOS copied to clipboard

When placing a local video into Picture-in-Picture (PIP) mode, the app gets terminated when it goes into the background.

Open leechupe opened this issue 10 months ago • 0 comments

Hi,

I don't want to stop the local preview when the app goes into the background. So, I put the local preview into the PIP mode, But the Local Preview always stops by the reason I received from rtcEngine callback: -AgoraVideoLocalStateFailed -AgoraLocalVideoStreamReasonCaptureMultipleForegroundApps

I can play the remote video in the PIP mode.

Is it because Agroa does not support local preview in the PIP mode, or are there some things I am getting mistakes?

Please let me know.

Thank you.

  • Device: iPhone 13 pro max
  • OS: iOS 18.1.

leechupe avatar Dec 30 '24 03:12 leechupe