mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-16 13:08:52 +00:00
web/ffmpeg: define multithreading support outside of web worker context
there's no navigator.maxTouchPoints in web worker context, so previously there was no way to detect whether safari is running on ipad or not
This commit is contained in:
@@ -86,7 +86,7 @@ if (browser) {
|
||||
|
||||
// enable local processing by default everywhere but android chrome
|
||||
defaultLocalProcessing: !(device.is.android && device.browser.chrome),
|
||||
multithreading: !iOS || (iOS && iosVersion >= 18),
|
||||
multithreading: !iOS || iosVersion >= 18,
|
||||
};
|
||||
|
||||
device.userAgent = navigator.userAgent;
|
||||
|
||||
Reference in New Issue
Block a user