startCamera(properties?)
Acquires local camera and microphone access as part of the pre-join flow, without entering a call. Useful for building a “hair check” or lobby screen where participants can preview and configure their devices before joining.
Accepts the same DailyCallOptions object as the factory methods. url is not required.
join() calls startCamera() internally — if you don’t need pre-join device access, join() alone is sufficient.
Parameters
Call configuration options. See
DailyCallOptions for the full list of available fields.Return value
Returns aPromise<DailyDeviceInfos> with the active camera, mic, and speaker. See getInputDevices() for the full shape.