> For a complete documentation index, fetch https://docs.voximplant.ai/llms.txt

# StreamingAgentEvents

## Values

**`Connected`** `'StreamingAgent.Connected'`

Triggered when a streaming object is connected to a streaming platform.

---

**`ConnectionFailed`** `'StreamingAgent.ConnectionFailed'`

Triggered when connection to a streaming platform is failed.

---

**`Error`** `'StreamingAgent.Error'`

Triggers if a streaming object cannot be created, *e.g., due to incorrect server url*.

---

**`Disconnected`** `'StreamingAgent.Disconnected'`

Triggered when a streaming object is disconnected from a streaming platform.

---

**`StreamStarted`** `'StreamingAgent.Stream.Started'`

Triggered when a stream is successfully started.

---

**`StreamStopped`** `'StreamingAgent.Stream.Stopped'`

Triggered when a stream is stopped.

---

**`StreamError`** `'StreamingAgent.Stream.Error'`

Triggered when a streaming object caused an error, *e.g., due to a codec mismatch*.

---

**`AudioStreamCreated`** `'StreamingAgent.Stream.AudioStarted'`

Triggered when there is audio data in the stream.

---

**`VideoStreamCreated`** `'StreamingAgent.Stream.VideoStarted'`

Triggered when there is video data in the stream.

---

**`AudioSwitched`** `'StreamingAgent.Stream.AudioSwitched'`

Triggered when the audio stream is switched.

---

**`VideoSwitched`** `'StreamingAgent.Stream.VideoSwitched'`

Triggered when the video stream is switched.

---