MediaTrackError
Raised when a peer-connection track operation fails — most commonly when the SDK tries to addTrack, replaceTrack, or remove a track during device switching, muting, or screen-share handoff. The operation and kind properties locate the failure; originalError carries the underlying DOMException from the WebRTC stack.
Extends
Error
Constructors
Constructor
Parameters
operation
Track operation that failed (e.g. addTrack, replaceTrack).
kind
Kind of media track involved (audio or video).
originalError
Underlying error raised by the WebRTC stack.
Properties
kind
Kind of media track involved (audio or video).
operation
Track operation that failed (e.g. addTrack, replaceTrack).
originalError
Underlying error raised by the WebRTC stack.