@livedesk/client 0.1.67 → 0.1.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/livedesk-client.js +20 -8
- package/fast/linux-x64/livedesk-client-fast.dll +0 -0
- package/fast/linux-x64/livedesk-client-fast.pdb +0 -0
- package/fast/osx-arm64/livedesk-client-fast.dll +0 -0
- package/fast/osx-arm64/livedesk-client-fast.pdb +0 -0
- package/fast/osx-x64/livedesk-client-fast.dll +0 -0
- package/fast/osx-x64/livedesk-client-fast.pdb +0 -0
- package/fast/win-x64/livedesk-client-fast.dll +0 -0
- package/fast/win-x64/livedesk-client-fast.pdb +0 -0
- package/package.json +1 -1
package/bin/livedesk-client.js
CHANGED
|
@@ -2491,15 +2491,27 @@ function resolveBundledFfmpegPaths() {
|
|
|
2491
2491
|
}
|
|
2492
2492
|
};
|
|
2493
2493
|
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2494
|
+
const addFfmpegInstaller = () => {
|
|
2495
|
+
try {
|
|
2496
|
+
const ffmpeg = require('@ffmpeg-installer/ffmpeg');
|
|
2497
|
+
addPath(ffmpeg?.path);
|
|
2498
|
+
} catch {
|
|
2499
|
+
}
|
|
2500
|
+
};
|
|
2499
2501
|
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2502
|
+
const addFfmpegStatic = () => {
|
|
2503
|
+
try {
|
|
2504
|
+
addPath(require('ffmpeg-static'));
|
|
2505
|
+
} catch {
|
|
2506
|
+
}
|
|
2507
|
+
};
|
|
2508
|
+
|
|
2509
|
+
if (process.platform === 'darwin') {
|
|
2510
|
+
addFfmpegStatic();
|
|
2511
|
+
addFfmpegInstaller();
|
|
2512
|
+
} else {
|
|
2513
|
+
addFfmpegInstaller();
|
|
2514
|
+
addFfmpegStatic();
|
|
2503
2515
|
}
|
|
2504
2516
|
|
|
2505
2517
|
return paths;
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|