mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-18 02:20:47 -04:00
wuh
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -11,7 +11,7 @@
|
|||||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
|
||||||
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
<meta name="apple-mobile-web-app-title" content="Multi Roomba Rover" />
|
||||||
<title>Multi Roomba Rover</title>
|
<title>Multi Roomba Rover</title>
|
||||||
<script type="module" crossorigin src="/assets/index-B-zhHWLf.js"></script>
|
<script type="module" crossorigin src="/assets/index-Bqpg29IV.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/index-Bz1ixYh7.css">
|
<link rel="stylesheet" crossorigin href="/assets/index-Bz1ixYh7.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -323,6 +323,7 @@ export default function VideoTile({
|
|||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
const unlock = () => {
|
const unlock = () => {
|
||||||
|
if (audioContextRef.current?.state === 'running') return;
|
||||||
logAudio('unlock/gesture');
|
logAudio('unlock/gesture');
|
||||||
forceUnlockCompressorAudio();
|
forceUnlockCompressorAudio();
|
||||||
};
|
};
|
||||||
@@ -586,7 +587,7 @@ export default function VideoTile({
|
|||||||
target.play().then(() => logAudio('audio/play-ok')).catch((err) => logAudio('audio/play-fail', { error: err?.message }));
|
target.play().then(() => logAudio('audio/play-ok')).catch((err) => logAudio('audio/play-fail', { error: err?.message }));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (['error', 'failed', 'disconnected', 'closed'].includes(nextStatus)) {
|
if (['error', 'failed'].includes(nextStatus)) {
|
||||||
scheduleAudioRestart();
|
scheduleAudioRestart();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user