[sip-comm] Media Exception: Could not realize processor


#1

Hello,
I've just checkout Sip Communicator from the CVS.

during a call when the called phone answer I get the exception in Object.

What's the problem?

I've attached the log

Thanks in advance

Paolo Orru

error.sip.txt (4.81 KB)


#2

Hello,

seems that there's a problem with ur jmf installation. normally jmf comes bundled together with the sip-communicator.

if u've modified that please make sure that a jmf installation is present in the classpath given to the sip-communicator and in case u r running linux - make sure that the directory containing jmf native libs ($JMF_HOME/lib)is present in the LD_LIBRARY_PATH

Cheers
Emil

Paolo Orru wrote:

···

Hello,
I've just checkout Sip Communicator from the CVS.

during a call when the called phone answer I get the exception in Object.

What's the problem?

I've attached the log

Thanks in advance

Paolo Orru

------------------------------------------------------------------------

net.java.sip.communicator.media.MediaException: Couldn't realize processor

  at net.java.sip.communicator.media.AVTransmitter.configureProcessor(AVTransmitter.java:295)

  at net.java.sip.communicator.media.AVTransmitter.start(AVTransmitter.java:140)

  at net.java.sip.communicator.media.MediaManager.startTransmitter(MediaManager.java:504)

  at net.java.sip.communicator.media.MediaManager.openMediaStreams(MediaManager.java:434)

  at net.java.sip.communicator.SipCommunicator.callStateChanged(SipCommunicator.java:758)

  at net.java.sip.communicator.sip.Call.fireCallStatusChangedEvent(Call.java:250)

  at net.java.sip.communicator.sip.Call.setState(Call.java:156)

  at net.java.sip.communicator.sip.CallProcessing.processInviteOK(CallProcessing.java:236)

  at net.java.sip.communicator.sip.SipManager.processResponse(SipManager.java:1673)

  at gov.nist.javax.sip.EventScanner.run(EventScanner.java:274)

  at java.lang.Thread.run(Thread.java:534)

-----------------------------@@@@@@@@@@@@@-----------------------------
122787 [EventScannerThread] DEBUG media.AVTransmitter - track[1] format[10]=mpegaudio/rtp
122797 [EventScannerThread] DEBUG media.AVTransmitter - track[1] format[11]=mpegaudio/rtp
122797 [EventScannerThread] DEBUG media.AVTransmitter - track[1] format[12]=mpegaudio/rtp
122797 [EventScannerThread] DEBUG media.AVTransmitter - track[1] format[13]=mpegaudio/rtp
122797 [EventScannerThread] TRACE media.AVTransmitter - [entry] findFirstMatchingFormat
122797 [EventScannerThread] TRACE media.AVTransmitter - [exit] findFirstMatchingFormat
122797 [EventScannerThread] DEBUG media.AVTransmitter - Track 0 is set to transmit as: g723/rtp, 8000.0 Hz, Mono, FrameSize=192 bits
122807 [JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler] TRACE media.AVTransmitter - [entry] controllerUpdate
122807 [JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler] TRACE media.AVTransmitter - [exit] controllerUpdate
can not load G723 Encoder
reason : java.lang.UnsatisfiedLinkError: JMFSecurityManager: java.lang.UnsatisfiedLinkError: no jmutil in java.library.path
Failed to realize: com.sun.media.ProcessEngine@878c4c
  Cannot build a flow graph with the customized options:
    Unable to transcode format: LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
      to: g723/rtp, 8000.0 Hz, Mono, FrameSize=192 bits
      outputting to: RAW/RTP
