sip.js.sessiondescriptionhandleroptions.md
September 26, 2022 ยท View on GitHub
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. |