Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

React Component Reference

TwilioVideo

From ../src/TwilioVideo.js

onCameraDidStart

onCameraDidStart: Function

Called when the camera has started

onCameraDidStopRunning

onCameraDidStopRunning: Function

Called when the camera has stopped running with an error

@param {{error}} The error message description

onCameraWasInterrupted

onCameraWasInterrupted: Function

Called when the camera has been interrupted

onParticipantAddedAudioTrack

onParticipantAddedAudioTrack: Function

Called when a new audio track has been added

@param {{participant, track}}

onParticipantAddedVideoTrack

onParticipantAddedVideoTrack: Function

Called when a new video track has been added

@param {{participant, track}}

onParticipantDisabledTrack

onParticipantDisabledTrack: Function

Called when a track has been disabled. This can be audio or video tracks

@param {{participant, track}}

onParticipantEnabledTrack

onParticipantEnabledTrack: Function

Called when a track has been enabled. This can be audio or video tracks

@param {{participant, track}}

onParticipantRemovedAudioTrack

onParticipantRemovedAudioTrack: Function

Called when a audio track has been removed

@param {{participant, track}}

onParticipantRemovedVideoTrack

onParticipantRemovedVideoTrack: Function

Called when a video track has been removed

@param {{participant, track}}

onRoomDidConnect

onRoomDidConnect: Function

Called when the room has connected

@param {{roomName, participants}}

onRoomDidDisconnect

onRoomDidDisconnect: Function

Called when the room has disconnected

@param {{roomName, error}}

onRoomDidFailToConnect

onRoomDidFailToConnect: Function

Called when connection with room failed

@param {{roomName, error}}

onRoomParticipantDidConnect

onRoomParticipantDidConnect: Function

Called when a new participant has connected

@param {{roomName, participant}}

onRoomParticipantDidDisconnect

onRoomParticipantDidDisconnect: Function

Called when a participant has disconnected

@param {{roomName, participant}}



TwilioVideoLocalView

From ../src/TwilioVideoLocalView.js

enabled

// Required
enabled: Boolean

Indicate if video feed is enabled.



TwilioVideoParticipantView

From ../src/TwilioVideoParticipantView.js

trackIdentifier

trackIdentifier: {
    participantIdentity: String
    videoTrackId: String
}