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

- Closes: #2576
This commit is contained in:
Dermot Duffy
2026-07-28 21:21:50 -07:00
committed by GitHub
parent 231e3087b7
commit 15b08db3e8
49 changed files with 1128 additions and 229 deletions
@@ -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' },
}),
);
});