Skip to content

Commit 2e5391f

Browse files
committed
Deactivate video encoding on stable for broken Firefox
1 parent 25b040a commit 2e5391f

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/avinterface.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,16 @@ export class AVInterface {
630630
supported.videoin = false
631631
supported.screencastin = false
632632
}
633+
if (
634+
navigator.userAgent.includes('Firefox') &&
635+
!window.location.pathname.includes('experimental') // support it on the experimental branch
636+
) {
637+
console.log(
638+
'VideoEncoder is broken on Firefox at least on windows! Deactivate!'
639+
)
640+
supported.videoin = false
641+
supported.screencastin = false
642+
}
633643
return supported
634644
}
635645

0 commit comments

Comments
 (0)