add headers
This commit is contained in:
@@ -1,3 +1,14 @@
|
||||
const isMTSupported = typeof SharedArrayBuffer !== "undefined";
|
||||
const isIsolated = window.crossOriginIsolated;
|
||||
|
||||
if (FFMPEG_TYPE === "mt" && !isMTSupported) {
|
||||
console.warn("SharedArrayBuffer not available, skipping MT tests");
|
||||
}
|
||||
|
||||
if (FFMPEG_TYPE === "mt" && !isIsolated) {
|
||||
console.warn("Cross-origin isolation not available, skipping MT tests");
|
||||
}
|
||||
|
||||
let core;
|
||||
|
||||
const genName = (name) => `[ffmpeg-core][${FFMPEG_TYPE}] ${name}`;
|
||||
|
||||
Reference in New Issue
Block a user