sahilchaddha / homebridge-dafang

Homebridge Plugin for Xiaomi Dafang / Wyze Cam IP Camera => Hey Siri, Start Video Recording
MIT License
204 stars 34 forks source link

Two way audio #67

Open roboterm opened 3 years ago

roboterm commented 3 years ago

Since homebridge-camera-ffmpeg supports two way audio since v3.0.0 (https://github.com/Sunoo/homebridge-camera-ffmpeg/releases/tag/v3.0.0) it would be great to have that feature integrated into homebridge-dafang too

sahilchaddha commented 3 years ago

@roboterm I was unable to find a way to play audio stream over the network on Dafang Speaker. For now, i guess only single wav file can be played from local sd card of the Dafang. I guess there could be some workaround to record chunked wav files on homebridge and then transfer those files to dafang via API and store on sd card and then play those wav files. It will have quite high latency and error rate making it more like Walkie Talkie rather than real time.

sahilchaddha commented 3 years ago

I already have a working Walkie-Talkie like solution if you want to try. Its quite buggy yet though.