Developer Documentation

OdinRoom.changeMediaStream

changeMediaStream(mediaStream: MediaStream): Promise<void>

Changes the active capture stream (e.g. when switching to another input device).

Parameters

NameTypeDescription
mediaStreamMediaStreamThe capture stream of the input device

Returns

TypeDescription
Promise<void>