JMF: send merged datasource to rtp-target

J

Javier Vazquez

hi there

first of all: i'm a newbie. ;-)

i've seen that there's a very easy way to send a single datasource over
rtp using a datasink (example using linear audio):

String receiverURL = "rtp://host.domain:port/audio/l";
MediaLocator receiver = new MediaLocator(receiverURL);
DataSink ds = Manager.createDataSink(dataSource, receiver);

i have an audio- and a video-source. i merged them to a single
datasource and now i'm asking myself if the example mentioned above
would work with a merged datasource too. what kind of mime-type would i
use for my merged-datasource?

if i get it to work and i send it as one merged datasource over rtp,
would it be possible to receive the merged datasource as if it were a
single datasource as in the example below:

String rtpURL = "rtp://host.domain:port/audio/l";
MediaLocator sender = new MediaLocator(rtpURL);
Player p = Manager.createRealizedPlayer(sender);

again: what mime-type would i be using?

thanks a lot for your kind help!

saludos
javier
 
J

Javier Vazquez

....is the question that lame or does really no one know an answer to it? :)

Javier Vazquez schrieb:
what kind of mime-type would i use for my merged-datasource?
<snip!>
 
R

Roland

i allready did:
http://forum.java.sun.com/thread.jspa?threadID=593757&tstart=30

....as i didn't receive no answer there, i tried to get an answer in
this ng.

can't believe that this problem isn't faced more often while sending
data with jmf over rtp.

Don't know anything of RTP, but Googling showed an interesting links (I
guess):
<http://ietf.org/rfc/rfc3555.txt?number=3555>
Google search:
<http://www.google.com/search?hl=en&q=rtp+"MIME+Type"+video+audio>

--
Regards,

Roland de Ruiter
___ ___
/__/ w_/ /__/
/ \ /_/ / \
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top