Transmitting RTP audio with a data sink
Hi,
I have problem with transimitting audio using data sink.
String URL = "rtp://localhost:10000/audio/1";
Get the audio data source, and create a clonable soruce and the cloned source.
Create a player with the clonable source, and create a processor with cloned source.
When the processor is configured, set its content descriptor to RAW_RTP, and set track control's format to GSM_RTP.
When the processor is realized, create datasink with a medialocator which has the above URL.
Start both the player and processor.
For the RTP receiver, just create a player with a mediaLocator using the above URL.
Run both the sender and receive on the same Windows XP box. I can't find any error message on both consoles. The sender's player works fine, but the receiver never gets realized. In fact, the receiver does not get any events.
Any idea?
Thanks,
Derek
[935 byte] By [
derek.li] at [2007-9-30 20:38:27]

Hello
I think I have done the same as you, but without use a clonable and cloned datasource.
Well, I have de same problem, my receptor player don磘 become in realize state. I磎 using the same computer. How have you solved the problem? Have you use two computers?
Please, give me an anwser.
Hello
I think I have done the same as you, but without use a clonable and cloned datasource.
Well, I have de same problem, my receptor player don磘 become in realize state. I磎 using the same computer. How have you solved the problem? Have you use two computers?
Please, give me an anwser.
It does not work on one computer, and I don't know why.
It does work on two computers in the same LAN. Suppose you want to send audio from computerA to computerB. The URL of the sending program will be
String URL = "rtp://computerB:10000/audio/1";
The URL of the receiving program will be
String URL = "rtp://localhost:10000/audio/1";
or
String URL = "rtp://computerB:10000/audio/1";
Good Luck.
Derek