Developer Documentation
Our new developer documentation is now available. Please check it out!

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>