problem in AVTransmit2 and AVReceive2

Hello sir/mam

I am facing some problems in both the files.

When I started AVTransmit2 file on command prompt it shows..

..............

..............

..............

created RTP session 172.16.106.160 1500

start transmission for 60 seconds.

.................................................................

...............................Transmission ended.

And when I start AVReceive2.java then on client machine with paramtere 172.16.196.141/1500". It shows.

Waiting for RTP data to arrive

Waiting for RTP data to arrive

Waiting for RTP data to arrive

Waiting for RTP data to arrive

Waiting for RTP data to arrive

Waiting for RTP data to arrive

Waiting for RTP data to arrive

Waiting for RTP data to arrive

No RTP data received

Failed to initialize session.

Please suggest me what is the problem .

[938 byte] By [shobhit_raa] at [2007-11-27 1:59:10]
# 1
Assuming 172.16.106.160 1500 like the remote Host IP. I recommend you try this:java AVTransmit2 file:/someMediaFile 172.16.106.160 1500java AVReceive2 172.16.106.160/1500If AVReceive2 deesn't receive nothing, tryAVReceive2 SenderIP/1500Hern醤.
Hernan-Rojasa at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 2

Hello sir

I have used the options which you have suggested but it is not working. The same problem is there.

172.16.106.160 is the IPAddress of receiving machine(I have used it as a parameter in AVTransmit file)

172.16.106.140 is the IPAddress of Sending machine(I have used it as a parameter in AVReceive file)

and 1500 is the port I am using.

When I am using SenderIP it is giving error.

I have also used RTPServer3.java and RTPPlayer2.java files. Same problem is there waiting for RTP data.

Please Reply me soon sir I have to submit my project.

Thanks alot.

shobhit_raa at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 3

1st try using JMStudio on BOTH machines

Assuming that works

use your Transmitter settings on the 1st machine & prove that JMStudio can receive on 2nd machine

Assuming that works

use your Transmitter settings on the 1st machine & now your Receiver settings on 2nd machine - (this is likely not to work as this seems to be what you have got at the moment)

BUT if the 1st two steps work then you will have narrowed the problem down to the receiving side of your system

If the 1st step works & the 2nd doesn't perhaps you should post up some of your code for us to take a look at - (try to reduce it to the core code that exhibits the problem)

ps have you tried starting the Receiver code before the Transmitter & also the other way around

Message was edited by:

Stefan_Maric

Stefan_Marica at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 4

Sir

I have checked JMStudio on both the machines. It is working by simply playing the audio file.

But you are right there is same problem waiting for data when on one

machine I am transmitting and on other machine receiving using JMStudio directly.

I am doing the following

On one machine- Open JMStudio->transmit->select file->specyfy IPaddress of other machine with port no->finish->uncheck the monitor audio

On second machine- Open JMStudio->Open RTP session->specify IPAddress of first machine(sending machine) with same portno.

But now messagebox is showing waiting for data. 7,8,9....... second elapsed.

What it means there is some problem. I have done both I mean starting second JMStudio first and vice versa.

Please suggest what should I Do?

Thank you very much

shobhit_raa at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 5

Hi,

I had the same problem and I solved it.

Try to disable the Firewall of the server computer (transmissor of the RTP).

The client computer don't need to have the firewall disable, but, if you need to enable that the client computer also transmit, you need to disable the firewall.

Please, report if you have success!

Regards..

Hericksnakea at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 6

Thanks alot for your reply

I have disabled the firewall. But now the new problem is there.

When I use JMStudio at the receiving end, and click on open RTP Session. After specifying the IPAddress of sending machine and portno. following error message is showing

Controller error

Internal Module com.sun.media.BasicRendererModule@3a5794:

Failed to handle a data format change.

And when I use command prompt for executing RTPPlayer2.java file or AVReceive2.java file following error shows-

Error in ControllerErrorEvent:

javax.media.ControllerErrorEvent [source=com.sun.media.content.unknown.Handler@b1c260, message=Internal Module com.sun.media.BasicRendererModule@228a02:

Failed to handle a data format change

Plese suggest me what to do now. Its my bad luck when one thing goes right another thing does not work.

Please sir inform me soon.

thanks alot.

shobhit_raa at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 7
Hi, it's me again.I had the same problem also.Try to transmit another media file. The type of the archive can be inncompatible. Try transmit video or another media like a webCam or a audioCap.I wait your reply!Regards!Message was edited by:
Hericka at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 8

Hello sir

I have tried with various formats of files. like-wmv,wma,mp3,MPEG it is not transmitting any of these type of files. It is only transmitting the wav file.

Also it is playing MPEG file but when I transmit MPEG file to other computer The same problem is there Waiting for data on the receiving computer.

And it is playing MP3 file but when I transmit that mp3 file error is there-

ControllerEvent Handler - unable to handle data format change.

Please inform me the extensions of files which it supports to transmit.

Please reply me soon.

shobhit_raa at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 9

Hello sir

I have to convert audio/video file format into RTP Packet format(concedering all the parameters) to transmit packets to another cother computer.

For example JMF uses RTP formats like RAW/RTP and more.

Please inform me what are the performance parameters for this format. And how to convert existing format into this one.

Please provide me source codes for this.

I will be very thankful to you.

Thanks alot.

shobhit_raa at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...
# 10
hiUse ULAW_RTP it will certain transmit
ankitguptaa at 2007-7-12 1:36:38 > top of Java-index,Security,Cryptography...