Skip to content

Files

Latest commit

8829673 · Sep 26, 2022

History

History
26 lines (15 loc) · 809 Bytes

sip.js.sessiondescriptionhandler.hasdescription.md

File metadata and controls

26 lines (15 loc) · 809 Bytes

Home > sip.js > SessionDescriptionHandler > hasDescription

SessionDescriptionHandler.hasDescription() method

Returns true if the Session Description Handler 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

True if the content type is handled by this session description handler. False otherwise.