sip.js.sessiondescriptionhandler.hasdescription.md
September 26, 2022 ยท View on GitHub
Home > sip.js > SessionDescriptionHandler > hasDescription
SessionDescriptionHandler.hasDescription() method
Returns true if the SessionDescriptionHandler can handle the Content-Type described by a SIP message.
Signature:
hasDescription(contentType: string): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| contentType | string | The content type that is in the SIP Message. |
Returns:
boolean