sip.js.sessiondescriptionhandler.getlocalmediastream.md
September 26, 2022 ยท View on GitHub
Home > sip.js > SessionDescriptionHandler > getLocalMediaStream
SessionDescriptionHandler.getLocalMediaStream() method
Get a media stream from the media stream factory and set the local media stream.
Signature:
protected getLocalMediaStream(options?: SessionDescriptionHandlerOptions): Promise<void>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| options | SessionDescriptionHandlerOptions | Session description handler options. |
Returns:
Promise<void>