DialOptions

View as MarkdownOpen in Claude

Options for SignalWire.dial. Extends MediaOptions with dial-specific settings.

Extends

Properties

nodeId
string

Optional node ID for routing the call

preferredAudioCodecs
string[]

Preferred audio codecs for this call (overrides global preferences).

preferredVideoCodecs
string[]

Preferred video codecs for this call (overrides global preferences).

stereo
boolean

Enable stereo Opus for this call (overrides global preferences).

userVariables
Record<string, unknown>

Custom variables sent with the Verto invite. Merged with client.preferences.userVariables and any query-string variables on the destination URI; values here take precedence.

audio
boolean

Enable audio input. Defaults to true when not specified.

inputAudioDeviceConstraints
MediaTrackConstraints

Custom constraints for the audio input track. See MediaTrackConstraints.

inputAudioStream
MediaStream

Pre-existing audio stream to use instead of getUserMedia. See MediaStream.

inputVideoDeviceConstraints
MediaTrackConstraints

Custom constraints for the video input track. See MediaTrackConstraints.

inputVideoStream
MediaStream

Pre-existing video stream to use instead of getUserMedia. See MediaStream.

receiveAudio
boolean

Whether to receive remote audio.

receiveVideo
boolean

Whether to receive remote video.

video
boolean

Enable video input. Defaults to false when not specified.