From 8bbebb5d75a44df80270cd206a8e4b2f9ba3ec81 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Thu, 12 Mar 2026 22:45:36 +0530 Subject: [PATCH] Improve doc for WebRTC --- .../my-website/blog/realtime_webrtc_http_endpoints/index.md | 6 +++--- docs/my-website/sidebars.js | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/my-website/blog/realtime_webrtc_http_endpoints/index.md b/docs/my-website/blog/realtime_webrtc_http_endpoints/index.md index 3ac300a6f3..04c3d3c909 100644 --- a/docs/my-website/blog/realtime_webrtc_http_endpoints/index.md +++ b/docs/my-website/blog/realtime_webrtc_http_endpoints/index.md @@ -57,11 +57,11 @@ litellm --config /path/to/config.yaml ## Client Usage -**1. Get token** — `POST /v1/realtime/client_secrets` with LiteLLM API key and `{ model }`. +**1. Get token** - `POST /v1/realtime/client_secrets` with LiteLLM API key and `{ model }`. -**2. WebRTC handshake** — Create `RTCPeerConnection`, add mic track, create data channel `oai-events`, send SDP offer to `POST /v1/realtime/calls` with `Authorization: Bearer ` and `Content-Type: application/sdp`. +**2. WebRTC handshake** - Create `RTCPeerConnection`, add mic track, create data channel `oai-events`, send SDP offer to `POST /v1/realtime/calls` with `Authorization: Bearer ` and `Content-Type: application/sdp`. -**3. Events** — Use the data channel for `session.update` and other events. +**3. Events** - Use the data channel for `session.update` and other events.
Full code example diff --git a/docs/my-website/sidebars.js b/docs/my-website/sidebars.js index 8383b826f0..b877eed0dd 100644 --- a/docs/my-website/sidebars.js +++ b/docs/my-website/sidebars.js @@ -669,6 +669,7 @@ const sidebars = { "rag_ingest", "rag_query", "realtime", + "proxy/realtime_webrtc", "rerank", "response_api", "response_api_compact",