scrypted-tuya 2.1.0 → 2.1.3

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,26 @@
1
1
  # Changelog
2
2
 
3
- ## 2.1.0
3
+ ## 2.1.3
4
+
5
+ - **Fix: Talkback 461 Unsupported Transport from Scrypted RTSP source**:
6
+ - Automatically inject `-rtsp_transport tcp` before `-i` whenever Scrypted media converter serves the intercom audio as a local RTSP stream (`rtsp://127.0.0.1:...`).
7
+ - FFmpeg defaults to UDP for RTSP, which caused Scrypted's internal RTSP server to reject playback with `method SETUP failed: 461 Unsupported Transport`, terminating the talkback session before sending any audio to RTMP.
8
+
9
+ ## 2.1.2
10
+
11
+ - **Bridge 2.1.1 Update / Audio Stream Resilience**:
12
+ - **Silence Generation Fallback**: Updated companion Tuya Camera Bridge with native PCMU silence injection when camera stream has no active audio track, preventing media player hangs and probe timeouts in Scrypted and HomeKit.
13
+ - **WebRTC Audio Fixes**: Resolved packet drops on reconnects and network jitter, ensuring stable audio delivery as soon as the camera starts sending audio frames.
14
+
15
+ ## 2.1.1
16
+
17
+ - **Fix: Talkback audio not reaching RTMP target (HomeKit intercom)**:
18
+ - 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.
19
+ - Removed broken `-probesize 32` argument (32 bytes is smaller than a minimal WAV header, causing FFmpeg to silently fail on stream detection).
20
+ - Removed manual `stdin` piping — `FFmpegInput.inputArguments` already encodes the correct `-i` source.
21
+ - Changed FFmpeg log level from `error` to `warning` so talkback failures are now visible in Scrypted device logs.
22
+ - Added diagnostic log lines: incoming `mimeType`, resolved RTMP target URL, and full FFmpeg argument list for easier future debugging.
23
+
4
24
 
5
25
  > [!WARNING]
6
26
  > ⚠️ **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.3",
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": {