Error: Unable to realize com.sun.media.ProcessEngine@878c4c
123938 [JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler] TRACE media.AVTransmitter - [entry] controllerUpdate
123938 [JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler] TRACE media.AVTransmitter - [exit] controllerUpdate
123938 [JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler] TRACE media.AVTransmitter - [entry] controllerUpdate
123938 [JMF thread: SendEventQueue: com.sun.media.processor.unknown.Handler] TRACE media.AVTransmitter - [exit] controllerUpdate
123938 [EventScannerThread] ERROR media.AVTransmitter - Couldn't realize processor
123948 [EventScannerThread] TRACE media.AVTransmitter - [exit] configureProcessor
123948 [EventScannerThread] TRACE media.AVTransmitter - [exit] start
123948 [EventScannerThread] TRACE media.MediaManager - [exit] startTransmitter
123948 [EventScannerThread] TRACE media.MediaManager - [exit] openMediaStreams
net.java.sip.communicator.media.MediaException: Couldn't realize processor
  at net.java.sip.communicator.media.AVTransmitter.configureProcessor(AVTransmitter.java:295)
  at net.java.sip.communicator.media.AVTransmitter.start(AVTransmitter.java:140)
  at net.java.sip.communicator.media.MediaManager.startTransmitter(MediaManager.java:504)
  at net.java.sip.communicator.media.MediaManager.openMediaStreams(MediaManager.java:434)
  at net.java.sip.communicator.SipCommunicator.callStateChanged(SipCommunicator.java:758)
  at net.java.sip.communicator.sip.Call.fireCallStatusChangedEvent(Call.java:250)
  at net.java.sip.communicator.sip.Call.setState(Call.java:156)
  at net.java.sip.communicator.sip.CallProcessing.processInviteOK(CallProcessing.java:236)
  at net.java.sip.communicator.sip.SipManager.processResponse(SipManager.java:1673)
  at gov.nist.javax.sip.EventScanner.run(EventScanner.java:274)
  at java.lang.Thread.run(Thread.java:534)
127554 [RTPEventHandler] TRACE media.AVReceiver - [entry] update
127554 [RTPEventHandler] DEBUG media.AVReceiver - A new participant had just joined: Ivan@polluce
127554 [RTPEventHandler] TRACE media.AVReceiver - [exit] update
153881 [EventScannerThread] TRACE communicator.SipCommunicator - [exit] callStateChanged
153881 [EventScannerThread] TRACE sip.Call - [exit] setState
153881 [EventScannerThread] TRACE sip.CallProcessing - [exit] processInviteOK
153881 [EventScannerThread] TRACE sip.SipManager - [exit] processResponse

------------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#3

Hello,

Hello,

seems that there's a problem with ur jmf installation. normally jmf
comes bundled together with the sip-communicator.

Thanks, it was the problem

After I've found another error:

java.lang.IllegalArgumentException: Illegal request to write non-integral
number of frames (22050 bytes )
at
com.sun.media.sound.SimpleInputDevice$InputDeviceDataLine.read(SimpleInputDevice.java:524)
at
com.sun.media.protocol.javasound.PushThread.process(JavaSoundSourceStream.java:790)
at com.sun.media.util.LoopThread.run(LoopThread.java:135)

I change the method OpenDev() of
com/sun/media/protocol/javasound/JavaSoundSourceStream.java, as described
in
http://forum.java.sun.com/thread.jsp?forum=28&thread=492631&tstart=45&trange=15

Then I build a new jmf.jar that fix the buffer size and all is working right.

If useful I will send it to you.

Regards

Paolo Orru'

···

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net


#4

Hello Paolo,

Now isn't that a quick reply :). (In other words - pardon the delay)

Thanks for your proposition! Very nice of you. Yes i'd like to see ur patch. Please send ur modified file to the list, to me personally, or register it as a new issue at the sip-communicator web page.

Thanks again
Emil

Paolo Orru wrote:

···

Hello,

Hello,

seems that there's a problem with ur jmf installation. normally jmf
comes bundled together with the sip-communicator.

Thanks, it was the problem

After I've found another error:

java.lang.IllegalArgumentException: Illegal request to write non-integral
number of frames (22050 bytes )
at
com.sun.media.sound.SimpleInputDevice$InputDeviceDataLine.read(SimpleInputDevice.java:524)
at
com.sun.media.protocol.javasound.PushThread.process(JavaSoundSourceStream.java:790)
at com.sun.media.util.LoopThread.run(LoopThread.java:135)

I change the method OpenDev() of
com/sun/media/protocol/javasound/JavaSoundSourceStream.java, as described
in
http://forum.java.sun.com/thread.jsp?forum=28&thread=492631&tstart=45&trange=15

Then I build a new jmf.jar that fix the buffer size and all is working right.

If useful I will send it to you.

Regards

Paolo Orru'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: users-help@sip-communicator.dev.java.net