Browse Source

Improve talk sounds

Signed-off-by: marco <marcoambrosini@pm.me>
pull/6713/head
marco 4 years ago
parent
commit
de4cc931c0
  1. 7
      img/COPYING
  2. BIN
      img/join_call.ogg
  3. BIN
      img/leave_call.ogg
  4. 6
      src/utils/sounds.js

7
img/COPYING

@ -0,0 +1,7 @@
## join_call.ogg
@author Marco Ambrosini (marcoambrosini@pm.me)
@license CC0-1.0
## leave_call.ogg
@author Marco Ambrosini (marcoambrosini@pm.me)
@license CC0-1.0

BIN
img/join_call.ogg

BIN
img/leave_call.ogg

6
src/utils/sounds.js

@ -22,7 +22,7 @@ import { generateFilePath } from '@nextcloud/router'
import store from '../store'
export const Sounds = {
BLOCK_SOUND_TIMEOUT: 5000,
BLOCK_SOUND_TIMEOUT: 3000,
isInCall: false,
lastPlayedJoin: 0,
@ -101,7 +101,7 @@ export const Sounds = {
if (playWaitingSound) {
await this.playWaiting()
} else {
this._playSounceOnce('LibremEmailNotification.ogg')
this._playSounceOnce('join_call.wav')
}
},
@ -132,7 +132,7 @@ export const Sounds = {
}
this.lastPlayedLeave = currentTime
this._playSounceOnce('LibremTextMessage.ogg')
this._playSounceOnce('leave_call.wav')
if (playWaitingSound) {
this.playWaiting()

Loading…
Cancel
Save