checkMicrophonePermissions

View as Markdown

checkMicrophonePermissions

  • Const checkMicrophonePermissions(): Promise<null | boolean>

Asynchronously returns whether we have permissions to access the microphone.

Returns

Promise<null | boolean>

Example

1await SignalWire.WebRTC.checkMicrophonePermissions();
2// true