fix: Clear stale media unavailable errors when a camera recovers (#2627)

- Closes: #2576
This commit is contained in:
Dermot Duffy authored and GitHub committed 2026-07-28 21:21:50 -07:00
1 parent 231e3087b7
commit 15b08db3e8
49 files changed
+1128 -229

No files matched your search

@@ -19,11 +19,11 @@ it('should forward the reason and detail as the event detail', () => {
dispatchLiveErrorEvent(element, {
reason: 'unsupported',
detail: 'Codec not supported',
description: 'Codec not supported',
});
expect(handler).toHaveBeenCalledWith(
expect.objectContaining({
detail: { reason: 'unsupported', detail: 'Codec not supported' },
detail: { reason: 'unsupported', description: 'Codec not supported' },
}),
);
});