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