Skip to content

WebRTC support #13

@WqyJh

Description

@WqyJh

OpenAI has introduced a WebRTC version of its Realtime API, recommending the use of WebSocket for server-to-server applications and WebRTC for client-to-server interactions. The WebRTC API enables clients to connect directly to OpenAI, effectively bypassing the network traffic from application servers and significantly reducing latency.

WebSockets are a broadly supported API for realtime data transfer, and a great choice for connecting to the OpenAI Realtime API in server-to-server applications. For browser and mobile clients, we recommend connecting via WebRTC. Follow this guide to connect to the Realtime API via WebSocket and start interacting with a Realtime model.

https://platform.openai.com/docs/guides/realtime-webrtc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions