useMeetingState
useMeetingState() : DailyMeetingState
useMeetingState
is a convenience hook for the Daily meetingState()
method. It returns the current meeting state.
Return type
Name | Type | Description |
---|---|---|
meetingState | string | 'new' | 'loading' | 'loaded' | 'joining-meeting' | 'joined-meeting' | 'left-meeting' | 'error' . Defaults to 'new' . |