@livedesk/client 0.1.41 → 0.1.43

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.
@@ -782,6 +782,14 @@ function hasFastDll(runtime) {
782
782
  }
783
783
 
784
784
  function resolveBundledFfmpegPath() {
785
+ try {
786
+ const ffmpegPath = String(require('ffmpeg-static') || '').trim();
787
+ if (ffmpegPath && existsSync(ffmpegPath)) {
788
+ return ffmpegPath;
789
+ }
790
+ } catch {
791
+ }
792
+
785
793
  try {
786
794
  const ffmpeg = require('@ffmpeg-installer/ffmpeg');
787
795
  const ffmpegPath = String(ffmpeg?.path || '').trim();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livedesk/client",
3
- "version": "0.1.41",
3
+ "version": "0.1.43",
4
4
  "description": "LiveDesk local remote client",
5
5
  "type": "module",
6
6
  "bin": {
@@ -32,6 +32,7 @@
32
32
  "dependencies": {
33
33
  "@ffmpeg-installer/ffmpeg": "^1.1.0",
34
34
  "@supabase/supabase-js": "^2.110.0",
35
+ "ffmpeg-static": "^5.3.0",
35
36
  "node-screenshots": "^0.2.8",
36
37
  "openai": "^6.42.0"
37
38
  },