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.domainort/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.domainort/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
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.domainort/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.domainort/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