-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
2 Way Audio Question #162
Comments
I don't know how you plan to use HTTP API. Because 2 way audio uses RTP packets with a specific audio codec. I just forward this packets to camera. WebRTC technology can generate this packets from user microphone out of box. I can implement this packets on RTSP server (8554 port). But don't know software, that can use this technology. |
This software generates an audio stream using ffmpeg an can stream it to rtsp: https://github.com/Sunoo/homebridge-camera-ffmpeg Unfortunately, ffmpeg uses RTSP RECORD, which my camera rejects and there is no way of changing that. This is why I thought I could use a go2rtc stream for that. |
I had experiments on how to send sound from ffmpeg to the camera. This is not hard to do for a file on disk or for an audio stream. But I don't understand how to do this for audio from the microphone of any device. #57 I saw the homebridge project. I don't want to make a solution that a couple of geeks can setup. I want thousands of ordinary people to be able to use it. And to do that, it needs to be easy. |
Got that point. Great work! |
Now go2rtc support HomeKit to RTSP/WebRTC. I plan to add support for 2 way audio for Apple Home app. But haven't dealt with it yet. In the future I plan to add support RTSP/WebRTC to HomeKit. Also with 2 way audio if it will be possible. |
Sounds good. I will close my question. I believe that a preliminary step is to offer the audio backchannel as rtsp stream or as a http post interface instead of webRTC. |
|
At the moment. |
Curious if two-way audio via homekit is still on the cards @AlexxIT? |
Oh. It's been almost two years. This is a medium priority task at the moment. But there are a huge number of high-priority tasks. |
I can recommend scrypted.app for that Feature. |
Hi,
thanks a lot for this great project and your support. Two way audio works great when using webRTC. Now, I am trying to integrate this in HomeKit. For that reason I either need an HTTP Input for the audio back channel or a specific rtsp stream (only used for audio back channel). Is there an either a HTTP or RTSP API where I can stream the audio to?
BR,
Kolja
The text was updated successfully, but these errors were encountered: