powered by Jive Software

Using Jingle for Streaming Audio

I’m wondering if it’s possible to use Jingle to stream an MP3 file from one user to another. I’ve had a look at the demo code for Jingle, and I have not been able to fathom how I can change the audio input from the microphone to an MP3 file. Is this possible? Additionally, I can run the demo code and initialise a connection but an error occurs on both the sender and receiver:

java.lang.NullPointerException

RAW CAND

RAW CAND

Track 0 is set to transmit as:

gsm/rtp, 8000.0 Hz, Mono, FrameSize=264 bits

Failed to realize: com.sun.media.ProcessEngine@530cf2

Cannot build a flow graph with the customized options:

Unable to transcode format: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed

to: gsm/rtp, 8000.0 Hz, Mono, FrameSize=264 bits

outputting to: RAW/RTP

Error: Unable to realize com.sun.media.ProcessEngine@530cf2

Can anyone help?

Hi,

Which Operating System are you using?

Try adding this JVM argument pointing to you JMF installation dir:

-Djava.library.path=/usr/lib/JMF-2.1.1e/lib

Regards,

Thiago