HAP-python
HAP-python copied to clipboard
Question: SRTP port range for Camera accessory
Hello,
I've set up home assistant inside docker behind a firewall with homekit bridge and a camera. The problem is that while I can fetch screenshots (before tapping the camera feed), I can't actually begin the stream. From what I get, I need to open a port reachable from the iOS device as the stream gets transcoded using ffmpeg. I was informed that the port is "never" the same and negotiated between the device and the HAP server on each stream start: home-assistant/core#43335.
I want to map the port range of the container to the host and allow it from firewall. From 5-10 tests I saw that the range is about 40000-55000? Is there a more elaborate answer?
Thank you