fix: Clear stale media unavailable errors when a camera recovers (#2627)
- Closes: #2576
This commit is contained in:
1 parent
231e3087b7
commit
15b08db3e8
49 files changed
+1128
-229
No files matched your search
+1
-1
@@ -47,7 +47,7 @@ describe('ImageSurfaceController', () => {
|
||||
|
||||
it('should have liveness when given liveness options', () => {
|
||||
const controller = new ImageSurfaceController(createLitElement(), () => null, {
|
||||
livenessOptions: { isFrameExpected: () => true, stallWindowSeconds: 10 },
|
||||
livenessOptions: { isFrameExpected: () => true, getStallAfterSeconds: () => 10 },
|
||||
});
|
||||
|
||||
expect(controller.getMediaPlayer().subscribeLiveness).toBeDefined();
|
||||
|
||||
Reference in new issue
Block a user