examples/

directory
v1.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2026 License: MIT

Directories

Path Synopsis
Basic Anthropic Claude chat demo (sync + stream).
Basic Anthropic Claude chat demo (sync + stream).
Package exutil provides shared helpers for example programs.
Package exutil provides shared helpers for example programs.
Basic Ollama local chat demo (sync + stream).
Basic Ollama local chat demo (sync + stream).
Basic OpenAI chat demo (sync + stream).
Basic OpenAI chat demo (sync + stream).
Basic OpenAI-compatible gateway chat demo (sync + stream).
Basic OpenAI-compatible gateway chat demo (sync + stream).
SIP outbound (UAC) demo: dial a remote UAS, wait for 200 OK + ACK, then BYE.
SIP outbound (UAC) demo: dial a remote UAS, wait for 200 OK + ACK, then BYE.
SIP RTP media server — runs separately from the signaling server.
SIP RTP media server — runs separately from the signaling server.
SIP signaling-only server — no local RTP socket.
SIP signaling-only server — no local RTP socket.
sip-split
controlapi
Package controlapi defines the HTTP contract between the split SIP signaling server and one or more RTP media servers.
Package controlapi defines the HTTP contract between the split SIP signaling server and one or more RTP media servers.
rtppool
Package rtppool routes signaling control requests across multiple RTP media nodes.
Package rtppool routes signaling control requests across multiple RTP media nodes.
Minimal SIP UAS demo: OPTIONS, INVITE (SDP answer), ACK, BYE over UDP.
Minimal SIP UAS demo: OPTIONS, INVITE (SDP answer), ACK, BYE over UDP.
voice-demo
asr-denoise-demo command
ASR Denoiser Demo: 演示如何在 ASR 管道中使用降噪器
ASR Denoiser Demo: 演示如何在 ASR 管道中使用降噪器
dialogue command
Dialog WebSocket server: receives voice-plane events and streams LLM replies.
Dialog WebSocket server: receives voice-plane events and streams LLM replies.
realtime command
Realtime voice demo: browser (web1) or xiaozhi device → xiaozhi WS → multimodal agent.
Realtime voice demo: browser (web1) or xiaozhi device → xiaozhi WS → multimodal agent.
voice command
Voice media server: WebRTC browser client + xiaozhi WebSocket.
Voice media server: WebRTC browser client + xiaozhi WebSocket.
voiceutil
Package voiceutil wires ASR/TTS/realtime factories for voice-demo examples.
Package voiceutil wires ASR/TTS/realtime factories for voice-demo examples.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL