Search within Frameworks
Register / Login
This week's giveaway is in the
Java in General
We're giving away four copies of
and have Rafael del Nero on-line!
Win a copy of
this week in the
Java in General
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Other Application Frameworks
How To Transmit Merge DataSource Over network?
posted 11 years ago
Number of slices to send:
Optional 'thank-you' note:
Please somebody help me?
I am trying to transmit mergable datasource.
I have merged an audio datasource and video datasource into a single datasource(i.e merged datasorce).
I have tried to transmit it in two way::
I passed this datasource directly into createSendStream() method argument
DataSource ds=capturedDataSource();//thid method return merged datasource(audio and video) SendStream send=manager.createSendStream(ds,0); send.start();
but it throws an Unsupported Exception ::
javax.media.format.UnsupportedFormatException: Format of Stream not supported in RTP Session Manager
I thought without creation of processor I cannot transmit
Am I right?
I think so....
I have created and programed the processor
DataSource ds=capturedDataSource(); Processor processor=Manager.createProcessor(ds); processor.configure(); Thread.currentThread().sleep(30000); processor.setContentDescriptor(new ContentDescriptor( ContentDescriptor.RAW_RTP)); processor.realize(); Thread.currentThread().sleep(30000); SendStream send=manager.createSendStream(processor.getDataOutput(),0); send.start(); processor.start();
I also got send stream event which is instance of new send stream event.
Ok. Now I start Transmitting I got something at recevier
just audio ..
but I want both on that player of receiver audio as well as video.
what should be wrong with me?
Don't get me started about those stupid
Boost this thread!
problem with audio video sessions using jmf & rtp
Live Video Transmission-Help Required very urgently
Help Regarding Delay in Voice Conversation
Issues w/ receiving RTP Data in AVTransmit2 and AVReceive2