Skip to content

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

@leechupe

Description

@leechupe

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions