startCamera()

startCamera()

Compatibility:
Prebuilt
Custom

Takes the same properties object that the factory methods take. Passing the url property is required.

Invoking this method allows granular control over the participant onboarding flow. If you're looking to build a custom experience as the call loads, for example a "hair check" waiting room for meeting participants, startCamera() will be useful.

If granular control is not required, join() is often all that you need in order to load a call (it takes care of startCamera() implicitly).

Do not call startCamera() after join(). Use setLocalVideo() or setLocalAudio() instead.