Increase retry frequency
This commit is contained in:
parent
d38cdee8da
commit
678aa186ea
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ export function AudioControl({
|
||||||
const recover = () => {
|
const recover = () => {
|
||||||
if (!soundOn) return;
|
if (!soundOn) return;
|
||||||
onStall();
|
onStall();
|
||||||
audio.play().catch(() => setTimeout(recover, 1000));
|
audio.play().catch(() => setTimeout(recover, 50));
|
||||||
};
|
};
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Reference in a new issue