Skip to content

Comments

fix: VoIP calls one-way audio issues#35420

Merged
ggazzo merged 6 commits intodevelopfrom
fix/voip-team-collab-one-way-audio
Mar 13, 2025
Merged

fix: VoIP calls one-way audio issues#35420
ggazzo merged 6 commits intodevelopfrom
fix/voip-team-collab-one-way-audio

Conversation

@pierre-lehnen-rc
Copy link
Contributor

@pierre-lehnen-rc pierre-lehnen-rc commented Mar 7, 2025

Proposed changes (including videos or screenshots)

Issue(s)

CORE-1026

Steps to test or reproduce

Further comments

To prevent react from destroying the audio element that is playing a call's audio, a workaround was made to pass this element as reference to the voip client, but in some situations the element was not passed at all and the voipclient had nothing to play the audio on.

I've changed the VoIPProvider to replace the ref with a callback which automatically updates the element whenever it is available.

@dionisio-bot
Copy link
Contributor

dionisio-bot bot commented Mar 7, 2025

Looks like this PR is ready to merge! 🎉
If you have any trouble, please check the PR guidelines

@changeset-bot
Copy link

changeset-bot bot commented Mar 7, 2025

🦋 Changeset detected

Latest commit: eacf1ad

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 35 packages
Name Type
@rocket.chat/ui-voip Patch
@rocket.chat/meteor Patch
@rocket.chat/core-typings Patch
@rocket.chat/rest-typings Patch
@rocket.chat/uikit-playground Patch
@rocket.chat/api-client Patch
@rocket.chat/apps Patch
@rocket.chat/core-services Patch
@rocket.chat/cron Patch
@rocket.chat/ddp-client Patch
@rocket.chat/freeswitch Patch
@rocket.chat/fuselage-ui-kit Patch
@rocket.chat/gazzodown Patch
@rocket.chat/livechat Patch
@rocket.chat/model-typings Patch
@rocket.chat/ui-contexts Patch
@rocket.chat/account-service Patch
@rocket.chat/authorization-service Patch
@rocket.chat/ddp-streamer Patch
@rocket.chat/omnichannel-transcript Patch
@rocket.chat/presence-service Patch
@rocket.chat/queue-worker Patch
@rocket.chat/stream-hub-service Patch
@rocket.chat/license Patch
@rocket.chat/omnichannel-services Patch
@rocket.chat/pdf-worker Patch
@rocket.chat/presence Patch
rocketchat-services Patch
@rocket.chat/models Patch
@rocket.chat/network-broker Patch
@rocket.chat/ui-avatar Patch
@rocket.chat/ui-client Patch
@rocket.chat/ui-video-conf Patch
@rocket.chat/web-ui-registration Patch
@rocket.chat/instance-status Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2025

PR Preview Action v1.6.0

🚀 View preview at
https://RocketChat.github.io/Rocket.Chat/pr-preview/pr-35420/

Built to branch gh-pages at 2025-03-13 17:59 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@codecov
Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.67%. Comparing base (a68cef2) to head (eacf1ad).
Report is 4 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #35420      +/-   ##
===========================================
+ Coverage    59.64%   59.67%   +0.03%     
===========================================
  Files         2827     2828       +1     
  Lines        68477    68730     +253     
  Branches     15178    15225      +47     
===========================================
+ Hits         40840    41016     +176     
- Misses       24989    25055      +66     
- Partials      2648     2659      +11     
Flag Coverage Δ
unit 75.87% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@pierre-lehnen-rc pierre-lehnen-rc marked this pull request as ready for review March 10, 2025 20:39
@aleksandernsilva aleksandernsilva added this to the 7.5.0 milestone Mar 12, 2025
@aleksandernsilva aleksandernsilva added the stat: QA assured Means it has been tested and approved by a company insider label Mar 12, 2025
@dionisio-bot dionisio-bot bot added the stat: ready to merge PR tested and approved waiting for merge label Mar 12, 2025
@ggazzo ggazzo merged commit 21f413d into develop Mar 13, 2025
8 of 9 checks passed
@ggazzo ggazzo deleted the fix/voip-team-collab-one-way-audio branch March 13, 2025 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

stat: QA assured Means it has been tested and approved by a company insider stat: ready to merge PR tested and approved waiting for merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants