sip.js.sessiondescriptionhandler.setlocalsessiondescription.md

September 26, 2022 ยท View on GitHub

Home > sip.js > SessionDescriptionHandler > setLocalSessionDescription

SessionDescriptionHandler.setLocalSessionDescription() method

Sets the peer connection's local session description.

Signature:

protected setLocalSessionDescription(sessionDescription: RTCSessionDescriptionInit): Promise<void>;

Parameters

ParameterTypeDescription
sessionDescriptionRTCSessionDescriptionInitsessionDescription The session description.

Returns:

Promise<void>