scrypted-tuya 2.1.0 → 2.1.1

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/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 2.1.0
3
+ ## 2.1.1
4
+
5
+ - **Fix: Talkback audio not reaching RTMP target (HomeKit intercom)**:
6
+ - Replaced the `audio/x-wav` pipe-based approach with `ScryptedMimeTypes.FFmpegInput` conversion (same pattern used by the eufy-security Scrypted plugin). Scrypted now provides native FFmpeg input arguments directly, correctly handling whatever format HomeKit delivers (typically AAC) without an unnecessary WAV transcode hop.
7
+ - Removed broken `-probesize 32` argument (32 bytes is smaller than a minimal WAV header, causing FFmpeg to silently fail on stream detection).
8
+ - Removed manual `stdin` piping — `FFmpegInput.inputArguments` already encodes the correct `-i` source.
9
+ - Changed FFmpeg log level from `error` to `warning` so talkback failures are now visible in Scrypted device logs.
10
+ - Added diagnostic log lines: incoming `mimeType`, resolved RTMP target URL, and full FFmpeg argument list for easier future debugging.
11
+
4
12
 
5
13
  > [!WARNING]
6
14
  > ⚠️ **Experimental Feature / Work in Progress**:
package/dist/plugin.zip CHANGED
Binary file
package/package.json CHANGED
@@ -42,7 +42,7 @@
42
42
  "@types/qrcode-svg": "^1.1.5",
43
43
  "@types/ws": "^8.18.0"
44
44
  },
45
- "version": "2.1.0",
45
+ "version": "2.1.1",
46
46
  "packageManager": "npm@10.9.2+sha512.8ab88f10f224a0c614cb717a7f7c30499014f77134120e9c1f0211ea3cf3397592cbe483feb38e0c4b3be1c54e347292c76a1b5edb94a3289d5448484ab8ac81",
47
47
  "description": "Unofficial standalone Scrypted Tuya plugin with maximum advertised camera quality selection and Smart Life P2P bridge integration.",
48
48
  "repository": {