Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 897 Bytes

sip.js.sessiondescriptionhandler.setdescription.md

File metadata and controls

26 lines (16 loc) · 897 Bytes

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>