-
Notifications
You must be signed in to change notification settings - Fork 4
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
fix(Call): Fix flash talk indicator #825
Conversation
Download the app installers for this pull request: |
fix(multipass): optimize user lookup in friends list
…etection handling
Hey Lucas! So during testing Sara, Luis and I have found that friending is not working on this pr. Due to this its not possible to test the talking indicator We tried old accounts and new accounts, and made sure to do npm i User A sends UserB a friend request We tried moving to different page, refreshing browser and nothing gets User B to appear on User A side I also tried 2 new accounts before testing this and 2 new accounts before verifying on dev that friending still worked so clean builds before attempting both Your branch: Screen_Recording_2024-11-08_at_5.50.39_PM.mov |
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.
phil added a comment above
Hello @lgmarchi just wanted to add that the automated tests are failing against this branch for the same reason mentioned above by Phil. I have not seen this error presented in the latest runs of automation tests against dev or any other prs |
I pushed a commit to solve it. |
exclude: ["warp-wasm"], | ||
}, | ||
|
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.
do we need the empty line here?
@@ -604,15 +637,64 @@ export class VoiceRTC { | |||
return accepted | |||
} | |||
|
|||
/** |
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.
the code comments seems a bit extensive
So the talking indicator is working a lot better but we ran into some other issues when testing (Attempted with new accounts before testing pr, then verified on dev with the same accounts + new ones) Issue: Steps to reproduce:
Screen recordings: Branch.movDev branch DevBranch.mov |
I see that friend requests are working again within latest commit |
I pushed a commit that should solve that. |
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 like @phillsatellite and i tested and i was talking to phil audio was pretty high but on my user there was zero indicator on my user
there was on phil side though and on phil side when he spoke he mentioned he had a talking indicator on his user
So the problem is, when you are talking, no indicator appears to you for your user? |
that is correct |
Which browser? And is it private? |
chrome, macOS private browser yes |
Try on normal browser, I am not sure on private it should works nice. I did 3 tests now with @tooshel , worked all of them, including private browser too. More thoughts about it? Want to test with other users? |
we approved for now, maybe we can improve in the future |
What this PR does 📖
This pull request introduces several enhancements and bug fixes to the
src/lib/media/Voice.ts
file, including the addition of voice activity detection, improvements to relay server testing, and updates to audio handling. Additionally, there are updates to thepackage.json
andvite.config.js
files to support these changes.Voice Activity Detection:
voice-activity-detection
library to detect when a user is speaking and update the media state accordingly. [1] [2]Relay Server Testing:
Audio Handling:
Configuration Updates:
package.json
to include thevoice-activity-detection
library.vite.config.js
to includevoice-activity-detection
in optimized dependencies.Which issue(s) this PR fixes 🔨
Special notes for reviewers 🗒️
Additional comments 🎤