HAP-python icon indicating copy to clipboard operation
HAP-python copied to clipboard

Add Support For Camera 2-way Audio

Open shmuelzon opened this issue 2 years ago • 0 comments

Hey,

I was wondering what it might take to add initial support for 2-way audio on camera devices. While sniffing the network traffic, I do see that my phone sends an RTP stream back to HAP-python when the talk button is pressed but I don't know how I can get the properties of that stream in advance, mainly which port, codec and encryption is used.

I'd be happy to just get a callback/notification with this information for starters and then I can run ffmpeg or something to push it to the relevant destination. If there's anything I can do to help, please let me know but I will need some pointers for where to start/look.

Thanks in advance!

shmuelzon avatar Jul 09 '23 10:07 shmuelzon