Enumeration: MicState#

Microphone capture state for upstream audio transmission.

State changes are reported via SessionDelegates.onMicStateUpdate and cached in Session.micState.

Enumeration Members#

UNINITIALIZED#

UNINITIALIZED: 0

Not initialized yet.


PERMISSION_PENDING#

PERMISSION_PENDING: 1

Browser permission popup is open; awaiting user response.


PERMISSION_DENIED#

PERMISSION_DENIED: 2

User denied microphone permission.


STARTED#

STARTED: 3

Mic capture is active and audio is flowing upstream.


NO_SUITABLE_DEVICE#

NO_SUITABLE_DEVICE: 4

No suitable microphone device found.


STOPPED#

STOPPED: 5

Mic capture stopped (permission granted but not active).


UNSUPPORTED#

UNSUPPORTED: 6

Mic capture not supported on this page (e.g. non-HTTPS).


ERROR#

ERROR: 7

Unexpected error during mic capture.