http how to find client ip address
So in your case also you need to verify whether you are getting a valid target objects . Now regarding the IP address and Port info of the client, you can get these values from the arguments array which comes with RTPStart and Stop events only. Here are one reference screenshot for you for client port.