Home > sip.js > SessionDescriptionHandler > getDescription
Creates an offer or answer.
Signature:
getDescription(options?: SessionDescriptionHandlerOptions, modifiers?: Array<SessionDescriptionHandlerModifier>): Promise<BodyAndContentType>;
Parameter | Type | Description |
---|---|---|
options | SessionDescriptionHandlerOptions |
Options bucket. |
modifiers | Array<SessionDescriptionHandlerModifier> |
Modifiers. |
Returns:
Promise<BodyAndContentType>