The DailyIframe class
The main entry point into the react-native-daily-js library
The DailyIframe
class exposes methods and events for managing the call lifecycle and participant state.
You don't ever need to call the DailyIframe
constructor directly. Instead, use one of the factory methods.
Methods
Factory methods
Top-level DailyIframe configuration properties can be passed to any of the factory methods, or to thejoin()
method.
Instance methods
abortTestNetworkConnectivity()
abortTestWebsocketConnectivity()
accessState()
addLiveStreamingEndpoints()
cycleCamera()
destroy()
enumerateDevices()
getInputDevices()
getNetworkStats()
getReceiveSettings()
getSendSettings()
isDestroyed()
join()
leave()
load()
localAudio()
localVideo()
meetingSessionState()
meetingState()
nativeInCallAudioMode()
off()
on()
once()
participants()
preAuth()
removeLiveStreamingEndpoints()
requestAccess()
room()
sendAppMessage()
setAudioDevice()
setCamera()
setLocalAudio()
setLocalVideo()
setMeetingSessionData()
setNativeInCallAudioMode()
setUserData()
setUserName()
startCamera()
startLiveStreaming()
startRecording()
startScreenShare()
startTranscription()
stopLiveStreaming()
stopRecording()
stopScreenShare()
stopTestConnectionQuality()
stopTranscription()
testConnectionQuality()
testNetworkConnectivity()
testWebsocketConnectivity()
updateLiveStreaming()
updateParticipant()
updateParticipants()
updateReceiveSettings()
updateSendSettings()
updateRecording()
updateWaitingParticipant()
updateWaitingParticipants()
waitingParticipants()
Static methods
Events
You can install callbacks for the following events:
Meeting events
loading
loaded
load-attempt-failed
started-camera
camera-error
joining-meeting
joined-meeting
left-meeting
call-instance-destroyed
meeting-session-updated
active-speaker-change
access-state-updated
error
send-settings-updated
Participant events
participant-joined
participant-updated
participant-left
waiting-participant-added
waiting-participant-updated
waiting-participant-removed
app-message
track-started
track-stopped