sip.js.sessiondescriptionhandler.setdescription.md
September 26, 2022 ยท View on GitHub
Home > sip.js > SessionDescriptionHandler > setDescription
SessionDescriptionHandler.setDescription() method
Sets an offer or answer.
Signature:
setDescription(sdp: string, options?: SessionDescriptionHandlerOptions, modifiers?: Array<SessionDescriptionHandlerModifier>): Promise<void>;
Parameters
| Parameter | Type | Description |
|---|---|---|
| sdp | string | The session description. |
| options | SessionDescriptionHandlerOptions | Options bucket. |
| modifiers | Array<SessionDescriptionHandlerModifier> | Modifiers. |
Returns:
Promise<void>