Results 1 to 2 of 2

Thread: Problems with Java Media Framework (JMF), Sip-Comunnicator

  1. #1
    jamesDothellboy NNTP User

    Default Problems with Java Media Framework (JMF), Sip-Comunnicator

    Hello,

    I'm a little frustrated. I tried now for hours to run the sip-communicator. It ends up with the following errors

    Code:
    Failed to realize: com.sun.media.ProcessEngine@1d592a
      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@1d592a
    14:55:16.400 SCHWERWIEGEND: impl.media.MediaControl.createDataSourceForEncodings().839 Couldn't realize sourceProcessor
    14:55:16.400 SCHWERWIEGEND: impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInviteOK().731 We failed to process the SDP description of sip:100@192.168.1.10(sip:100@192.168.1.10). Error was: Couldn't realize sourceProcessor
    net.java.sip.communicator.service.media.MediaException: Couldn't realize sourceProcessor
            at net.java.sip.communicator.impl.media.MediaControl.createDataSourceForEncodings(MediaControl.java:840)
            at net.java.sip.communicator.impl.media.CallSessionImpl.createSendStreams(CallSessionImpl.java:621)
            at net.java.sip.communicator.impl.media.CallSessionImpl.processSdpAnswer(CallSessionImpl.java:535)
            at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInviteOK(OperationSetBasicTelephonySipImpl.java:715)
            at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processResponse(OperationSetBasicTelephonySipImpl.java:493)
            at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.processResponse(ProtocolProviderServiceSipImpl.java:1081)
            at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:290)
            at gov.nist.javax.sip.EventScanner.run(EventScanner.java:492)
            at java.lang.Thread.run(Thread.java:619)
    I figured out that this has something to do with the Java Media Framework, which is installed. So I played a little with JMStudio.

    But this dosen't work, too. It doesn't matter which sample rate i chose. I always receive the following message.

    Code:
    Exception in thread "JavaSound PushThread" java.lang.IllegalArgumentException: Illegal request to write non-integral number of frames (22050 bytes )
            at com.sun.media.sound.SimpleInputDevice$InputDeviceDataLine.read(SimpleInputDevice.java:514)
            at com.sun.media.protocol.javasound.PushThread.process(JavaSoundSourceStream.java:790)
            at com.sun.media.util.LoopThread.run(LoopThread.java:135)
      Unable to handle format: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    Failed to prefetch: com.sun.media.PlaybackEngine@1e67e6a
    Error: Unable to prefetch com.sun.media.PlaybackEngine@1e67e6a
    
    Failed to prefetch: cannot open the audio device.
      Unable to handle format: LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    Failed to prefetch: com.sun.media.PlaybackEngine@1bb326c
    Error: Unable to prefetch com.sun.media.PlaybackEngine@1bb326c
    
    Failed to prefetch: cannot open the audio device.
    The only audio device I can chose is the JavaSound audio capture.

    I'm logged in as root.

    printenv
    Code:
    CLASSPATH=/usr/bin/JMF-2.1.1e/lib/jmf.jar:.:
    JMFHOME=/usr/bin/JMF-2.1.1e
    JAVA_HOME=/usr/lib/jvm/java-1.6.0-sun
    LD_LIBRARY_PATH=/usr/bin/JMF-2.1.1e/lib:/usr/lib/mpi/gcc/openmpi/lib

    Versions:
    openSuse 11
    Java 1.6 jdk
    JMF2.1.1e
    sip-communicator alpha2/alpha3 (tested both)

    I don't know how to solve this problem. So I hope someone can help me with that?

    Thanks,

  2. #2

    Thumbs up Re: Problems with Java Media Framework (JMF), Sip-Comunnicator

    Remedy is

    First install JMF and customize yourself then
    copy the customized jar(ex:custom.jar) from jmf installed location and paste your project area and add to your project.

    It used me to rectify the plabbackengine@1895.. problem.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •