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

React Native client for the bot ready example. #1112

Merged
merged 7 commits into from
Feb 18, 2025
Merged

Conversation

filipi87
Copy link
Contributor

Starting to create a react native client for the bot ready example.

@filipi87 filipi87 changed the title Starting to create a react native client for the bot ready example. React Native client for the bot ready example. Jan 30, 2025
@filipi87 filipi87 marked this pull request as ready for review January 30, 2025 13:45
@markbackman
Copy link
Contributor

I'm going to defer this review to @kompfner since RN is out of my comfort zone.

@@ -0,0 +1 @@
18.18
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we use the current active lts node version (22)? Or at least the maintenance lts version (20)? 18 is on its last legs

if (evt.track.kind === "audio" && evt.participant.local === false) {
handleEventToConsole(evt)
log("Sending the message that will trigger the bot to play the audio.")
callObject.sendAppMessage("playable")
Copy link
Contributor

Choose a reason for hiding this comment

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

so in RN just waiting for the track-started event is sufficient? cool 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is because in the server we are still sending some silence. So, triggering it at this point is enough. 🙂

Copy link

codecov bot commented Feb 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

@filipi87 filipi87 merged commit 83a71e1 into main Feb 18, 2025
6 checks passed
@filipi87 filipi87 deleted the bot-ready-signalling-rn branch February 18, 2025 18:17
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.

3 participants