Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time

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.