• Host can grant the media capture permission requested by mediaCapturePermission('request'). If the host doesn't respond to the request with 10 seconds after receiving it, it will be automatically denied. Host can revoke the granted media capture permission. Participants can request the media capture permission.

    Parameters

    • operation: MediaCaptureOperationValue

      Operation type. Values can be grant, revoke, and request.

    • Optional userId: number

      Grant or revoke the media capture permission to the user with userId. userId is only required for the grant and revoke operations.

    • Optional mediaCapturePermission: MediaCapturePermissionValue | MediaCapturePermission

      Media capture permission. Only required for the grant operation.

    Returns ExecutedResult