dsh-watch-together 0.2.12 → 0.2.13
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 +64 -0
- package/README.md +41 -5
- package/docs/VOICE.zh.md +44 -0
- package/dsh.plugin.json +12 -12
- package/examples/floating-chat/glass_capture.py +362 -341
- package/examples/floating-chat/glass_gpu.py +1 -1
- package/examples/floating-chat/window.py +1387 -1215
- package/examples/floating-chat/window_widgets.py +6 -3
- package/examples/voice-edge-tts/index.mjs +77 -7
- package/examples/voice-edge-tts/stream/client.mjs +8 -0
- package/examples/voice-edge-tts/stream/daemon.py +30 -0
- package/package.json +118 -118
- package/scripts/check-multimonitor.py +102 -0
- package/src/companion-api.js +88 -0
- package/src/playhead.js +75 -0
- package/src/public-api.js +7 -0
- package/src/voice-adapter.js +8 -1
- package/src/voice.js +9 -0
- package/src/watch-loop.js +26 -0
|
@@ -380,7 +380,7 @@ class GpuRenderer:
|
|
|
380
380
|
return None
|
|
381
381
|
gw, gh = shot.shot.size
|
|
382
382
|
raw = np.frombuffer(shot.shot.bgra, dtype=np.uint8).reshape(gh, gw, 4)
|
|
383
|
-
if source.cappable:
|
|
383
|
+
if source.cappable and not source.solid:
|
|
384
384
|
# 录屏模式下必须挖掉自己,否则背景里永远有本窗口 → moved 恒真 →
|
|
385
385
|
# 静态跳帧一次都不触发,还会自我反馈出拖尾。CPU 路径在
|
|
386
386
|
# CaptureSource.to_image() 里做,GPU 直接吃 bgra,得在这里补上。
|