Skip to content

Latest commit

 

History

History
31 lines (18 loc) · 1.04 KB

sip.js.webaudiosessiondescriptionhandler.setreallocalmediastream.md

File metadata and controls

31 lines (18 loc) · 1.04 KB

Home > sip.js > WebAudioSessionDescriptionHandler > setRealLocalMediaStream

WebAudioSessionDescriptionHandler.setRealLocalMediaStream() method

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Sets the original local media stream.

Signature:

setRealLocalMediaStream(stream: MediaStream): void;

Parameters

Parameter Type Description
stream MediaStream Media stream containing tracks to be utilized.

Returns:

void

Remarks

Only the first audio and video tracks of the provided MediaStream are utilized. Adds tracks if audio and/or video tracks are not already present, otherwise replaces tracks.