Диагностика запуска live-камеры в интерфейсе
This commit is contained in:
@@ -203,6 +203,24 @@ test("live camera registers sourceopen before assigning the MSE object URL", asy
|
||||
);
|
||||
});
|
||||
|
||||
test("live camera reports each browser startup boundary without device actions", async () => {
|
||||
const source = await readFile(
|
||||
new URL("../src/components/MseFmp4WebSocketPlayer.tsx", import.meta.url),
|
||||
"utf8",
|
||||
);
|
||||
for (const eventCode of [
|
||||
"live_camera_player_effect_started",
|
||||
"live_camera_playback_authority_missing",
|
||||
"live_camera_media_source_open",
|
||||
"live_camera_websocket_open",
|
||||
]) {
|
||||
assert.ok(
|
||||
source.includes(`eventCode: "${eventCode}"`),
|
||||
`missing bounded player diagnostic ${eventCode}`,
|
||||
);
|
||||
}
|
||||
});
|
||||
|
||||
test("recorded observation timeline clamps relative seek time without epoch precision in the UI", () => {
|
||||
const range = normalizeTimelineRange({
|
||||
min: 0,
|
||||
|
||||
Reference in New Issue
Block a user