Fix MSE2 check in JS
This commit is contained in:
+2
-2
@@ -315,8 +315,8 @@ class VideoRTC extends HTMLElement {
|
|||||||
}, delay);
|
}, delay);
|
||||||
});
|
});
|
||||||
|
|
||||||
if ("MediaSource" in window && this.MSE2) {
|
if ("MediaSource" in window) {
|
||||||
if (MediaSource.canConstructInDedicatedWorker) {
|
if (MediaSource.canConstructInDedicatedWorker && this.MSE2) {
|
||||||
this.internalMSE2();
|
this.internalMSE2();
|
||||||
} else {
|
} else {
|
||||||
this.internalMSE();
|
this.internalMSE();
|
||||||
|
|||||||
Reference in New Issue
Block a user