Hey there,
I’m using OSX for jingle. Since, according to the docs, Speex only works on windows, I added the JmfMediaManager to the sender and reciever.
When I make a connection, I immediately get an exception as follows:
Exception in thread “JavaSound PushThread” java.lang.IllegalArgumentException: Illegal request to write non-integral number of frames (22050 bytes )
java.lang.IllegalArgumentException: Illegal request to write non-integral number of frames (22050 bytes )
at com.sun.media.sound.SimpleInputDevice$InputDeviceDataLine.read(SimpleInputDevic e.java:514)
at com.sun.media.protocol.javasound.PushThread.process(JavaSoundSourceStream.java: 790)
at com.sun.media.util.LoopThread.run(LoopThread.java:135)
at com.sun.media.sound.SimpleInputDevice$InputDeviceDataLine.read(SimpleInputDevic e.java:514)
at com.sun.media.protocol.javasound.PushThread.process(JavaSoundSourceStream.java: 790)
at com.sun.media.util.LoopThread.run(LoopThread.java:135)
I also see:
Oct 29, 2010 6:54:56 PM org.jivesoftware.smackx.jingle.SmackLogger error
SEVERE: Track 0 is set to transmit as:
Oct 29, 2010 6:54:56 PM org.jivesoftware.smackx.jingle.SmackLogger error
SEVERE: gsm/rtp, 8000.0 Hz, Mono, FrameSize=264 bits
Oct 29, 2010 6:54:56 PM org.jivesoftware.smackx.jingle.SmackLogger error
SEVERE: Created RTP session at 18578 to: 192.168.1.155 11218
Oct 29, 2010 6:54:59 PM org.jivesoftware.smackx.jingle.SmackLogger error
SEVERE: - A new participant had just joined: bjorn@arigato.home
Any help is appreciated. Thanks,
bjorn