Skip to content

Expose PiP lifecycle callbacks to JavaScript #69

@jedagen

Description

@jedagen

When using iosPIP with startAutomatically, there's no way for JS to know when PiP stops. If a user dismisses or stashes PiP while backgrounded, the camera track stays published but frames stop. Remote participants see a frozen frame.

Apps need to detect this to call setCameraEnabled(false), but currently the AVPictureInPictureControllerDelegate methods in PIPController.m (lines 184, 217) only NSLog.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions