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.
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!