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(sounds): play call notification sound on second output device #1974

Merged
merged 4 commits into from
Jul 24, 2024

Conversation

Antreesy
Copy link
Collaborator

@Antreesy Antreesy commented Jul 10, 2024

Changes

User settings -> Notifications

Normal browser Safari
image image

TODO

  • If secondary is the same as default, sound will be echoed (because played twice). We can not check if it's the same output or not (default is '', selected by us always has an id) - added an attempt to compare primary and secondary devices
  • Add storage reset
  • Add note for Safari (not supported)
  • Request permissions on audio devices and stop tracking them after receiving
  • Add user documentation
  • Test on:
    • Chrome
    • Firefox
    • Edge (with Grigorii(
    • Safari - does not enumerate output devices, therefore missing this feature
  • Replicate to Talk Desktop
  • Backport to stable29?

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy Antreesy force-pushed the feat/871/call-sound-second-device branch from 399555b to ae10fd5 Compare July 24, 2024 13:33
@Antreesy Antreesy requested a review from ShGKme July 24, 2024 13:34
…e to ring when call notification arrives

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
@Antreesy Antreesy force-pushed the feat/871/call-sound-second-device branch from f5fc8ce to a4340e8 Compare July 24, 2024 15:53
@Antreesy

This comment was marked as outdated.

@Antreesy Antreesy marked this pull request as ready for review July 24, 2024 15:56
@Antreesy

This comment was marked as outdated.

Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

Can't judge the code, but seems to work

@nickvergessen
Copy link
Member

/compile amend /

@nickvergessen
Copy link
Member

/compile /

@nickvergessen
Copy link
Member

/compile amend /

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the feat/871/call-sound-second-device branch from 4014d4d to 0f470b2 Compare July 24, 2024 19:00
@nickvergessen nickvergessen merged commit f233a2a into master Jul 24, 2024
37 checks passed
@nickvergessen nickvergessen deleted the feat/871/call-sound-second-device branch July 24, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants