mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
Improve talk sounds
Signed-off-by: marco <marcoambrosini@pm.me>
This commit is contained in:
parent
9618abc42a
commit
de4cc931c0
4 changed files with 10 additions and 3 deletions
7
img/COPYING
Normal file
7
img/COPYING
Normal 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
BIN
img/join_call.ogg
Normal file
Binary file not shown.
BIN
img/leave_call.ogg
Normal file
BIN
img/leave_call.ogg
Normal file
Binary file not shown.
|
|
@ -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…
Add table
Reference in a new issue