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

ParameterTypeDescription
contentTypestringThe content type that is in the SIP Message.

Returns:

boolean

Contents

  1. 1SessionDescriptionHandler.hasDescription() method
  2. 2Parameters