ericgla / RTC-Call-Monitor

Voice/video call detection by monitoring of UDP packet rate with notification via webhooks
37 stars 6 forks source link

Add support for multiple IP subnets; dynamically update IP watched on… #2

Closed nick-marnik closed 3 years ago

nick-marnik commented 3 years ago

… network state change

While working, connecting to a work VPN generally changes your current IP address. This update allows defining multiple IP ranges and also handles detecting the IP address on network state changes.

I also made the delay configurable - I was seeing call status flips a lot when I was still on a call. I also used the same setting for a delay on network state change - it takes a couple seconds for the new IP to be detectable.

I haven't tested other use cases, but this change could be useful on networks where wired/wireless clients operate on different IP ranges.