Our new developer documentation is now available. Please check it out!
OdinRoom.changeMediaStream
On this page
changeMediaStream(mediaStream: MediaStream): Promise<void>
Changes the active capture stream (e.g. when switching to another input device).
Parameters
Name | Type | Description |
---|---|---|
mediaStream | MediaStream | The capture stream of the input device |
Returns
Type | Description |
---|---|
Promise<void> |