-
Notifications
You must be signed in to change notification settings - Fork 647
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
Conversation
I'm going to defer this review to @kompfner since RN is out of my comfort zone. |
@@ -0,0 +1 @@ | |||
18.18 |
There was a problem hiding this comment.
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") |
There was a problem hiding this comment.
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 👍
There was a problem hiding this comment.
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. 🙂
Codecov ReportAll modified and coverable lines are covered by tests ✅ |
Starting to create a react native client for the bot ready example.