Operation type. Values can be grant
, revoke
, and request
.
Optional
userId: numberGrant or revoke the media capture permission to the user with userId
. userId
is only required for the grant
and revoke
operations.
Optional
mediaCapturePermission: MediaCapturePermissionValue | MediaCapturePermissionMedia capture permission. Only required for the grant
operation.
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.