<DailyProvider callObject={callObject}>
Stores call state and manages a call object instance, giving every component in your tree access to it. Two modes are supported: pass an existing call object, or provide props for DailyProvider to create one.
We recommend utilizing useCallObject to create your own call object instance.
Props
Existing call object mode
Pre-initialized call object instance (instantiated via
createCallObject()).Call object creation mode
The URL of the Daily room to join.
Audio source for the call. See DailyCall properties for details.
Video source for the call. See DailyCall properties for details.
Daily configuration options. See DailyCall properties for details.
Receive settings for the call. See DailyCall properties for details.
Whether to automatically subscribe to tracks. See DailyCall properties for details.
Meeting token. See DailyCall properties for details.
Display name for the local participant. See DailyCall properties for details.
Changing any of the props in call object creation mode will destroy the current instance and create a new one with the updated props.
Optional props
store to be passed to Daily React’s internal Jotai <Provider>. If you use Jotai in your app, this will store Daily React’s internal state atoms in your Jotai store.