sip.js.sessiondescriptionhandler.md

July 13, 2020 ยท View on GitHub

Home > sip.js > SessionDescriptionHandler

SessionDescriptionHandler interface

Delegate for Session offer/answer exchange.

Signature:

export interface SessionDescriptionHandler 

Methods

MethodDescription
close()Destructor.
getDescription(options, modifiers)Gets the local description from the underlying media implementation.
hasDescription(contentType)Returns true if the Session Description Handler can handle the Content-Type described by a SIP message.
rollbackDescription()Rolls back the current local/remote offer to the prior stable state.
sendDtmf(tones, options)Send DTMF via RTP (RFC 4733). Returns true if DTMF send is successful, false otherwise.
setDescription(sdp, options, modifiers)Sets the remote description to the underlying media implementation.