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

Create DataChannel by default #15

Merged
merged 1 commit into from
Jan 5, 2025
Merged

Create DataChannel by default #15

merged 1 commit into from
Jan 5, 2025

Conversation

seaduboi-openai
Copy link
Collaborator

No description provided.

@seaduboi-openai seaduboi-openai force-pushed the update-libpeer branch 2 times, most recently from 91790f1 to 16d6803 Compare January 3, 2025 20:30
src/webrtc.cpp Outdated

static void oai_ondatachannel_onopen_task(void *userdata) {
if (peer_connection_create_datachannel(peer_connection, DATA_CHANNEL_RELIABLE,
0, 0, (char *)"", (char *)"") != -1) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest that the label name be set to oai-events to match the official documentation.

https://platform.openai.com/docs/guides/realtime-webrtc#sending-and-receiving-events

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@GOROman Fixed! Thank you so much for reviewing :)

@seaduboi-openai seaduboi-openai force-pushed the update-libpeer branch 2 times, most recently from 2fabe47 to 88da36d Compare January 4, 2025 05:15
@seaduboi-openai
Copy link
Collaborator Author

Thank you @GOROman

When @sepfy merges sepfy/libpeer#180 I will update the submodule and merge this.

If you have any other ideas/feedback/improvements I would love to work on them! I will spend tomorrow going through other issues.

@seaduboi-openai seaduboi-openai merged commit 464a9f0 into main Jan 5, 2025
4 checks passed
@seaduboi-openai seaduboi-openai deleted the update-libpeer branch January 5, 2025 02:57
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.

2 participants