onCameraDidStart: FunctionCalled when the camera has started
onCameraDidStopRunning: FunctionCalled when the camera has stopped running with an error
@param {{error}} The error message description
onCameraWasInterrupted: FunctionCalled when the camera has been interrupted
onParticipantAddedAudioTrack: FunctionCalled when a new audio track has been added
@param {{participant, track}}
onParticipantAddedVideoTrack: FunctionCalled when a new video track has been added
@param {{participant, track}}
onParticipantDisabledTrack: FunctionCalled when a track has been disabled. This can be audio or video tracks
@param {{participant, track}}
onParticipantEnabledTrack: FunctionCalled when a track has been enabled. This can be audio or video tracks
@param {{participant, track}}
onParticipantRemovedAudioTrack: FunctionCalled when a audio track has been removed
@param {{participant, track}}
onParticipantRemovedVideoTrack: FunctionCalled when a video track has been removed
@param {{participant, track}}
onRoomDidConnect: FunctionCalled when the room has connected
@param {{roomName, participants}}
onRoomDidDisconnect: FunctionCalled when the room has disconnected
@param {{roomName, error}}
onRoomDidFailToConnect: FunctionCalled when connection with room failed
@param {{roomName, error}}
onRoomParticipantDidConnect: FunctionCalled when a new participant has connected
@param {{roomName, participant}}
onRoomParticipantDidDisconnect: FunctionCalled when a participant has disconnected
@param {{roomName, participant}}
From ../src/TwilioVideoLocalView.js
// Required
enabled: BooleanIndicate if video feed is enabled.
From ../src/TwilioVideoParticipantView.js
trackIdentifier: {
participantIdentity: String
videoTrackId: String
}