-
-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: audio stream #232
Comments
About two way audio. About one way audio. |
It seems like testing could be done by sending the audio stream buffer (from HomeKit) to a file then seeing if that audio file could play. Honestly I don't even know if the camera I'm looking at (unifi g3 micro) can play audio from anything but the official Unifi system. I currently only have cameras with one-way audio (camera to homekit) and it is working properly. |
Some interesting discussion about this here Way above my understanding but seems like it’s at least possible. |
Just for fun tonight I added a linked "Speaker" service to one of my 3 cameras. Interestingly it added a microphone icon in the Home app to all 3 of the cameras - even though they are each on their own bridge. Also interesting, when I enabled/disabled the little microphone icon it would trigger the audio stream from the camera microphone (same as the speaker icon would normally). I'd guess it all comes down with properly configuring the audio streams. Also seems like nobody else has spoken up asking for this so it's not something to spend time on at this point. Maybe if we ever get to version 2.0 😉 |
Closing - links are available to watch for future users/developers (future versions of ourselves?). |
I just scored a beta release unifi video doorbell. It's got two-way audio features. It should arrive in a week or so. I'll be working with everyone I can find to figure out the two way audio on it - I'm re-opening this issue to document my findings. @Shaquu - any chance we'll get a beta release with the new hap-nodejs video features sometime soon? I'm not actually sure what changed there but I'd like to work with the latest and greatest... |
I hope you get some progress with this. 2-way audio with security cameras and homebridge has been a problem for a few years now. |
Yes! Edit: |
Awesome, I'll be setting up a dev environment for this - my doorbell should arrive tomorrow. I'm also looking for help from this project, there are a couple of links there for a ring plugin that supports 2-way audio. The question will be how it works with my particular camera... I don't know where or how to send the audio, that's another place things may get difficult. |
I wanted to say that I will buy UniFi 2-way audio device to support you directly and then I have opened their site and saw that prices... Hah :) I will try to contact them anyway. |
There might be an option to export a rtsp url from UniFi Protext? What is the full name for the new Doorbell device? Also I will have to write some code to support new camera features available in hap-nodejs |
The doorbell device is currently in their "early access" program. It's not generally available at this point, still in their beta testing program. With that, there's very little out there about the device. It's the "UniFi Protect G4 Doorbell" - honestly the best information will likely be around reddit. I'll of course have much more information once I get it set up at my house, then I can really start fiddling. The RTSP URL is available in unifi protect. The unknown is where (and how) the ACC audio from Home app will need to be sent. |
Surely we will have to add support for different camera setups here. One for talk-back port. Also solution is here: Regarding the port. I think it is the port on camera (or some UniFi system) to receive audio. |
I’m planning to set up Wireshark today or tomorrow and watch what changes to/from the camera when I use the Unifi app. I’m hoping to make a discovery... I’m hoping to see a UDP encoded AAC stream... |
@crxporter when you are ready you can write on Discord for live support (https://discord.gg/H9CWzXv) |
I believe that audio support depends on device you are using. |
If I understand correctly, some cameras have two-way audio. This plugin should work for audio coming from a camera playing with the RTSP stream.
What about if I have a camera with a speaker? It should be section 9.102 of the homekit spec describing audio from a microphone to a speaker. I don't actually currently have a camera with two-way audio but I might add one later.
It would be fun to talk to my wife and kids over the homekit camera!
Are others interested in this? Is this something that could be added sometime? Does it already work if we set up the right services?
Please don't rush anything, just wondering if it's part of hap node js.
The text was updated successfully, but these errors were encountered: