Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RealtimeAgent WebRTC #375

Closed
wants to merge 3 commits into from

Conversation

davorinrusevljan
Copy link
Collaborator

@davorinrusevljan davorinrusevljan commented Jan 7, 2025

Why are these changes needed?

Currently, RealTimeAgent can stream audio from OpenAI API to a server and then to a client using WebSockets. This is not an optimal solution and streaming directly from OpenAI to a client using WebRTC is a much better solution.

This PR introduces the new OpenAIRealtimeWebRTCClient class that enables RealTimeClient to use WebRTC protocol.

Related issue number

Closes #390

Checks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: RealtimeAgent WebRTC
2 participants