-
Notifications
You must be signed in to change notification settings - Fork 177
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
Two way audio #243
Comments
I would definitely pay for that :) |
Yes, latest android app (beta) supports now microphone and speaker |
Technically this *may" be feasible, but it would likely depend on the method of backend audio. Either ONVIF 2-way would be assumed, or something like SIP would have to be used. Currently Home assistant is not aware of the audio sink, so it would have to be configured entirely in the component. |
Mine cameras are based on ISAPI, to start twoway audio, i need to send 2 commands (no onvif) would be a great feature, so we can chat with the HA app :-) |
WebRTC is also limited in supported codecs, which is why audio on some cameras doesn't work. This won't be an easy change to get it to work on devices that support 2way audio. |
Is it worth a try? Would be great!! |
I have a trace how Synology is doing it, they just send 2 command to active the two-way audio |
RTSP is spec for camera stream translation. There is no spec for two way audio. Each company use their own tech. Usual it's some kind of P2P. |
yeah, mine does work with sending 2 commands, do you think its easy to integrate? |
@danielducu I don't think you understand the difficulty here.
|
If we rely on standards-based cameras, it could work though. ONVIF Profile T: Chapter 8.12 Audio Output streaming: https://www.onvif.org/wp-content/uploads/2018/09/ONVIF_Profile_T_Specification_v1-0.pdf Video doorbell cameras mostly rely on two-way audio negotiated via SIP. Solutions for propriertary vendor solutions could be doable. Example neolink for Reolink cameras: thirtythreeforty/neolink#268 Concerning ISAPI I only found this: https://www.hikvision.com/content/dam/hikvision/vn/webinar/Thang3_Hikvision_Tich_Hop_He_Thong_Overview-of-3rd-Party-Integration.pdf |
I have the Hikvision, and also all ISAPI documentations, so if i can help |
The Amcrest AD410 Doorbell supports ONVIF Profile T for 2-way audio. The Dahua integration for Home Assistant hasn't been able to get it working yet but the dream would be WebRTC with 2 way audio, could finally get rid of the garbage Amcrest app |
Do you know software for any OS, that can use ONVIF Profile T for 2 way audio connection? |
@AlexxIT I found this out via Reddit: https://www.reddit.com/r/BlueIris/comments/lpkt8z/achieved_local_doorbell_with_2_way_audio/ |
Seems like support backchannel in RTSP is not a big problem. Now I need to find some chip camera with this function in a local store. |
I'm wrote little app for test camera answer about backchannel. Can you test it? |
That's a test for onvif? I have some foscam C1 cameras that have two way audio, maybe I can test too |
That test for any RTSP camera with 2 way audio. I'm already tested Sonoff camera and one Hikvision doorbell without success about backchannel in answer. |
Indeed ,I have hikvision too, for hikvision you need to send an ISAPI command to activate two way audio, I have the commands , also a wireshark trace from my Synology surveillance centre, where two-way audio is supported |
As I can see in this document - application just need to send right header with RTSP request. Can you see it in trace? |
No , Synology uses ISAPI on hikvision doorbell cameras , not rtsp , also onvif not supported, it's not the correct profile... |
Will try tomorrow when I have access to the AD410 camera |
Hey @AlexxIT , these 2 commands are fired with digest auth, thats what happens when i press the MIC button on the synology software.... |
I can test in the next day or two, how do I execute the rtsplog_amd64 file on Debian? |
@pergolafabio For now I don't have time for support some proprietary technology. RTSP backchannel looks like nice standard. Which are not hard to support. But I can't find any cameras that support it yet. |
Ok, np... And what about onvif? |
As I can understand, ONVIF just helps application to get right RTSP link. Plus some PTZ commands. I could be wrong. |
No. I don't have any camera that support ONVIF. Hope Dahua IPC-K42/22 will be first. But I can't order it without backchannel confirmation. |
Going to try again later, I changed my rtsp port , going to change back to 554 |
Well. Good news. I just bought Dahua IPC-K42 (wi-fi version). And it has RTSP backchannel. |
Nice to hear, maybe my foscams will work too :-) |
Nice, gonna check foscam too |
was testing this go2rtc, when i open web interface , i can access the cameras and view then in the addon web-ui |
Oh. You shouldn't forward RTSP port outside. Also you shouldn't forward API port, because this is insecure. Anyone can see your streams without auth... |
yeah, it was just for testing, already closed |
This is your setup problem. I have HTTPS inside and outside. This is fixed by Hairpin NAT or local DNS on router... |
ok, will have a look next time |
Also microphone will work on localhost. You can run go2rtc on your PC/laptop for tests. Maybe some browsers has disable flag for this restriction. I don't know. |
seems defender is blocking the binary :-) |
Trojan:Win32/Trickbot!ml :-) |
ok, with binary it works, tested some rtsp , but no "mic" buton is present, so probably out of luck |
False virus detection because packer: There is no warnings for unpacked version. But it is 15MB+. And stop generate so many separate messages. |
Is there any update on this? Cause i really like to see this feature 😀. |
I think this can finally become a thing now that the integration leverages go2rtc. :) |
Not much, you can only do it with Onvif profile T cameras so not much people will benefit |
It is important that go2rtc has a core to support 2 way audio. I will try to add support to the HomeKit cameras. There are a lot of those cameras. And many of them have 2 way audio. And the protocol is quite clear. Only the audio codec there is very bad. Thank to Apple. |
Thanks a lot for your work man! don't get me wrong.. I'm a happy go2rtc user hehe ... this has come a long way so please, keep up the good work hehe ! |
You're awesome! :) |
That's already enough. I hope support for profile T gets someday added to OpenIPC thus anyone with any camera can benefit. |
Hi there! Maybe you find my new project useful: https://github.com/nanosonde/sip2rtsp It is docker container that uses baresip, pulseaudio and gstreamer RTSP server to provide a solution that connects to a SIP peer (audio only) and a video camera to present an ONVIF profile T video doorbell with two-way audio support. There is also a block diagram which shows how the components interact. |
thnx!! |
Is two way audio possible with eufy pan tilt 2k? |
Hi @AlexxIT
Just a question, but is there a possibility to have two way audio enabled?
Thnx in advance
The text was updated successfully, but these errors were encountered: