The Daily call client
Importing Daily
gives you access to factory methods for creating DailyCall
* clients. These call clients expose methods and events for managing the call lifecycle and participant state.
*If you're not using TypeScript you may notice the underlying JS class is called
DailyIframe
for historical reasons.
Methods
Factory methods
Top-level DailyCall
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()
getLocalAudioLevel()
getRemoteParticipantsAudioLevel()
getNetworkStats()
getReceiveSettings()
getSendSettings()
isDestroyed()
join()
leave()
load()
localAudio()
localScreenAudio()
localScreenVideo()
localVideo()
meetingSessionSummary()
meetingSessionState()
meetingState()
nativeInCallAudioMode()
off()
on()
once()
participants()
preAuth()
removeLiveStreamingEndpoints()
requestAccess()
room()
sendAppMessage()
setAudioDevice()
setCamera()
setLocalAudio()
setLocalVideo()
setMeetingSessionData()
setNativeInCallAudioMode()
setUserData()
setUserName()
startCamera()
startLiveStreaming()
startLocalAudioLevelObserver()
startRemoteParticipantsAudioLevelObserver()
startRecording()
startScreenShare()
startTranscription()
stopLiveStreaming()
stopLocalAudioLevelObserver()
stopRemoteParticipantsAudioLevelObserver()
stopRecording()
stopScreenShare()
stopTestConnectionQuality()
stopTestPeerToPeerCallQuality()
stopTranscription()
testConnectionQuality()
testNetworkConnectivity()
testPeerToPeerCallQuality()
testWebsocketConnectivity()
updateLiveStreaming()
updateParticipant()
updateParticipants()
updateReceiveSettings()
updateScreenShare()
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
test-completed
active-speaker-change
access-state-updated
error
send-settings-updated
local-audio-level
remote-participants-audio-level
Participant events
participant-joined
participant-updated
participant-left
waiting-participant-added
waiting-participant-updated
waiting-participant-removed
app-message
track-started
track-stopped