Skip to main content

Function: init()

init(plugin): void

Initializes the WebSDK with the specified plugin, enabling support for specific platforms and features.

IMPORTANT: This function must be called before attempting to join a room.

Parameters

plugin: Plugin

The plugin instance to initialize the WebSDK with. The plugin must have a version of '1' or higher.

Returns

void

Defined in

Odin/odin-typescript/lib/api.d.ts:12