JMF Question

D

David

Let me start off by saying im a newbie to JMF so sorry if this appears
like a stupid question.

I have a RTP data stream that I want capture. Essentially im hoping that
JMF can provide me with the framework to read the incoming packets (and
have the framework re-order any out of sequence packets) and let me
extract the raw data, which is a proprietary nature

I figured out just try out JMF to see if it could do what I want but ive
really been struggling.

Ive successfully got to the stage where "update" on my
ReceiveStreamListener is called when the RTP from the server starts. Now
at this stage I was hoping to just use the javax.media.Buffer class to
read in the RTP packets.
So I did this:

PushBufferDataSource source = (PushBufferDataSource)ds;
PushBufferStream[] streams = source.getStreams();
streams[0].setTransferHandler(this);

However, even though I can confirm RTP packets are arriving (using a packet
sniffer) transferData callback method never gets called. Im obviously
missing something completely so I would really appreciate it if someone
could point me in the right direction here or can I not do what Im
hoping to do here.

Thanks

David
 

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

Similar Threads


Members online

Forum statistics

Threads
473,982
Messages
2,570,185
Members
46,736
Latest member
AdolphBig6

Latest Threads

Top