Hi there, i have an audioconferencing JMF application that works between PCs if i know their IPs, but ... when i try to connect between a PC in a LAN that conects to Internet through on a router, i dont know its IP. I just known router's IP, and it doesn't work. I solved the problem modifying configuration of the router, basically with NAPT, using port forwarding in the router. You can say the router that all incoming UDP data through a port xxxx from external PC was forwarding to a node with its IP LAN 192.168.0.xxx through a port yyyy But this is not a good solution because the application's users usually dont allow to access the router Any suggestions?? I think Messenger and Netmeeting use a code to scan free ports or anything else. Thanks in advance
Welcome to the Ranch, Jesus. I am also writing a voice chat with JMF. Some comments: RTPManager seems unreliable because it does not issues all the events I need. Specially it does not provide the ReceiveStremEvent and others from which the ReceiveStream to play could be extracted. Are you using this class for several participants and I missed something? Now, a test program with DataSink works properly. But it demands a port for each pair of participants. By the way, I would need someone with an ADSL device to test three participants over the net. If you have some time to spare please send me a private message. Regarding the scanning of ports, given that a NAT closes all the ports for incoming conections, the ones that are open should be assigned to a particular program (say e-mule etc). Thus the scanning is of no use, and, I am afraid, there is no other solution that opening new ones for our program.