Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 1.37 KB

sip.js.sessiondescriptionhandler.md

File metadata and controls

25 lines (17 loc) · 1.37 KB

Home > sip.js > SessionDescriptionHandler

SessionDescriptionHandler interface

Delegate for Session offer/answer exchange.

Signature:

export interface SessionDescriptionHandler 

Methods

Method Description
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.