Improve talk sounds

Signed-off-by: marco <marcoambrosini@pm.me>
This commit is contained in:
marco 2021-12-14 22:17:39 +01:00
parent 9618abc42a
commit de4cc931c0
4 changed files with 10 additions and 3 deletions

7
img/COPYING Normal file
View file

@ -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 Normal file

Binary file not shown.

BIN
img/leave_call.ogg Normal file

Binary file not shown.

View file

@ -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()