Class: MediaError
Thrown by a Media implementation when it cannot start audio for a
call — e.g. the microphone is missing, permission was denied, or the device
is held by another app (CALL-M5). code is a stable classification the
SDK surfaces on onError (and hosts receive as cti.error) so the UI can
show cause-specific help instead of a raw WebRTC string.
Extends
Error
Constructors
new MediaError()
new MediaError(code, message): MediaError
Parameters
code
string
message
string
Returns
Overrides
Error.constructor
Properties
code
readonly code: string;