[sip-comm-dev] Exception with Java 1.6

Emil Ivov emcho at sip-communicator.org
Fri Sep 14 07:22:27 CEST 2007


Hi guys,

I've removed the reference to the gain control in CallSessionImpl.

Could you please try and let me know whether it changes something?

Emil

Asad Nasir wrote:
> I got a similar problem, and I am using JDK1.5. Infact, I have not even
> tried using JDK1.4.x to run SIP Communicator. My logs are a bit differed to
> Thomas' because I am not using video media.
> 
>      [java] 12:01:52.928 FINE: impl.media.CallSessionImpl.update().1650
> received a new incoming stream.
> javax.media.rtp.event.NewReceiveStreamEvent[source = RTPManager
>      [java] SSRCCache  com.sun.media.rtp.SSRCCache at 133f6dd
>      [java] Dataport  5000
>      [java] Controlport  5001
>      [java] Address  0.0.0.0
>      [java] RTPForwarder  com.sun.media.rtp.util.PacketForwarder at 944dbd
>      [java] RTPDemux  com.sun.media.rtp.RTPDemultiplexer at 7bd46a]
>      [java] 12:01:52.928 FINE: impl.media.CallSessionImpl.update().1660
> Received new RTP stream: ilbc/rtp, 8000.0 Hz, Mono
>      [java] 12:01:52.938 FINE:
> impl.media.CallSessionImpl.controllerUpdate().1734 Received a
> ControllerEvent:
> javax.media.TransitionEvent[source=com.sun.media.content.unknown.Handler at 1fb
> 7565,previous=Unrealized,current=Realizing,target=Realized]
>      [java] 12:01:52.988 FINE:
> impl.media.CallSessionImpl.controllerUpdate().1734 Received a
> ControllerEvent:
> javax.media.RealizeCompleteEvent[source=com.sun.media.content.unknown.Handle
> r at 1fb7565,previous=Realizing,current=Realized,target=Realized]
>      [java] 12:01:52.988 FINE:
> impl.media.CallSessionImpl.controllerUpdate().1767 Setting volume to max
>      [java] 12:01:52.988 FINE:
> impl.media.CallSessionImpl.controllerUpdate().1774 A player was realized and
> will be started.
>      [java] 12:01:52.988 FINE:
> impl.media.CallSessionImpl.controllerUpdate().1734 Received a
> ControllerEvent:
> javax.media.TransitionEvent[source=com.sun.media.content.unknown.Handler at 1fb
> 7565,previous=Realized,current=Prefetching,target=Started]
>      [java] Exception in thread "JMF thread:
> com.sun.media.PlaybackEngine at eddac ( prefetchThread)"
> java.lang.IllegalArgumentException: Requested value 7.9588003 exceeds
> allowable maximum value 6.0206.
>      [java] at
> javax.sound.sampled.FloatControl.setValue(FloatControl.java:178)
>      [java] at
> com.sun.media.sound.DirectAudioDevice$DirectDL$Gain.setValue(DirectAudioDevi
> ce.java:850)
>      [java] at
> com.sun.media.renderer.audio.device.JavaSoundOutput.setGain(JavaSoundOutput.
> java:157)
>      [java] at
> com.sun.media.renderer.audio.AudioRenderer.initDevice(AudioRenderer.java:294
> )
>      [java] at
> com.sun.media.renderer.audio.JavaSoundRenderer.initDevice(JavaSoundRenderer.
> java:125)
>      [java] at
> com.sun.media.renderer.audio.JavaSoundRenderer.open(JavaSoundRenderer.java:9
> 1)
>      [java] at
> com.sun.media.BasicRendererModule.doPrefetch(BasicRendererModule.java:157)
>      [java] at
> com.sun.media.BasicTrackControl.prefetchTrack(BasicTrackControl.java:98)
>      [java] at
> com.sun.media.PlaybackEngine.doPrefetch1(PlaybackEngine.java:592)
>      [java] at
> com.sun.media.PlaybackEngine.doPrefetch(PlaybackEngine.java:547)
>      [java] at
> com.sun.media.PrefetchWorkThread.process(BasicController.java:1430)
>      [java] at
> com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339)
> 
> 
> Kind Regards,
> Asad Nasir
> Software Engineer
> IST Networks 
> 
> -----Original Message-----
> From: Thomas Hofer [mailto:mailinglisten at familie-hofer.net] 
> Sent: Monday, 10 September 2007 10:24 PM
> To: dev at sip-communicator.dev.java.net
> Subject: [sip-comm-dev] Exception with Java 1.6
> 
> Hi! I got following exception when trying with java 1.6. It seems an
> incompatibility between Java 1.6 (or 1.5) and the JMF on Windows. It there
> any possibility for a workaround or do I have to use java 1.4.2?
> 
> Regards, thomas
> 
> 16:20:05.859 SCHWERWIEGEND:
> impl.media.CallSessionImpl.controllerUpdate().1836 The following error was
> reported while starting a
> playerjavax.media.ResourceUnavailableEvent[source=com.sun.media.content.unkn
> own.Handler at 1c30dfa,message=Failed to realize: input media not supported:
> h263/rtp video]
> Exception in thread "JMF thread: com.sun.media.PlaybackEngine at a7563d (
> prefetchThread)" java.lang.IllegalArgumentException: Requested value
> 7.9588003 exceeds allowable maximum value 6.0206.
> 	at javax.sound.sampled.FloatControl.setValue(FloatControl.java:178)
> 	at
> com.sun.media.sound.DirectAudioDevice$DirectDL$Gain.setValue(DirectAudioDevi
> ce.java:833)
> 	at
> com.sun.media.renderer.audio.device.JavaSoundOutput.setGain(JavaSoundOutput.
> java:157)
> 	at
> com.sun.media.renderer.audio.AudioRenderer.initDevice(AudioRenderer.java:294
> )
> 	at
> com.sun.media.renderer.audio.JavaSoundRenderer.initDevice(JavaSoundRenderer.
> java:125)
> 	at
> com.sun.media.renderer.audio.JavaSoundRenderer.open(JavaSoundRenderer.java:9
> 1)
> 	at
> com.sun.media.BasicRendererModule.doPrefetch(BasicRendererModule.java:157)
> 	at
> com.sun.media.BasicTrackControl.prefetchTrack(BasicTrackControl.java:98)
> 	at com.sun.media.PlaybackEngine.doPrefetch1(PlaybackEngine.java:592)
> 	at com.sun.media.PlaybackEngine.doPrefetch(PlaybackEngine.java:547)
> 	at
> com.sun.media.PrefetchWorkThread.process(BasicController.java:1430)
> 	at
> com.sun.media.StateTransitionWorkThread.run(BasicController.java:1339)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe at sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help at sip-communicator.dev.java.net
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe at sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help at sip-communicator.dev.java.net
> 
> 

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





More information about the dev mailing list