Skip to content

Conversation

@SystemKeeper
Copy link
Contributor

☑️ Resolves

Until now we don't support call sounds on Safari. This has 2 reasons:

  • Safari does not support .ogg
  • Safari does only allow to play sounds if this is due to a user interaction

To solve the first issue we also provide FLAC files for the sounds which are working fine on Safari. To solve the second issue we create the audio object when we press the start call button. As this is done inside of a click event handler, the audio objects are free to play at any time.
While this approach in theory also works iOS, it does not work anymore as soon as you grant camera and microphone permissions there - so we keep the note about it not being supported on those devices.

Follow-up to #5410
Tested on

  • Safari 16.3
  • Chrome 112
  • Firefox 112

🏁 Checklist

@author Marco Ambrosini ([email protected])
@license CC0-1.0

## join_call.flac
Copy link
Member

Choose a reason for hiding this comment

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

you add 3 files but only 2 licenses?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We did not specify a license for LibremPhoneCall.ogg before, so I did not add it for the FLAC version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@marcoambrosini any idea about the third license ?

Copy link
Member

Choose a reason for hiding this comment

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

No, that file was already there when I added the join and leave call sounds.

@nickvergessen nickvergessen added this to the 💜 Next Major (28) milestone May 9, 2023
Copy link
Member

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

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

tested and works

Copy link
Member

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

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

tested and works

Copy link
Member

@marcoambrosini marcoambrosini left a comment

Choose a reason for hiding this comment

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

tested and works

Signed-off-by: Marcel Müller <[email protected]>
@SystemKeeper SystemKeeper force-pushed the bugfix/noid/support-call-sounds-on-safari branch from c2fa67c to 45ddc6c Compare June 26, 2023 11:51
@SystemKeeper SystemKeeper force-pushed the bugfix/noid/support-call-sounds-on-safari branch from 45ddc6c to acf5f2e Compare June 26, 2023 11:57
@SystemKeeper
Copy link
Contributor Author

@nickvergessen Should this be backported?

@nickvergessen
Copy link
Member

I think it would be quite a surprise for most users in a patch release. We can of course bump the minor version to indicate something a like, but otherwise I'm also fine with not backporting

@SystemKeeper SystemKeeper merged commit 3337b10 into master Jun 26, 2023
@SystemKeeper SystemKeeper deleted the bugfix/noid/support-call-sounds-on-safari branch June 26, 2023 16:09
@SystemKeeper
Copy link
Contributor Author

/backport to stable27

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.

4 participants