• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Sending video streams to a remote computer

 
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

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 ]
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Sameera Abeysinghe
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot for the answer

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.

http://www.cs.odu.edu/~cs778/spring04/lectures/jmfsolutions/examplesindex.html

AVTransmit2.java from transmitting
http://www.cs.odu.edu/~cs778/jmfexamples/AVTransmit2.java
AVReceive2.java from receiving
http://www.cs.odu.edu/~cs778/jmfexamples/AVReceive2.java

Receiving is ok. But for transmitting the file ask the IP address of the destination.

So now I come back to my questing that has posted above. No need to explain it again.

Am I missing some java technology hear or as you explained in the answer will this work when published in the inter net.

If I am reporting the same questing sorry for that I am not new to java. But I am not good when comes to Internet stuff.
 
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't know much about JMF, but I'm sure there are people around who know more than me. I'm sure it's possible to do client-initiated streaming, though. Anybody listening?
 
reply
    Bookmark Topic Watch Topic
  • New Topic