Skip to main content
load(properties?) Pre-loads the JavaScript bundle needed to join a call, giving you a head start before calling join(). This is purely an optimization — if you skip it, the bundle loads automatically on the first call to preAuth(), startCamera(), or join() and is often already cached. Calling load() will update the meeting state and trigger events as follows:

Return value

Returns Promise<void>.

Example

// Pre-load on page mount so join() is faster when the user clicks "Join"
call.on('loaded', () => console.log('Bundle ready'));
await call.load();

See also