Home > sip.js > SessionDescriptionHandler > setDescription
Sets an offer or answer.
Signature:
setDescription(sdp: string, options?: SessionDescriptionHandlerOptions, modifiers?: Array<SessionDescriptionHandlerModifier>): Promise<void>;
Parameter | Type | Description |
---|---|---|
sdp | string |
The session description. |
options | SessionDescriptionHandlerOptions |
Options bucket. |
modifiers | Array<SessionDescriptionHandlerModifier> |
Modifiers. |
Returns:
Promise<void>