receiver and transmitter on the same local port?
Hi,
Just got a couple of questions:
1. Is JMF 2.1.1e capable of using the same local port for receving and transmitting audio (say in PCMU), i.e. symmetric RTP?
2. If yes, then Im just facing a problem and once I assign the same local port, I end up with one-way audio, because my transmitter is not working for some reason... :( The way I create transmitter on the same local port as the receiver, is by reusing the same RTPManager that was created for the receiver on the first place. Is there anything I need to add to make it work properly? Btw, the media code is borrowed from old SIP Comm project (just in case anyone knows, otherwise, ignore this).
I'd appreciate any help!
Andrey.
[726 byte] By [
andreyvka] at [2007-10-3 5:47:14]

This is not a reply, but a continuation of my post :)
At least tell me whether question 1 is possible or not.
As for question 2, the receiver and transmitter seem to be a code borrowed from AVReceive2/AVTransmit2. Any suggestions? Please...
I dont need the code or anything, just some guidelines or similar posts so i can read, because I didnt find anything like it neither in this forum nor in Google.
Andrey.
I found solution. There is an existing thread for this, actually :) Anyone interested, go to http://forum.java.sun.com/thread.jspa?threadID=589850&messageID=3064538
In short, i took AVReceive3, AVTransmit3 and RTPSocketAdapter files, created another class to start receiver and transitter (called it TempManager) and passed this TempManager in the arguments to both (like an owner or smth). Then transmitter is started first and saves created RTPManager's to the TempManager instance, and when receiver starts, it just takes already created RTPManager's from TempManager and uses them to initialize by itself... I just took a .wav file after that and played between accross local net between 2 hosts. Works really fine, however i still need to port all these into my app. :)