Skip to content

Latest commit

 

History

History
29 lines (21 loc) · 2.13 KB

sip.js.sessiondescriptionhandleroptions.md

File metadata and controls

29 lines (21 loc) · 2.13 KB

Home > sip.js > SessionDescriptionHandlerOptions

SessionDescriptionHandlerOptions interface

Options for SessionDescriptionHandler.

Signature:

export interface SessionDescriptionHandlerOptions extends SessionDescriptionHandlerOptionsDefinition 

Extends: SessionDescriptionHandlerOptionsDefinition

Properties

Property Modifiers Type Description
answerOptions RTCAnswerOptions Answer options to use when creating an answer.
constraints MediaStreamConstraints Constraints to use when creating local media stream.
dataChannel boolean If true, create a data channel when making initial offer.
dataChannelLabel string A human-readable name to use when creating the data channel.
dataChannelOptions RTCDataChannelInit Configuration options for creating the data channel.
hold boolean If true, offer and answer directions will be set to place peer on hold.
iceGatheringTimeout number The maximum duration to wait in ms for ICE gathering to complete. No timeout if undefined or zero.
offerOptions RTCOfferOptions Offer options to use when creating an offer.
onDataChannel (dataChannel: RTCDataChannel) => void Called upon creating a data channel.