This week's book giveaway is in the Agile forum.
We're giving away four copies of The Software Craftsman and have Sandro Mancuso on-line!
See this thread for details.
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 The Software Craftsman this week in the Agile 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: 19959
    
  25

Once is enough. UseOneThreadPerQuestion.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
 
Consider Paul's rocket mass heater.
 
subject: avTransmit and avReceive problem