This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JMF Audioconference with PC in a LAN  RSS feed

Jesus Fernandez
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 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
Jose Botella
Ranch Hand
Posts: 2120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!