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

feat: Ability to set video conf ringing/dialing volume #34926

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

rique223
Copy link
Contributor

@rique223 rique223 commented Jan 9, 2025

Proposed changes (including videos or screenshots)

Integrated the VOIP call ringer volume setting from the user preferences page into Video conf, now both the dialing and ringing audio follow this setting, call ringer volume is relative to master volume so changing the master volume will also affect video conf/VOIP volumes.
Demo video (play it from beginning):
https://www.loom.com/share/4ed189c1bc6649e1bc506bec2bb22fb2

New call ringer volume copy:
image

Issue(s)

Steps to test or reproduce

Further comments

Jira task: CONN-466

Fixed a bug in the volume control logic where setting a volume to 0 would incorrectly reset it to 100. This happened because the original code used the logical OR operator (||), which treats 0 as a falsy value. The fix replaces || with the nullish coalescing operator (??), which only falls back to the default value when the input is null or undefined, not when it's 0.
Copy link
Contributor

dionisio-bot bot commented Jan 9, 2025

Looks like this PR is not ready to merge, because of the following issues:

  • This PR is missing the 'stat: QA assured' label
  • This PR is missing the required milestone or project

Please fix the issues and try again

If you have any trouble, please check the PR guidelines

Copy link
Contributor

github-actions bot commented Jan 9, 2025

PR Preview Action v1.6.0

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

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

@rique223 rique223 changed the title feat: Integrate call ringer volume with video conf ringing/dialing feat: Ability to set video conf ringing/dialing volume Jan 10, 2025
Copy link

changeset-bot bot commented Jan 13, 2025

🦋 Changeset detected

Latest commit: 4600c1f

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

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

Copy link

codecov bot commented Jan 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 59.18%. Comparing base (bfa92f4) to head (4600c1f).
Report is 7 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #34926      +/-   ##
===========================================
- Coverage    59.18%   59.18%   -0.01%     
===========================================
  Files         2821     2821              
  Lines        68141    68137       -4     
  Branches     15154    15154              
===========================================
- Hits         40327    40324       -3     
+ Misses       24979    24978       -1     
  Partials      2835     2835              
Flag Coverage Δ
unit 74.99% <ø> (ø)

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

@rique223 rique223 force-pushed the feat/videoconf-volume-control branch from 55b63ff to 2909c05 Compare January 13, 2025 20:34
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