File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other JSE/JEE APIs and the fly likes avTransmit and avReceive problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Reply locked New topic
Author

avTransmit and avReceive problem

ahmed hlal
Greenhorn

Joined: Mar 05, 2011
Posts: 2
Hello

I'm trying avTransmit2 and avReceive2

They didn't work

When i run the avTransmit then run avReceive , it gives me an error :

avTransmit2:

Track 0 is set to transmit as:
H263/RTP, 352x288
Created RTP session: 127.0.0.1 22222
Start transmission for 60 seconds...
...transmission ended.

avReceive2:

- Open RTP session for: addr: 127.0.0.1 port: 22222 ttl: 16
Cannot create the RTP Session: Can't open local data port: 22222
javax.media.rtp.InvalidSessionAddressException: Can't open local data port: 22222
at com.sun.media.rtp.RTPSessionMgr.initialize(RTPSessionMgr.java:2688)
at com.sun.media.rtp.RTPSessionMgr.initialize(RTPSessionMgr.java:2515)
at videoconferencing.AVReceive2.initialize(AVReceive2.java:115)
at videoconferencing.AVReceive2.main(AVReceive2.java:483)
Failed to initialize the sessions.
Java Result: -1
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19725
    
  20

Once is enough. UseOneThreadPerQuestion.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: avTransmit and avReceive problem