fix: add safety timeout in stopRecording, extract reset() helper
- extract reset() to ensure clean state in all exit paths - add 5s timeout guard so UI never stays stuck on 'Saving' - improve error messages for empty frames and save failures
This commit is contained in:
File diff suppressed because one or more lines are too long
Vendored
+1
-1
@@ -5,7 +5,7 @@
|
||||
<link rel="icon" href="/favicon.ico">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>MJPEG Stream Viewer</title>
|
||||
<script type="module" crossorigin src="/assets/index-C5dzEsTl.js"></script>
|
||||
<script type="module" crossorigin src="/assets/index-D4W4a1Z1.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/assets/index-DuJPD2XK.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
Reference in New Issue
Block a user