[jitsi-dev] Tests for MacCoreaudio system.

Hello Jitsi team,

The support for CoreAudio audio system for MacOsX is available and is stable enough to begin to test it.

If you have some time, I would like you to test it. For the intrepid ones, please try to use external devices and if it works, please try to hotplug the devices during a call.

The default audio system is still PortAudio, thus if you want to test it, do not forget to set it explicitly to MacCoreaudio.

Regards,
Vincent

···

--
Vincent Lucas, Ph.D. Jitsi developer
chenzo@jitsi.org http://jitsi.org

Vincent,

I'm adding a reference to this in the Voice Call documentation. I just
wanted to confirm the name and capitalization that appears in the UI. Is
it referred to as

"Core Audio" (with a space)
see https://developer.apple.com/technologies/mac/audio-and-video.html )

Or "MacCoreaudio" (no spaces and no capital letter for "Audio")

David

···

On 10/2/2013 4:32 AM, Vincent Lucas wrote:

Hello Jitsi team,

The support for CoreAudio audio system for MacOsX is available and is
stable enough to begin to test it.

If you have some time, I would like you to test it. For the intrepid
ones, please try to use external devices and if it works, please try
to hotplug the devices during a call.

The default audio system is still PortAudio, thus if you want to test
it, do not forget to set it explicitly to MacCoreaudio.

Regards,
Vincent

Hello,

Hello Jitsi team,

The support for CoreAudio audio system for MacOsX is available and is
stable enough to begin to test it.

If you have some time, I would like you to test it. For the intrepid
ones, please try to use external devices and if it works, please try to
hotplug the devices during a call.

On my system (10.6.8) I hear no sound and the mic doesn't work. Log
attached (no-headset.log). On stderr I have these:

     [java] maccoreaudio_countChannels (coreaudio/device.c):
     [java] AudioObjectGetPropertyData, err: 0x77686f3f
     [java] maccoreaudio_startStream (coreaudio/device.c):
     [java] maccoreaudio_initConverter
     [java] maccoreaudio_countChannels (coreaudio/device.c):
     [java] AudioObjectGetPropertyData, err: 0x77686f3f
     [java] maccoreaudio_startStream (coreaudio/device.c):
     [java] maccoreaudio_initConverter
     [java] maccoreaudio_countChannels (coreaudio/device.c):
     [java] AudioObjectGetPropertyData, err: 0x77686f3f
     [java] maccoreaudio_startStream (coreaudio/device.c):
     [java] maccoreaudio_initConverter
     [java] maccoreaudio_countChannels (coreaudio/device.c):
     [java] AudioObjectGetPropertyData, err: 0x77686f3f
     [java] maccoreaudio_startStream (coreaudio/device.c):
     [java] maccoreaudio_initConverter
     [java] maccoreaudio_countChannels (coreaudio/device.c):
     [java] AudioObjectGetPropertyData, err: 0x77686f3f
     [java] maccoreaudio_startStream (coreaudio/device.c):
     [java] maccoreaudio_initConverter

If I plug in a Logitech H760 headset, it show up in the menu, but again
there is no playback or mic. Logs attached (headset-attached.log).
There's the same errors on stderr and also this exception:

     [java] 03:56:11.703 SEVERE: [36]
util.UtilActivator.uncaughtException().108 An uncaught exception
occurred in thread=Thread[pool-8-thread-2,5,main] and message was: readInput
     [java] java.lang.NoSuchMethodError: readInput
     [java] at
org.jitsi.impl.neomedia.MacCoreAudioDevice.startStream(Native Method)
     [java] at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.MacCoreaudioRenderer.start(MacCoreaudioRenderer.java:443)
     [java] at
org.jitsi.impl.neomedia.notify.AudioSystemClipImpl.runOnceInPlayThread(AudioSystemClipImpl.java:215)
     [java] at
org.jitsi.service.audionotifier.AbstractSCAudioClip.runInPlayThread(AbstractSCAudioClip.java:370)
     [java] at
