<div dir="ltr">I'm creating an audio "client" using RTPSource. I have a custom MediaSink-derived class which takes the traffic and routes it to my computer's audio device. Works great. <br><br>What I'd like to do, however, is retrieve the sender's IP address (the IP address of the sender which is sending traffic to the port/ip as specified by my GroupSocks). How do I do this? I'm assuming from MyMediaSink? Apologies, I looked through sample code but didn't see anything...<br><br>My client is built like this: <br><br>MyMediaSink* blah = MyMediaSink::createNew(); <br>.....<div>.....  <br><div>Groupsock rtpGroupSock(*environment, address, rtpPort, 1);</div><div>Groupsock rtcpGroupSock(*environment, address, rtcpPort, 1);<br>......</div><div>.....  <br><span style="line-height:1.5">RTPSource* rtpSource = SimpleRTPSource::createNew(</span><div>        *environment, &rtpGroupSock, payloadFormatCode,</div><div>        fSamplingFrequency, "audio/L16", 0, False /*no 'M' bit*/);<br>.....</div><div>.....  <br><div>RTCPInstance* rtcpInstance =</div><div>        RTCPInstance::createNew(*environment, &rtcpGroupSock, 5000, CNAME, NULL, rtpSource);<br>.....<br>..... </div><div>sink->startPlaying(*rtpSource, afterPlaying, NULL);<br><span style="line-height:1.5">environment->taskScheduler().doEventLoop(); // does not return</span><span style="line-height:1.5"> </span></div></div></div><br><br></div></div>