Custom MediaStream (PeerConnection) constructor. Overrides mediaStreamFactory (deprecated).
The RTCPeerConnection passed to Device on setup.
An override for the StatsMonitor dependency.
Audio Constraints to pass to getUserMedia when making or accepting a Call.
This is placed directly under audio
of the MediaStreamConstraints object.
A method to call before Connection.accept is processed.
Custom format context parameters associated with this call.
An ordered array of codec names, from most to least preferred.
A DialTone player, to play mock DTMF sounds.
Whether or not to enable DSCP.
Whether to automatically restart ICE when media connection fails
Whether the ringing state should be enabled.
Experimental feature. Force Chrome's ICE agent to use aggressive nomination when selecting a candidate pair.
The gateway currently connected to.
A method that returns the current input MediaStream set on Device.
A method that returns the current SinkIDs set on Device.
The maximum average audio bitrate to use, in bits per second (bps) based on RFC-7587 7.1. By default, the setting is not used. If you specify 0, then the setting is not used. Any positive integer is allowed, but values outside the range 6000 to 510000 are ignored and treated as 0. The recommended bitrate for speech is between 8000 and 40000 bps as noted in RFC-7587 3.1.1.
Custom MediaStream (PeerConnection) constructor (deprecated)
The offer SDP, if this is an incoming call.
Called after a successful getUserMedia call
Whether this is a preflight call or not
The Region currently connected to.
An RTCConfiguration to pass to the RTCPeerConnection constructor.
RTC Constraints to pass to getUserMedia when making or accepting a Call. The format of this object depends on browser.
The region passed to Device on setup.
Whether the disconnect sound should be played.
TwiML params for the call. May be set for either outgoing or incoming calls.
Generated using TypeDoc
Options to be passed to the Connection constructor.