org.jitsi.service.audionotifier.AbstractSCAudioClip.access$100(AbstractSCAudioClip.java:20)
     [java] at
org.jitsi.service.audionotifier.AbstractSCAudioClip$1.run(AbstractSCAudioClip.java:299)
     [java] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThrseadPoolExecutor.java:895)
     [java] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
     [java] at java.lang.Thread.run(Thread.java:680)

Anything I can do to troubleshoot further?

Regards,
Boris

headset-attached.log (195 KB)

no-headset.log (194 KB)

···

On 10/2/13 11:32 AM, Vincent Lucas wrote:

Hello Boris,

Thank you for the feedback. I will look at these errors and might come back to you for further information.

Regards

···

On 10/5/13 4:05 AM, Boris Grozev wrote:

Hello,

On 10/2/13 11:32 AM, Vincent Lucas wrote:

Hello Jitsi team,

The support for CoreAudio audio system for MacOsX is available and is
stable enough to begin to test it.

If you have some time, I would like you to test it. For the intrepid
ones, please try to use external devices and if it works, please try to
hotplug the devices during a call.

On my system (10.6.8) I hear no sound and the mic doesn't work. Log
attached (no-headset.log). On stderr I have these:

      [java] maccoreaudio_countChannels (coreaudio/device.c):
      [java] AudioObjectGetPropertyData, err: 0x77686f3f
      [java] maccoreaudio_startStream (coreaudio/device.c):
      [java] maccoreaudio_initConverter
      [java] maccoreaudio_countChannels (coreaudio/device.c):
      [java] AudioObjectGetPropertyData, err: 0x77686f3f
      [java] maccoreaudio_startStream (coreaudio/device.c):
      [java] maccoreaudio_initConverter
      [java] maccoreaudio_countChannels (coreaudio/device.c):
      [java] AudioObjectGetPropertyData, err: 0x77686f3f
      [java] maccoreaudio_startStream (coreaudio/device.c):
      [java] maccoreaudio_initConverter
      [java] maccoreaudio_countChannels (coreaudio/device.c):
      [java] AudioObjectGetPropertyData, err: 0x77686f3f
      [java] maccoreaudio_startStream (coreaudio/device.c):
      [java] maccoreaudio_initConverter
      [java] maccoreaudio_countChannels (coreaudio/device.c):
      [java] AudioObjectGetPropertyData, err: 0x77686f3f
      [java] maccoreaudio_startStream (coreaudio/device.c):
      [java] maccoreaudio_initConverter

If I plug in a Logitech H760 headset, it show up in the menu, but again
there is no playback or mic. Logs attached (headset-attached.log).
There's the same errors on stderr and also this exception:

      [java] 03:56:11.703 SEVERE: [36]
util.UtilActivator.uncaughtException().108 An uncaught exception
occurred in thread=Thread[pool-8-thread-2,5,main] and message was: readInput
      [java] java.lang.NoSuchMethodError: readInput
      [java] at
org.jitsi.impl.neomedia.MacCoreAudioDevice.startStream(Native Method)
      [java] at
org.jitsi.impl.neomedia.jmfext.media.renderer.audio.MacCoreaudioRenderer.start(MacCoreaudioRenderer.java:443)
      [java] at
org.jitsi.impl.neomedia.notify.AudioSystemClipImpl.runOnceInPlayThread(AudioSystemClipImpl.java:215)
      [java] at
org.jitsi.service.audionotifier.AbstractSCAudioClip.runInPlayThread(AbstractSCAudioClip.java:370)
      [java] at
org.jitsi.service.audionotifier.AbstractSCAudioClip.access$100(AbstractSCAudioClip.java:20)
      [java] at
org.jitsi.service.audionotifier.AbstractSCAudioClip$1.run(AbstractSCAudioClip.java:299)
      [java] at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThrseadPoolExecutor.java:895)
      [java] at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
      [java] at java.lang.Thread.run(Thread.java:680)

Anything I can do to troubleshoot further?

Regards,
Boris

--
Vincent Lucas, Ph.D. Jitsi developer
chenzo@jitsi.org http://jitsi.org