I am coding video conferencing software. I am using RTP manager to send the video. But the class I am using is asking the remote IP address. But as you all know we don�t get the real IP address in the Internet. So can any one tell me how can I send my video stream through the Internet?
Thank a lot
[ EJFH: Request to take this offline removed. We don't do that here. ] [ June 27, 2005: Message edited by: Ernest Friedman-Hill ]
Pleaee do not post the same question to multiple forums -- especially to five different places, and especially if not a single one of them is relevant in any way to the question! It just wastes peoples time: first, by potentially answering a question that's already been answered elsewhere; and second, my time was wasted cleaning up after you. This is the last copy of your message that's left, and I'm moving it to the "Sockets and Internet Protocols" forum, where it would at least be on-topic.
It is not true that "you don't get the real IP address on the Internet." What is true is that some machines are behind NAT (network address translation) firewalls, which let many machines share a single IP address. When this is the case, the individual machines behind the NAT have no "real" address; they have an address on the subnet behind the NAT, and the NAT has an Internet address and knows how to forward to the machines behind it. There is no way to initiate a connection to a machine behind a NAT firewall unless the firewall cooperates: many NATs have a "DMZ" feature that allows incoming connections on specific ports to be routed to a specific internal machine. The firewall has to be manually configured this way, and so of course this is impractical for anything larger than a home network.
To get around this, you have to arrange things so that the client machine opens the original connection to the server, and have the server send the data through this same connection; the NAT box then routes the data to the proper machine.
Note that some services of this type simply refuse to work with NAT setups, although this is becoming less and less common.
I did not know about this �DMZ feature� but I will find out about it.
I am coding video conferencing software where 4 to 6 people can login and have a conference. The video has to be distributed only within these people. I found out about this java media framework JMF. It gave me two files that I can use to transfer and receive real time videos.