mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 17:40:46 -04:00
promp and replay tweaks
This commit is contained in:
@@ -54,6 +54,11 @@ const replayBuilder = createReplayBuilder({
|
||||
});
|
||||
registerReplaySocketHooks({ tryTriggerReplay, validateSources, getDefaultWebSources });
|
||||
|
||||
async function buildReplayVideoFresh(options = {}) {
|
||||
await tick();
|
||||
return replayBuilder.buildReplayVideo(options);
|
||||
}
|
||||
|
||||
function getReplayHealthSnapshot() {
|
||||
return segmentStore.getReplayHealthSnapshot({ BUILD_DURATION_MS, roverManager, getRoomCameras });
|
||||
}
|
||||
@@ -98,7 +103,7 @@ start().catch((err) => {
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
buildReplayVideo: replayBuilder.buildReplayVideo,
|
||||
buildReplayVideo: buildReplayVideoFresh,
|
||||
tryTriggerReplay,
|
||||
getReplayState,
|
||||
replayEvents,
|
||||
|
||||
Reference in New Issue
Block a user