> Fetch clean Markdown by appending `.md` to any page URL under https://signalwire.com/docs or requesting it with the HTTP header `Accept: text/markdown`. The root index at https://signalwire.com/docs/llms.txt lists the available documentation indexes.

# CallOptions

> Configuration options for creating a call.

Configuration options for creating a call.

## **Extends**

* [`MediaOptions`](/docs/browser-sdk/v4/reference/interfaces/media-options)

## **Properties**

**`callId`** `string`

Pre-assigned call ID (used for reattach).

---

**`displayDirection`** `string`

Direction hint for display purposes.

---

**`from`** `string`

Address URI of the caller.

---

**`fromName`** `string`

Display name of the caller.

---

**`initOffer`** `string`

SDP offer for inbound calls.

---

**`nodeId`** `string`

Optional. Hint to the cluster about which node should host this call. Used by reattach to pin to the original node; on fresh dials acts as a steering preference (the server may ignore for placement reasons). Leave undefined for normal load-balanced placement.

---

**`preferredAudioCodecs`** `string[]`

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

---

**`preferredVideoCodecs`** `string[]`

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

---

**`reattach`** `boolean`

Whether this call is being reattached after reconnect.

---

**`stereo`** `boolean`

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

---

**`to`** `string`

Destination URI.

---

**`toName`** `string`

Display name of the callee.

---

**`userVariables`** `Record<string, unknown>`

Custom user variables sent with the call invite.

---

#### Inherited from MediaOptions

**`audio`** `boolean`

Enable audio input. Defaults to `true` when not specified.

---

**`inputAudioDeviceConstraints`** `MediaTrackConstraints`

Custom constraints for the audio input track. See [`MediaTrackConstraints`](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints).

---

**`inputAudioStream`** `MediaStream`

Pre-existing audio stream to use instead of `getUserMedia`. See [`MediaStream`](https://developer.mozilla.org/en-US/docs/Web/API/MediaStream).

---

**`inputVideoDeviceConstraints`** `MediaTrackConstraints`

Custom constraints for the video input track. See [`MediaTrackConstraints`](https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints).

---

**`inputVideoStream`** `MediaStream`

Pre-existing video stream to use instead of `getUserMedia`. See [`MediaStream`](https://developer.mozilla.org/en-US/docs/Web/API/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.

---