diff --git a/agents/SKILL.md b/agents/SKILL.md index fbea385..b390ceb 100644 --- a/agents/SKILL.md +++ b/agents/SKILL.md @@ -89,20 +89,6 @@ elevenlabs agents create \ ## Starting Conversations -### Temporary LiveKit WebSocket Pin - -Until the ElevenLabs LiveKit server supports `/rtc/v1`, browser clients using WebRTC can fail or stall during the underlying LiveKit WebSocket handshake with `livekit-client` versions newer than `2.16.1`. For React, Next.js, Electron, or other `@elevenlabs/client` / `@elevenlabs/react` integrations that use `connectionType: "webrtc"` or hit `wss://livekit.rtc.elevenlabs.io/rtc/v1`, add this temporary pin to `package.json`: - -```json -{ - "overrides": { - "livekit-client": "2.16.1" - } -} -``` - -Use the pin when the app logs `/rtc/v1` 404s, `v1 RTC path not found`, or `could not establish pc connection` during session startup. This is a LiveKit server compatibility workaround for WebRTC sessions, not the ElevenLabs `connectionType: "websocket"` transport. Remove it after the upstream LiveKit server or SDK issue is fixed. - **Authenticated WebRTC:** Request a session token from your backend. The response includes both the token and the conversation ID: ```python diff --git a/agents/references/installation.md b/agents/references/installation.md index bbdc73f..a05302c 100644 --- a/agents/references/installation.md +++ b/agents/references/installation.md @@ -91,20 +91,6 @@ npm install @elevenlabs/client@latest # Vanilla JavaScript in the browser npm install @elevenlabs/react@latest # React on the web ``` -### Temporary LiveKit WebSocket pin - -There is a known LiveKit server compatibility issue where WebRTC startup may hit the underlying LiveKit WebSocket path `/rtc/v1` and return 404, causing delays or failed sessions in React, Next.js, Electron, and other browser clients. Until the upstream issue is resolved, pin `livekit-client` to `2.16.1` when using `connectionType: "webrtc"` or when logs mention `wss://livekit.rtc.elevenlabs.io/rtc/v1`: - -```json -{ - "overrides": { - "livekit-client": "2.16.1" - } -} -``` - -This belongs in the app's `package.json`. Apply it when logs include `/rtc/v1` 404s, `v1 RTC path not found`, or `could not establish pc connection`. Remove the override once the ElevenLabs LiveKit server or SDK no longer requires the workaround. - **Import changes:** ```javascript import { ElevenLabsClient } from "@elevenlabs/elevenlabs-js"; diff --git a/speech-engine/SKILL.md b/speech-engine/SKILL.md index 31ce09d..fa6f1c4 100644 --- a/speech-engine/SKILL.md +++ b/speech-engine/SKILL.md @@ -187,16 +187,6 @@ export function VoiceControls() { } ``` -If a WebRTC browser session stalls or logs `/rtc/v1` 404s, `v1 RTC path not found`, or `could not establish pc connection`, pin `livekit-client` to `2.16.1` in the app's `package.json` until the upstream LiveKit compatibility issue is resolved: - -```json -{ - "overrides": { - "livekit-client": "2.16.1" - } -} -``` - ## References - [Installation Guide](references/installation.md) diff --git a/speech-engine/references/installation.md b/speech-engine/references/installation.md index 9171074..9b5ad77 100644 --- a/speech-engine/references/installation.md +++ b/speech-engine/references/installation.md @@ -41,20 +41,6 @@ npm install @elevenlabs/react npm install @elevenlabs/client ``` -### Temporary LiveKit WebRTC Pin - -There is a known LiveKit server compatibility issue where WebRTC startup may hit the underlying LiveKit WebSocket path `/rtc/v1` and return 404, causing delays or failed sessions in React, Next.js, Electron, and other browser clients. Until the upstream issue is resolved, pin `livekit-client` to `2.16.1` when logs mention `/rtc/v1`, `v1 RTC path not found`, or `could not establish pc connection`: - -```json -{ - "overrides": { - "livekit-client": "2.16.1" - } -} -``` - -This belongs in the app's `package.json`. Remove the override once the ElevenLabs LiveKit server or SDK no longer requires the workaround. - Always use `@elevenlabs/elevenlabs-js`, `@elevenlabs/react`, or `@elevenlabs/client`. Do not use the deprecated `elevenlabs` npm package. ## Python