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 #393

Merged
merged 3 commits into from
Jan 8, 2025
Merged

RealtimeAgent WebRTC #393

merged 3 commits into from
Jan 8, 2025

Conversation

davorrunje
Copy link
Collaborator

@davorrunje davorrunje commented Jan 8, 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

@davorrunje davorrunje added this pull request to the merge queue Jan 8, 2025
@davorrunje davorrunje self-assigned this Jan 8, 2025
Merged via the queue into main with commit 984897e Jan 8, 2025
438 of 446 checks passed
@davorrunje davorrunje deleted the realtime-webrtc-ag2-repo branch January 13, 2025 09:02
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