[sip-comm-dev] Sip-Communicator recieve audio problems


#1

As mentioned in a previous email, I am trying to run Sip-Communicator on a Sun Ray Server (SRSS v3.1 build 21), and I am experiencing problems with receiving audio from the microphone. I have a microphone device that tests OK with Solaris 10/Sparc with CDE and the "voice note" (Sun Audio v1.0.2) application, I can make recordings and hear them played back. I also hear the audio loopback (my own voice mirrored back in the headphones) when speaking.

The microphone device is available at $AUDIODEV (value may change during the SRSS session) and/or via the shared object library (/usr/lib/libc_ut.so) at /dev/audio (libc_ut.so makes the varying $AUDIODEV transparent and look like /dev/audio to all users).

I have tried to use the media source setting file:/dev/audio, but it does not work. The JVM only detects javasound as a source and it makes no difference to run as root. I'm not certain that javasound supports bi-directional audio in this configuration, but I'm not able to get Sip-Communicator to accept any alternatives. Solutions involving routing my microphone to a port would be fine but would have to support many microphones on the same server at the same IP and since it's not what my Sun Ray Microphone driver does, I'd have to have some software (sip-communicator?) do that and communicate that user port to Sip-Communicator somehow. Changing the preference order of codecs seems to have no effect either.

My SIP proxy works in other configurations with X-ten lite, and 3/4 of it works here, i.e. Both SIP links, and the receive audio RTP link works fine. I can make and receive calls from SIP-Communicator but can only hear sound from that end. I get no errors relating to this in the logs, the RTP link seems to form fine.

Do you have any suggestions on how to move forward?

Best regards and thanks for a great app,
David Donahue

···

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


#2

Hi David,

I have trouble seeing what it is that causes your problem. All that SIP Communicator doe is telling JMF to open an audio device and start capturing. Any special cases such as the Sun Ray should be handled by the operating system. Their might be a way to convince JMF of the proper configuration to use but I have no time to work on that now (and besides I don't have a Sun Ray). If however you get to fix the problem - I'll be very happy to apply your patch on the sip-communicator.

I have tried to use the media source setting file:/dev/audio, but it does not work.

No, the MEDIA_SOURCE property was not meant for capture devices.

Cheers
Emil

The JVM only detects javasound as a source and it makes no difference to run as root. I'm not certain that javasound supports bi-directional audio in this configuration, but I'm not able to get Sip-Communicator to accept any alternatives. Solutions involving routing my microphone to a port would be fine but would have to support many microphones on the same server at the same IP and since it's not what my Sun Ray Microphone driver does, I'd have to have some software (sip-communicator?) do that and communicate that user port to Sip-Communicator somehow. Changing the preference order of codecs seems to have no effect either.

···

My SIP proxy works in other configurations with X-ten lite, and 3/4 of it works here, i.e. Both SIP links, and the receive audio RTP link works fine. I can make and receive calls from SIP-Communicator but can only hear sound from that end. I get no errors relating to this in the logs, the RTP link seems to form fine.
Do you have any suggestions on how to move forward?
Best regards and thanks for a great app,
David Donahue

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