koush / scrypted

Scrypted is a high performance video integration and automation platform
https://scrypted.app
Other
3.95k stars 238 forks source link

Unifi G4 Doorbell Pro - there is no echo cancellation #1367

Closed fredck closed 4 months ago

fredck commented 4 months ago

Describe the bug When speaking through a G4 Doorbell Pro, I can hear my own voice echoing back, which should not occur.

To Reproduce Steps to reproduce the behavior:

  1. Add a G4 Doorbell Pro camera using the UniFi Protect plugin.
  2. Select the camera in the "Devices" list.
  3. Click the camera preview to open the live stream.
  4. Click the microphone icon to enable speaking through the doorbell.
  5. Speak.

Expected behavior I should not hear my voice echoing back. It should just be audible at the doorbell device itself.

Server (please complete the following information):

Hardware Model (please complete the following information):

Client (please complete the following information, if applicable):

Additional context This issue does not occur when using UniFi Protect directly.

The choice to use Scrypted over go2rtc is primarily due to its support for 2-way audio with UniFi devices. However, the echo problem significantly lowers the perceived quality of this solution.

I plan to purchase the NVR plugin primarily for its Home Assistant cards integration (I do not intend to use the NVR recording feature since I already have it in UniFi). I assume the integration in Home Assistant will be similar to what is seen directly in Scrypted (as described in step 3 of the reproduction steps) so I'm using that to evaluate the functionality of the Home Assistant card.