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

WebRTC support in Realtime API client #629

Open
samrat opened this issue Dec 26, 2024 · 1 comment
Open

WebRTC support in Realtime API client #629

samrat opened this issue Dec 26, 2024 · 1 comment
Labels
p:openai_realtime_dart openai_realtime_dart package t:enhancement New feature or request

Comments

@samrat
Copy link

samrat commented Dec 26, 2024

Feature request

The OpenAI Realtime API now supports WebRTC in addition to websockets: https://platform.openai.com/docs/guides/realtime-webrtc

Would it be possible to support WebRTC-based connections from the Realtime client package?

Motivation

For connections made directly from a client(such as a Flutter app), WebRTC is recommended over Websockets:

In scenarios where you would like to connect to a Realtime model from an insecure client over the network (like a web browser), we recommend using the WebRTC connection method.

Your contribution

I'm fairly new to Dart but could take a stab at implementing this.

(Potential blocker to implementing this: dart-lang/http#1438)

@samrat samrat added the t:enhancement New feature or request label Dec 26, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in LangChain.dart Dec 26, 2024
@davidmigloz davidmigloz added the p:openai_realtime_dart openai_realtime_dart package label Dec 26, 2024
@davidmigloz
Copy link
Owner

Hey @samrat,

Thanks for opening the issue. If you could give it a try, that would be great!
Let me know if I can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p:openai_realtime_dart openai_realtime_dart package t:enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants