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
DailyIframefor 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
loadingloadedload-attempt-failedstarted-cameracamera-errorjoining-meetingjoined-meetingleft-meetingcall-instance-destroyedmeeting-session-updatedtest-completedactive-speaker-changeaccess-state-updatederrorsend-settings-updatedlocal-audio-levelremote-participants-audio-level
Participant events
participant-joinedparticipant-updatedparticipant-leftwaiting-participant-addedwaiting-participant-updatedwaiting-participant-removedapp-messagetrack-startedtrack-stopped