Skip to content

createLocalTracks

function createLocalTracks(options?): Promise<LocalTrack[]>;

Defined in: client-sdk-js/src/track/create.ts:55

Create local audio and video tracks with the given options.

CreateLocalTracksOptions = ...

Capture options for audio and video. Defaults to { audio: true, video: true }.

Promise<LocalTrack[]>

An array of created local tracks.