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:
- On success:
loading→loaded - On failure:
loading→ one or moreload-attempt-failed→error
Return value
ReturnsPromise<void>.