ElevenLabs 对话式 AI 现已支持 WebRTC
- 发布时间
实时、低延迟的 AI 对话现已推出。
我们很高兴宣布,ElevenLabs 对话式 AI 现已支持 WebRTC,提供业界领先的回声消除和背景噪声消除功能,助力你的 AI 智能体。
这对开发者意味着什么
提升对话质量 在已有低延迟基础上,WebRTC 带来了传统流式传输无法实现的卓越音频处理能力。AI 智能体现在可提供用户期待的清晰、自然的对话体验。
卓越音频质量 WebRTC 提供经过数十亿次视频通话验证的业界领先回声消除和背景噪声消除功能,消除可能干扰 AI 对话的音频质量问题。
无缝浏览器集成 无需插件,无需下载。WebRTC 原生支持所有现代浏览器,可轻松将实时语音 AI集成到 Web 应用中。
生产级可靠性 基于为全球数十亿次视频通话提供支持、经过实战验证的同一套 WebRTC 技术栈,具备自动网络适配和连接恢复能力。
迁移至 11.ai 的实证成果
我们已将 11.ai 的所有使用场景迁移至 WebRTC,成果显著:客户端 SDK 性能和对话质量大幅提升。WebRTC 卓越的音频处理能力改善了用户体验。我们很高兴将这些改进推广至所有 SDK、应用内和嵌入式组件中的全部对话式 AI 用户。
立即开始
现已支持在我们的npm 包中使用 WebRTC,作为 WebSocket 连接的替代方案;我们的Swift SDK也已支持。支持 WebRTC 的 React Native 和Android SDK 即将推出。
简单集成:只需一个参数
只需在现有代码中修改一个参数,即可切换到 WebRTC:
const conversation = useConversation();// 开始 WebRTC 对话const conversationId = await conversation.startSession({ agentId: '<your-agent-id>', connectionType: 'webrtc', // 从 "websocket" 切换到 "webrtc"});
对于公开智能体,只需agentId。对于需要身份验证的对话,请使用 REST API 生成对话令牌。
准备好构建下一代语音 AI 智能体体验了吗?加入数千名开发者的行列,他们已在使用 ElevenLabs 对话式 AI 创建引人入胜、响应迅速的AI 智能体。
Angelo is an engineer on the ElevenAgents team, having worked across growth, core platform, developer experience, and analytics. He builds the tooling behind production voice agents, including templates, versioning, monitoring, LLM orchestration, and the SDKs developers build on. He occasionally does forward-deployed engineering, working directly with enterprise partners to take agents from demo to scale. He holds an MEng in Computing from Imperial College London and spent time at ETH Zürich, where he co-founded MoonAI.




