[sip-comm-dev] still have sip calling or receiving call on Linux?


#1

Hi all,

any one successfully setup SC with sip calling feature?
Any help or pointer appreciated.

or should I just wait for FMJ integration?

Thanks,


#2

Hi Johny,

sip calls must be working OK on Linux.
What is the problem? Give more info.

damencho

Johny Kadarisman wrote:

···

Hi all,

any one successfully setup SC with sip calling feature?
Any help or pointer appreciated.

or should I just wait for FMJ integration?

Thanks,

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


#3

Hi Damian,

when i tried to make a call, i get following exception:

     [java] Exception in thread "Thread-191" java.lang.NullPointerException:
Specified service reference cannot be null.
     [java] at org.apache.felix.framework.BundleContextImpl.getService(
BundleContextImpl.java:479)
     [java] at
net.java.sip.communicator.impl.protocol.sip.SipActivator.getMediaService(
SipActivator.java:143)
     [java] at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall
(OperationSetBasicTelephonySipImpl.java:226)
     [java] at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall
(OperationSetBasicTelephonySipImpl.java:116)
     [java] at
net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run
(CallManager.java:867)

It seems failed to get media services, I suspect something related to
capture media is not detected. below is the logs related to media bundle. It
somehow detected JavaSound devices. What is JavaSound devices anyway?

22:24:40.951 FINE: impl.media.MediaActivator.start().53 Started.
22:24:41.063 FINEST: impl.media.device.JmfDeviceDetector.setupJMF().294
[entry] setupJMF
22:24:41.064 FINEST:
impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile().157 [entry]
getPrivatePersistentFile
22:24:41.065 FINEST: impl.fileaccess.FileAccessServiceImpl.accessibleFile().293
[entry] accessibleFile
22:24:41.065 FINEST: impl.fileaccess.FileAccessServiceImpl.accessibleFile().328
[exit] accessibleFile
22:24:41.066 FINEST:
impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile().170 [exit]
getPrivatePersistentFile
22:24:41.145 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().116
Looking for Audio capturer
22:24:41.255 INFO: impl.media.device.DirectSoundAuto.<init>().55 DirectSound
Capture Supported = false
22:24:41.626 INFO: impl.media.device.JavaSoundAuto.<init>().43 JavaSound
Capture Supported = true
22:24:41.655 INFO: impl.media.device.JavaSoundAuto.<init>().69
JavaSoundAuto: Committed ok
22:24:41.656 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().122
Looking for video capture devices
22:24:41.657 FINE:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().135
No VFW video detected: com/sun/media/protocol/vfw/VFWCapture
22:24:41.674 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().144
Detected 0 SUN Video capture device(s).
22:24:41.691 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().159
Detected 0 SUN Video Plus device(s).
22:24:41.695 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 0. Can't open video card 0
22:24:41.708 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 1. Can't open video card 1
22:24:41.710 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 2. Can't open video card 2
22:24:41.712 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 3. Can't open video card 3
22:24:41.715 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 4. Can't open video card 4
22:24:41.716 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 5. Can't open video card 5
22:24:41.718 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 6. Can't open video card 6
22:24:41.720 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 7. Can't open video card 7
22:24:41.722 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 8. Can't open video card 8
22:24:41.725 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 9. Can't open video card 9
22:24:41.725 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().173
Detected 10 V4L video capture device.
22:24:41.726 FINEST: impl.media.device.JmfDeviceDetector.setupJMF().345
[exit] setupJMF
22:24:41.726 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().81
Scanning for configured Audio Devices.
22:24:41.727 FINE:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
Found 1 capture devices: [JavaSound audio capture : javasound://44100
22:24:41.726 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().81
Scanning for configured Audio Devices.
22:24:41.727 FINE:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
Found 1 capture devices: [JavaSound audio capture : javasound://44100
LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
]
22:24:41.729 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().92
Found JavaSound audio capture as an audio capture device.
22:24:41.729 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().96
Scanning for configured Video Devices.
22:24:41.730 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().116
No Video Device was found.
22:24:41.731 FINE: impl.media.MediaControl.registerCustomPackages().1103
Adding package : net.java.sip.communicator.impl
22:24:41.762 FINE: impl.media.MediaControl.registerCustomPackages().1109
Registering new protocol prefix list : [javax, com.sun, com.ibm,
net.java.sip.communicator.impl]
22:24:41.763 INFO: impl.media.MediaControl.createDataSource().632 Creating
datasource for:javasound://44100
22:24:41.995 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec
: net.java.sip.communicator.impl.media.codec.audio.alaw.JavaEncoder is
succsefully registered : true
22:24:41.997 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec
: net.java.sip.communicator.impl.media.codec.audio.alaw.DePacketizer is
succsefully registered : true
22:24:41.998 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec
: net.java.sip.communicator.impl.media.codec.audio.alaw.Packetizer is
succsefully registered : true
22:24:42.000 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec
: net.java.sip.communicator.impl.media.codec.audio.speex.JavaEncoder is
succsefully registered : true
22:24:42.001 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec
: net.java.sip.communicator.impl.media.codec.audio.speex.JavaDecoder is
succsefully registered : true
22:24:42.002 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec
: net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaEncoder is
succsefully registered : true
22:24:42.003 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec
: net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaDecoder is
succsefully registered : true
22:24:42.133 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361
registering format ilbc/rtp with RTP manager
22:24:42.134 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361
registering format ALAW/rtp with RTP manager
22:24:42.135 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361
registering format speex/rtp with RTP manager
22:24:42.312 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts().414 Discovered
0 stored accounts
22:24:42.313 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts().414 Discovered
0 stored accounts
22:24:42.316 FINE: impl.protocol.sip.SipActivator.start().48 Started.

···

On 8/10/07, Damian Minkov <damencho@damencho.com> wrote:

Hi Johny,

sip calls must be working OK on Linux.
What is the problem? Give more info.

damencho

Johny Kadarisman wrote:
> Hi all,
>
> any one successfully setup SC with sip calling feature?
> Any help or pointer appreciated.
>
> or should I just wait for FMJ integration?
>
> Thanks,

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


#4

additional logs on startup,

     [java] Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED
44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
     [java] Failed to configure: com.sun.media.ProcessEngine@ecf608
     [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit,
stereo, 4 bytes/frame, little-endian not supported.

     [java] Error: Unable to configure com.sun.media.ProcessEngine@ecf608
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:498)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:396)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:188)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start
(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:498)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:396)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:188)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start
(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] 00:11:52.981 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts().414 Discovered
0 stored accounts
     [java] 00:11:52.982 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts().414 Discovered
0 stored accounts

···

On 8/10/07, Johny Kadarisman <jkr888@gmail.com> wrote:

Hi Damian,

when i tried to make a call, i get following exception:

     [java] Exception in thread "Thread-191"
java.lang.NullPointerException: Specified service reference cannot be
null.
     [java] at org.apache.felix.framework.BundleContextImpl.getService
(BundleContextImpl.java:479)
     [java] at
net.java.sip.communicator.impl.protocol.sip.SipActivator.getMediaService(
SipActivator.java:143)
     [java] at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall
(OperationSetBasicTelephonySipImpl.java:226)
     [java] at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall(
OperationSetBasicTelephonySipImpl.java:116)
     [java] at
net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run
(CallManager.java:867)

It seems failed to get media services, I suspect something related to
capture media is not detected. below is the logs related to media bundle. It
somehow detected JavaSound devices. What is JavaSound devices anyway?

22:24:40.951 FINE: impl.media.MediaActivator.start().53 Started.
22:24:41.063 FINEST: impl.media.device.JmfDeviceDetector.setupJMF().294
[entry] setupJMF
22:24:41.064 FINEST:
impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile ().157
[entry] getPrivatePersistentFile
22:24:41.065 FINEST: impl.fileaccess.FileAccessServiceImpl.accessibleFile().293
[entry] accessibleFile
22:24:41.065 FINEST: impl.fileaccess.FileAccessServiceImpl.accessibleFile().328 [exit] accessibleFile
22:24:41.066 FINEST:
impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile().170
[exit] getPrivatePersistentFile
22:24:41.145 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices ().116 Looking
for Audio capturer
22:24:41.255 INFO: impl.media.device.DirectSoundAuto.<init>().55
DirectSound Capture Supported = false
22:24:41.626 INFO: impl.media.device.JavaSoundAuto.<init>().43 JavaSound
Capture Supported = true
22:24:41.655 INFO: impl.media.device.JavaSoundAuto.<init>().69
JavaSoundAuto: Committed ok
22:24:41.656 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().122 Looking for
video capture devices
22:24:41.657 FINE:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().135 No VFW
video detected: com/sun/media/protocol/vfw/VFWCapture
22:24:41.674 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices ().144 Detected 0
SUN Video capture device(s).
22:24:41.691 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices().159 Detected 0
SUN Video Plus device(s).
22:24:41.695 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device
for index 0. Can't open video card 0
22:24:41.708 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 1. Can't open video card 1
22:24:41.710 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device
for index 2. Can't open video card 2
22:24:41.712 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 3. Can't open video card 3
22:24:41.715 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device
for index 4. Can't open video card 4
22:24:41.716 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 5. Can't open video card 5
22:24:41.718 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device
for index 6. Can't open video card 6
22:24:41.720 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 7. Can't open video card 7
22:24:41.722 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device
for index 8. Can't open video card 8
22:24:41.725 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for
index 9. Can't open video card 9
22:24:41.725 INFO:
impl.media.device.JmfDeviceDetector.detectCaptureDevices ().173 Detected
10 V4L video capture device.
22:24:41.726 FINEST: impl.media.device.JmfDeviceDetector.setupJMF().345
[exit] setupJMF
22:24:41.726 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().81 Scanning for configured Audio Devices.
22:24:41.727 FINE:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
Found 1 capture devices: [JavaSound audio capture : javasound://44100
22:24: 41.726 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().81
Scanning for configured Audio Devices.
22:24:41.727 FINE:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
Found 1 capture devices: [JavaSound audio capture : javasound://44100
LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
]
22:24:41.729 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().92
Found JavaSound audio capture as an audio capture device.
22:24:41.729 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().96 Scanning for configured Video Devices.
22:24:41.730 INFO:
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().116
No Video Device was found.
22:24:41.731 FINE: impl.media.MediaControl.registerCustomPackages ().1103
Adding package : net.java.sip.communicator.impl
22:24:41.762 FINE: impl.media.MediaControl.registerCustomPackages().1109
Registering new protocol prefix list : [javax, com.sun, com.ibm,
net.java.sip.communicator.impl ]
22:24:41.763 INFO: impl.media.MediaControl.createDataSource().632 Creating
datasource for:javasound://44100
22:24:41.995 FINE: impl.media.MediaControl.registerCustomCodecs().1055
Codec : net.java.sip.communicator.impl.media.codec.audio.alaw.JavaEncoderis succsefully registered : true
22:24:41.997 FINE: impl.media.MediaControl.registerCustomCodecs().1055
Codec : net.java.sip.communicator.impl.media.codec.audio.alaw.DePacketizeris succsefully registered : true
22:24: 41.998 FINE: impl.media.MediaControl.registerCustomCodecs().1055
Codec : net.java.sip.communicator.impl.media.codec.audio.alaw.Packetizeris succsefully registered : true
22:24:42.000 FINE: impl.media.MediaControl.registerCustomCodecs ().1055
Codec : net.java.sip.communicator.impl.media.codec.audio.speex.JavaEncoderis succsefully registered : true
22:24:42.001 FINE: impl.media.MediaControl.registerCustomCodecs().1055
Codec : net.java.sip.communicator.impl.media.codec.audio.speex.JavaDecoderis succsefully registered : true
22:24:42.002 FINE: impl.media.MediaControl.registerCustomCodecs().1055
Codec : net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaEncoderis succsefully registered : true
22:24: 42.003 FINE: impl.media.MediaControl.registerCustomCodecs().1055
Codec : net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaDecoderis succsefully registered : true
22:24:42.133 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering format ilbc/rtp with RTP manager
22:24:42.134 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361
registering format ALAW/rtp with RTP manager
22:24:42.135 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering format speex/rtp with RTP manager
22:24:42.312 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
Discovered 0 stored accounts
22:24:42.313 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
Discovered 0 stored accounts
22:24:42.316 FINE: impl.protocol.sip.SipActivator.start().48 Started.

On 8/10/07, Damian Minkov < damencho@damencho.com> wrote:
>
> Hi Johny,
>
> sip calls must be working OK on Linux.
> What is the problem? Give more info.
>
> damencho
>
> Johny Kadarisman wrote:
> > Hi all,
> >
> > any one successfully setup SC with sip calling feature?
> > Any help or pointer appreciated.
> >
> > or should I just wait for FMJ integration?
> >
> > Thanks,
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>
>


#5

Hi,

the exception means that the media service failed to start.
But in the logs you provide this cannot be seen.
Can you send me the log file from $HOME/.sip-communicator/logs
How you run it ? You have installed it from installation package and run it from shortcut ?

damencho

P.S. " The Java Sound API specifies mechanisms for capturing, processing, and playing back audio...."

Johny Kadarisman wrote:

···

Hi Damian,

when i tried to make a call, i get following exception:

     [java] Exception in thread "Thread-191" java.lang.NullPointerException: Specified service reference cannot be null.
     [java] at org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479)
     [java] at net.java.sip.communicator.impl.protocol.sip.SipActivator.getMediaService(SipActivator.java:143)
     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall(OperationSetBasicTelephonySipImpl.java:226)
     [java] at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall (OperationSetBasicTelephonySipImpl.java:116)
     [java] at net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run(CallManager.java:867)

It seems failed to get media services, I suspect something related to capture media is not detected. below is the logs related to media bundle. It somehow detected JavaSound devices. What is JavaSound devices anyway?

22:24:40.951 FINE: impl.media.MediaActivator.start().53 Started.
22:24:41.063 FINEST: impl.media.device.JmfDeviceDetector.setupJMF().294 [entry] setupJMF
22:24:41.064 FINEST: impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile ().157 [entry] getPrivatePersistentFile
22:24:41.065 FINEST: impl.fileaccess.FileAccessServiceImpl.accessibleFile().293 [entry] accessibleFile
22:24:41.065 FINEST: impl.fileaccess.FileAccessServiceImpl.accessibleFile ().328 [exit] accessibleFile
22:24:41.066 FINEST: impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile().170 [exit] getPrivatePersistentFile
22:24:41.145 INFO: impl.media.device.JmfDeviceDetector.detectCaptureDevices ().116 Looking for Audio capturer
22:24:41.255 INFO: impl.media.device.DirectSoundAuto.<init>().55 DirectSound Capture Supported = false
22:24:41.626 INFO: impl.media.device.JavaSoundAuto.<init>().43 JavaSound Capture Supported = true
22:24:41.655 INFO: impl.media.device.JavaSoundAuto.<init>().69 JavaSoundAuto: Committed ok
22:24:41.656 INFO: impl.media.device.JmfDeviceDetector.detectCaptureDevices().122 Looking for video capture devices
22:24:41.657 FINE: impl.media.device.JmfDeviceDetector.detectCaptureDevices().135 No VFW video detected: com/sun/media/protocol/vfw/VFWCapture
22:24:41.674 INFO: impl.media.device.JmfDeviceDetector.detectCaptureDevices ().144 Detected 0 SUN Video capture device(s).
22:24:41.691 INFO: impl.media.device.JmfDeviceDetector.detectCaptureDevices().159 Detected 0 SUN Video Plus device(s).
22:24:41.695 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device for index 0. Can't open video card 0
22:24:41.708 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for index 1. Can't open video card 1
22:24:41.710 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device for index 2. Can't open video card 2
22:24:41.712 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for index 3. Can't open video card 3
22:24:41.715 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device for index 4. Can't open video card 4
22:24:41.716 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for index 5. Can't open video card 5
22:24:41.718 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device for index 6. Can't open video card 6
22:24:41.720 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for index 7. Can't open video card 7
22:24:41.722 FINE: impl.media.device.V4LAuto.autoDetect ().94 No device for index 8. Can't open video card 8
22:24:41.725 FINE: impl.media.device.V4LAuto.autoDetect().94 No device for index 9. Can't open video card 9
22:24:41.725 INFO: impl.media.device.JmfDeviceDetector.detectCaptureDevices ().173 Detected 10 V4L video capture device.
22:24:41.726 FINEST: impl.media.device.JmfDeviceDetector.setupJMF().345 [exit] setupJMF
22:24:41.726 INFO: impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices ().81 Scanning for configured Audio Devices.
22:24:41.727 FINE: impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89 Found 1 capture devices: [JavaSound audio capture : javasound://44100
22:24: 41.726 INFO: impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().81 Scanning for configured Audio Devices.
22:24:41.727 FINE: impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89 Found 1 capture devices: [JavaSound audio capture : javasound://44100
LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
]
22:24:41.729 INFO: impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().92 Found JavaSound audio capture as an audio capture device.
22:24:41.729 INFO: impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices ().96 Scanning for configured Video Devices.
22:24:41.730 INFO: impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().116 No Video Device was found.
22:24:41.731 FINE: impl.media.MediaControl.registerCustomPackages ().1103 Adding package : net.java.sip.communicator.impl
22:24:41.762 FINE: impl.media.MediaControl.registerCustomPackages().1109 Registering new protocol prefix list : [javax, com.sun, com.ibm, net.java.sip.communicator.impl ]
22:24:41.763 INFO: impl.media.MediaControl.createDataSource().632 Creating datasource for:javasound://44100
22:24:41.995 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec : net.java.sip.communicator.impl.media.codec.audio.alaw.JavaEncoder is succsefully registered : true
22:24:41.997 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec : net.java.sip.communicator.impl.media.codec.audio.alaw.DePacketizer is succsefully registered : true
22:24: 41.998 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec : net.java.sip.communicator.impl.media.codec.audio.alaw.Packetizer is succsefully registered : true
22:24:42.000 FINE: impl.media.MediaControl.registerCustomCodecs ().1055 Codec : net.java.sip.communicator.impl.media.codec.audio.speex.JavaEncoder is succsefully registered : true
22:24:42.001 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec : net.java.sip.communicator.impl.media.codec.audio.speex.JavaDecoder is succsefully registered : true
22:24:42.002 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec : net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaEncoder is succsefully registered : true
22:24: 42.003 FINE: impl.media.MediaControl.registerCustomCodecs().1055 Codec : net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaDecoder is succsefully registered : true
22:24:42.133 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats ().1361 registering format ilbc/rtp with RTP manager
22:24:42.134 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering format ALAW/rtp with RTP manager
22:24:42.135 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats ().1361 registering format speex/rtp with RTP manager
22:24:42.312 FINE: service.protocol.ProtocolProviderFactory.loadStoredAccounts().414 Discovered 0 stored accounts
22:24:42.313 FINE: service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414 Discovered 0 stored accounts
22:24:42.316 FINE: impl.protocol.sip.SipActivator.start().48 Started.

On 8/10/07, *Damian Minkov* < damencho@damencho.com > <mailto:damencho@damencho.com>> wrote:

    Hi Johny,

    sip calls must be working OK on Linux.
    What is the problem? Give more info.

    damencho

    Johny Kadarisman wrote:
    > Hi all,
    >
    > any one successfully setup SC with sip calling feature?
    > Any help or pointer appreciated.
    >
    > or should I just wait for FMJ integration?
    >
    > Thanks,

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

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


#6

Hi again,

sorry I haven't read your second email before sending mine :slight_smile:
Hum strange it cannot open the line in the media service. So no media can be captured and so
the media service fail to start. Can you give more info about OS, java version and which build of sip-communicator you have installed ?
Thanks!

damencho

Johny Kadarisman wrote:

···

additional logs on startup,

     [java] Cannot open audio device for input: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
     [java] Failed to configure: com.sun.media.ProcessEngine@ecf608
     [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.

     [java] Error: Unable to configure com.sun.media.ProcessEngine@ecf608
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java :342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
     [java] at net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:498)
     [java] at net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:396)
     [java] at net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:188)
     [java] at net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run (MediaServiceImpl.java:282)
     [java] at net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java :60)
     [java] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
     [java] at org.apache.felix.framework.Felix.startBundle (Felix.java:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java :342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java:123)
     [java] at net.java.sip.communicator.impl.media.MediaControl.initProcessor(MediaControl.java:498)
     [java] at net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(MediaControl.java:396)
     [java] at net.java.sip.communicator.impl.media.MediaControl.initialize(MediaControl.java:188)
     [java] at net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run (MediaServiceImpl.java:282)
     [java] at net.java.sip.communicator.impl.media.MediaServiceImpl.start(MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start(MediaActivator.java :60)
     [java] at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
     [java] at org.apache.felix.framework.Felix.startBundle (Felix.java:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] 00:11:52.981 FINE: service.protocol.ProtocolProviderFactory.loadStoredAccounts().414 Discovered 0 stored accounts
     [java] 00:11:52.982 FINE: service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414 Discovered 0 stored accounts

On 8/10/07, *Johny Kadarisman* <jkr888@gmail.com > <mailto:jkr888@gmail.com>> wrote:

    Hi Damian,

    when i tried to make a call, i get following exception:

         [java] Exception in thread "Thread-191"
    java.lang.NullPointerException: Specified service reference cannot
    be null.
         [java] at
    org.apache.felix.framework.BundleContextImpl.getService(BundleContextImpl.java:479)
         [java] at
    net.java.sip.communicator.impl.protocol.sip.SipActivator.getMediaService(SipActivator.java:143)
         [java] at
    net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall(OperationSetBasicTelephonySipImpl.java:226)
         [java] at
    net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall
    (OperationSetBasicTelephonySipImpl.java:116)
         [java] at
    net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run(CallManager.java:867)

    It seems failed to get media services, I suspect something related
    to capture media is not detected. below is the logs related to
    media bundle. It somehow detected JavaSound devices. What is
    JavaSound devices anyway?

    22:24:40.951 FINE: impl.media.MediaActivator.start().53 Started.
    22:24:41.063 FINEST:
    impl.media.device.JmfDeviceDetector.setupJMF().294 [entry] setupJMF
    22:24:41.064 FINEST:
    impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile
    ().157 [entry] getPrivatePersistentFile
    22:24:41.065 FINEST:
    impl.fileaccess.FileAccessServiceImpl.accessibleFile().293 [entry]
    accessibleFile
    22:24:41.065 FINEST:
    impl.fileaccess.FileAccessServiceImpl.accessibleFile ().328 [exit]
    accessibleFile
    22:24:41.066 FINEST:
    impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile().170
    [exit] getPrivatePersistentFile
    22:24:41.145 INFO:
    impl.media.device.JmfDeviceDetector.detectCaptureDevices ().116
    Looking for Audio capturer
    22:24:41.255 INFO: impl.media.device.DirectSoundAuto.<init>().55
    DirectSound Capture Supported = false
    22:24:41.626 INFO: impl.media.device.JavaSoundAuto.<init>().43
    JavaSound Capture Supported = true
    22:24:41.655 INFO: impl.media.device.JavaSoundAuto.<init>().69
    JavaSoundAuto: Committed ok
    22:24:41.656 INFO:
    impl.media.device.JmfDeviceDetector.detectCaptureDevices().122
    Looking for video capture devices
    22:24:41.657 FINE:
    impl.media.device.JmfDeviceDetector.detectCaptureDevices().135 No
    VFW video detected: com/sun/media/protocol/vfw/VFWCapture
    22:24:41.674 INFO:
    impl.media.device.JmfDeviceDetector.detectCaptureDevices ().144
    Detected 0 SUN Video capture device(s).
    22:24:41.691 INFO:
    impl.media.device.JmfDeviceDetector.detectCaptureDevices().159
    Detected 0 SUN Video Plus device(s).
    22:24:41.695 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
    device for index 0. Can't open video card 0
    22:24:41.708 FINE: impl.media.device.V4LAuto.autoDetect().94 No
    device for index 1. Can't open video card 1
    22:24:41.710 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
    device for index 2. Can't open video card 2
    22:24:41.712 FINE: impl.media.device.V4LAuto.autoDetect().94 No
    device for index 3. Can't open video card 3
    22:24:41.715 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
    device for index 4. Can't open video card 4
    22:24:41.716 FINE: impl.media.device.V4LAuto.autoDetect().94 No
    device for index 5. Can't open video card 5
    22:24:41.718 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
    device for index 6. Can't open video card 6
    22:24:41.720 FINE: impl.media.device.V4LAuto.autoDetect().94 No
    device for index 7. Can't open video card 7
    22:24:41.722 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
    device for index 8. Can't open video card 8
    22:24:41.725 FINE: impl.media.device.V4LAuto.autoDetect().94 No
    device for index 9. Can't open video card 9
    22:24:41.725 INFO:
    impl.media.device.JmfDeviceDetector.detectCaptureDevices ().173
    Detected 10 V4L video capture device.
    22:24:41.726 FINEST:
    impl.media.device.JmfDeviceDetector.setupJMF().345 [exit] setupJMF
    22:24:41.726 INFO:
    impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
    ().81 Scanning for configured Audio Devices.
    22:24:41.727 FINE:
    impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
    Found 1 capture devices: [JavaSound audio capture : javasound://44100
    22:24: 41.726 INFO:
    impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().81
    Scanning for configured Audio Devices.
    22:24:41.727 FINE:
    impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
    Found 1 capture devices: [JavaSound audio capture : javasound://44100
    LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
    LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
    LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
    LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
    LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
    ]
    22:24:41.729 INFO:
    impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().92
    Found JavaSound audio capture as an audio capture device.
    22:24:41.729 INFO:
    impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
    ().96 Scanning for configured Video Devices.
    22:24:41.730 INFO:
    impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().116
    No Video Device was found.
    22:24:41.731 FINE: impl.media.MediaControl.registerCustomPackages
    ().1103 Adding package : net.java.sip.communicator.impl
    22:24:41.762 FINE:
    impl.media.MediaControl.registerCustomPackages().1109 Registering
    new protocol prefix list : [javax, com.sun, com.ibm,
    net.java.sip.communicator.impl ]
    22:24:41.763 INFO: impl.media.MediaControl.createDataSource().632
    Creating datasource for:javasound://44100
    22:24:41.995 FINE:
    impl.media.MediaControl.registerCustomCodecs().1055 Codec :
    net.java.sip.communicator.impl.media.codec.audio.alaw.JavaEncoder
    is succsefully registered : true
    22:24:41.997 FINE:
    impl.media.MediaControl.registerCustomCodecs().1055 Codec :
    net.java.sip.communicator.impl.media.codec.audio.alaw.DePacketizer
    is succsefully registered : true
    22:24: 41.998 FINE:
    impl.media.MediaControl.registerCustomCodecs().1055 Codec :
    net.java.sip.communicator.impl.media.codec.audio.alaw.Packetizer
    is succsefully registered : true
    22:24:42.000 FINE: impl.media.MediaControl.registerCustomCodecs
    ().1055 Codec :
    net.java.sip.communicator.impl.media.codec.audio.speex.JavaEncoder
    is succsefully registered : true
    22:24:42.001 FINE:
    impl.media.MediaControl.registerCustomCodecs().1055 Codec :
    net.java.sip.communicator.impl.media.codec.audio.speex.JavaDecoder
    is succsefully registered : true
    22:24:42.002 FINE:
    impl.media.MediaControl.registerCustomCodecs().1055 Codec :
    net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaEncoder
    is succsefully registered : true
    22:24: 42.003 FINE:
    impl.media.MediaControl.registerCustomCodecs().1055 Codec :
    net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaDecoder
    is succsefully registered : true
    22:24:42.133 FINE:
    impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
    registering format ilbc/rtp with RTP manager
    22:24:42.134 FINE:
    impl.media.CallSessionImpl.registerCustomCodecFormats().1361
    registering format ALAW/rtp with RTP manager
    22:24:42.135 FINE:
    impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
    registering format speex/rtp with RTP manager
    22:24:42.312 FINE:
    service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
    Discovered 0 stored accounts
    22:24:42.313 FINE:
    service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
    Discovered 0 stored accounts
    22:24:42.316 FINE: impl.protocol.sip.SipActivator.start().48 Started.

    On 8/10/07, *Damian Minkov* < damencho@damencho.com > <mailto:damencho@damencho.com>> wrote:

        Hi Johny,

        sip calls must be working OK on Linux.
        What is the problem? Give more info.

        damencho

        Johny Kadarisman wrote:
        > Hi all,
        >
        > any one successfully setup SC with sip calling feature?
        > Any help or pointer appreciated.
        >
        > or should I just wait for FMJ integration?
        >
        > Thanks,

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

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


#7

Hi Damian, Thanks,

my OS is Ubuntu linux with java 6

java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)

I think, I'm using cvs version.

I'm testing simple java audio capture program, in term of mic, everything
looks fine.

···

On 8/11/07, Damian Minkov <damencho@damencho.com> wrote:

Hi again,

sorry I haven't read your second email before sending mine :slight_smile:
Hum strange it cannot open the line in the media service. So no media
can be captured and so
the media service fail to start. Can you give more info about OS, java
version and which build of sip-communicator you have installed ?
Thanks!

damencho

Johny Kadarisman wrote:
> additional logs on startup,
>
>
> [java] Cannot open audio device for input:
> javax.sound.sampled.LineUnavailableException: line with format
> PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian
> not supported.
> [java] Failed to configure: com.sun.media.ProcessEngine@ecf608
> [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16
> bit, stereo, 4 bytes/frame, little-endian not supported.
>
> [java] Error: Unable to configure
com.sun.media.ProcessEngine@ecf608
> [java] javax.media.NotConfiguredError: setContentDescriptor
> cannot be called before configured
> [java] at
> com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
> [java] at
> com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java
:123)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:498)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:396)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:188)
> [java] at
>
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> (MediaServiceImpl.java:282)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
> [java] at
> net.java.sip.communicator.impl.media.MediaActivator.start(
MediaActivator.java
> :60)
> [java] at
> org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
> [java] at
> org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> [java] at org.apache.felix.framework.Felix.startBundle
> (Felix.java:1201)
> [java] at
> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> [java] at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] javax.media.NotConfiguredError: setContentDescriptor
> cannot be called before configured
> [java] at
> com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
> [java] at
> com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java
:123)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:498)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:396)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:188)
> [java] at
>
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> (MediaServiceImpl.java:282)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
> [java] at
> net.java.sip.communicator.impl.media.MediaActivator.start(
MediaActivator.java
> :60)
> [java] at
> org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
> [java] at
> org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> [java] at org.apache.felix.framework.Felix.startBundle
> (Felix.java:1201)
> [java] at
> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> [java] at
> org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] 00:11:52.981 FINE:
> service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> Discovered 0 stored accounts
> [java] 00:11:52.982 FINE:
> service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
> Discovered 0 stored accounts
>
>
>
>
>
>
> On 8/10/07, *Johny Kadarisman* <jkr888@gmail.com > > <mailto:jkr888@gmail.com>> wrote:
>
> Hi Damian,
>
> when i tried to make a call, i get following exception:
>
> [java] Exception in thread "Thread-191"
> java.lang.NullPointerException: Specified service reference cannot
> be null.
> [java] at
> org.apache.felix.framework.BundleContextImpl.getService(
BundleContextImpl.java:479)
> [java] at
>
net.java.sip.communicator.impl.protocol.sip.SipActivator.getMediaService(
SipActivator.java:143)
> [java] at
>
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall
(OperationSetBasicTelephonySipImpl.java:226)
> [java] at
>
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall
> (OperationSetBasicTelephonySipImpl.java:116)
> [java] at
>
net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run
(CallManager.java:867)
>
> It seems failed to get media services, I suspect something related
> to capture media is not detected. below is the logs related to
> media bundle. It somehow detected JavaSound devices. What is
> JavaSound devices anyway?
>
> 22:24:40.951 FINE: impl.media.MediaActivator.start().53 Started.
> 22:24:41.063 FINEST:
> impl.media.device.JmfDeviceDetector.setupJMF().294 [entry] setupJMF
> 22:24:41.064 FINEST:
> impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile
> ().157 [entry] getPrivatePersistentFile
> 22:24:41.065 FINEST:
> impl.fileaccess.FileAccessServiceImpl.accessibleFile().293 [entry]
> accessibleFile
> 22:24:41.065 FINEST:
> impl.fileaccess.FileAccessServiceImpl.accessibleFile ().328 [exit]
> accessibleFile
> 22:24:41.066 FINEST:
> impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile().170
> [exit] getPrivatePersistentFile
> 22:24:41.145 INFO:
> impl.media.device.JmfDeviceDetector.detectCaptureDevices ().116
> Looking for Audio capturer
> 22:24:41.255 INFO: impl.media.device.DirectSoundAuto.<init>().55
> DirectSound Capture Supported = false
> 22:24:41.626 INFO: impl.media.device.JavaSoundAuto.<init>().43
> JavaSound Capture Supported = true
> 22:24:41.655 INFO: impl.media.device.JavaSoundAuto.<init>().69
> JavaSoundAuto: Committed ok
> 22:24:41.656 INFO:
> impl.media.device.JmfDeviceDetector.detectCaptureDevices().122
> Looking for video capture devices
> 22:24:41.657 FINE:
> impl.media.device.JmfDeviceDetector.detectCaptureDevices().135 No
> VFW video detected: com/sun/media/protocol/vfw/VFWCapture
> 22:24:41.674 INFO:
> impl.media.device.JmfDeviceDetector.detectCaptureDevices ().144
> Detected 0 SUN Video capture device(s).
> 22:24:41.691 INFO:
> impl.media.device.JmfDeviceDetector.detectCaptureDevices().159
> Detected 0 SUN Video Plus device(s).
> 22:24:41.695 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> device for index 0. Can't open video card 0
> 22:24:41.708 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> device for index 1. Can't open video card 1
> 22:24:41.710 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> device for index 2. Can't open video card 2
> 22:24:41.712 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> device for index 3. Can't open video card 3
> 22:24:41.715 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> device for index 4. Can't open video card 4
> 22:24:41.716 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> device for index 5. Can't open video card 5
> 22:24:41.718 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> device for index 6. Can't open video card 6
> 22:24:41.720 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> device for index 7. Can't open video card 7
> 22:24:41.722 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> device for index 8. Can't open video card 8
> 22:24:41.725 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> device for index 9. Can't open video card 9
> 22:24:41.725 INFO:
> impl.media.device.JmfDeviceDetector.detectCaptureDevices ().173
> Detected 10 V4L video capture device.
> 22:24:41.726 FINEST:
> impl.media.device.JmfDeviceDetector.setupJMF().345 [exit] setupJMF
> 22:24:41.726 INFO:
>
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> ().81 Scanning for configured Audio Devices.
> 22:24:41.727 FINE:
>
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
> Found 1 capture devices: [JavaSound audio capture :
javasound://44100
> 22:24: 41.726 INFO:
>
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().81
> Scanning for configured Audio Devices.
> 22:24:41.727 FINE:
>
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
> Found 1 capture devices: [JavaSound audio capture :
javasound://44100
> LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
> LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
> LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
> LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
> ]
> 22:24:41.729 INFO:
>
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().92
> Found JavaSound audio capture as an audio capture device.
> 22:24:41.729 INFO:
>
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> ().96 Scanning for configured Video Devices.
> 22:24:41.730 INFO:
>
impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
().116
> No Video Device was found.
> 22:24:41.731 FINE: impl.media.MediaControl.registerCustomPackages
> ().1103 Adding package : net.java.sip.communicator.impl
> 22:24:41.762 FINE:
> impl.media.MediaControl.registerCustomPackages().1109 Registering
> new protocol prefix list : [javax, com.sun, com.ibm,
> net.java.sip.communicator.impl ]
> 22:24:41.763 INFO: impl.media.MediaControl.createDataSource().632
> Creating datasource for:javasound://44100
> 22:24:41.995 FINE:
> impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> net.java.sip.communicator.impl.media.codec.audio.alaw.JavaEncoder
> is succsefully registered : true
> 22:24:41.997 FINE:
> impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> net.java.sip.communicator.impl.media.codec.audio.alaw.DePacketizer
> is succsefully registered : true
> 22:24: 41.998 FINE:
> impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> net.java.sip.communicator.impl.media.codec.audio.alaw.Packetizer
> is succsefully registered : true
> 22:24:42.000 FINE: impl.media.MediaControl.registerCustomCodecs
> ().1055 Codec :
> net.java.sip.communicator.impl.media.codec.audio.speex.JavaEncoder
> is succsefully registered : true
> 22:24:42.001 FINE:
> impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> net.java.sip.communicator.impl.media.codec.audio.speex.JavaDecoder
> is succsefully registered : true
> 22:24:42.002 FINE:
> impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaEncoder
> is succsefully registered : true
> 22:24: 42.003 FINE:
> impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaDecoder
> is succsefully registered : true
> 22:24:42.133 FINE:
> impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> registering format ilbc/rtp with RTP manager
> 22:24:42.134 FINE:
> impl.media.CallSessionImpl.registerCustomCodecFormats().1361
> registering format ALAW/rtp with RTP manager
> 22:24:42.135 FINE:
> impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> registering format speex/rtp with RTP manager
> 22:24:42.312 FINE:
> service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> Discovered 0 stored accounts
> 22:24:42.313 FINE:
> service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
> Discovered 0 stored accounts
> 22:24:42.316 FINE: impl.protocol.sip.SipActivator.start().48
Started.
>
>
>
>
>
>
> On 8/10/07, *Damian Minkov* < damencho@damencho.com > > <mailto:damencho@damencho.com>> wrote:
>
> Hi Johny,
>
> sip calls must be working OK on Linux.
> What is the problem? Give more info.
>
> damencho
>
> Johny Kadarisman wrote:
> > Hi all,
> >
> > any one successfully setup SC with sip calling feature?
> > Any help or pointer appreciated.
> >
> > or should I just wait for FMJ integration?
> >
> > Thanks,
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> dev-unsubscribe@sip-communicator.dev.java.net
> <mailto:dev-unsubscribe@sip-communicator.dev.java.net>
> For additional commands, e-mail:
> dev-help@sip-communicator.dev.java.net
> <mailto:dev-help@sip-communicator.dev.java.net>
>
>
>

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


#8

bump...

I'm still stuck with following exceptions! I don't undestand why it thrown
"NotConfiguredError", while it passed wait state statement as below?

            processorUtility.waitForState(sourceProcessor
                                          , Processor.Configured);

Anybody?

Thanks,

···

================================

     [java] Error: Unable to configure com.sun.media.ProcessEngine@ecf608
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:498)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:396)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:188)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start
(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] ERROR: Error starting reference:file:sc-bundles/media.jar (
org.osgi.framework.BundleException: Activator start error.)
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:498)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:396)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:188)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at net.java.sip.communicator.impl.media.MediaActivator.start
(MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(Felix.java
:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] 11:52:49.119 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts().414 Discovered
0 stored accounts
     [java] 11:52:49.120 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts().414 Discovered
0 stored accounts

=======================================

On 8/12/07, Johny Kadarisman <jkr888@gmail.com> wrote:

Hi Damian, Thanks,

my OS is Ubuntu linux with java 6

java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)

I think, I'm using cvs version.

I'm testing simple java audio capture program, in term of mic, everything
looks fine.

On 8/11/07, Damian Minkov <damencho@damencho.com> wrote:
>
> Hi again,
>
> sorry I haven't read your second email before sending mine :slight_smile:
> Hum strange it cannot open the line in the media service. So no media
> can be captured and so
> the media service fail to start. Can you give more info about OS, java
> version and which build of sip-communicator you have installed ?
> Thanks!
>
> damencho
>
>
> Johny Kadarisman wrote:
> > additional logs on startup,
> >
> >
> > [java] Cannot open audio device for input:
> > javax.sound.sampled.LineUnavailableException: line with format
> > PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian
> > not supported.
> > [java] Failed to configure: com.sun.media.ProcessEngine@ecf608
> > [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16
> > bit, stereo, 4 bytes/frame, little-endian not supported.
> >
> > [java] Error: Unable to configure
> com.sun.media.ProcessEngine@ecf608
> > [java] javax.media.NotConfiguredError: setContentDescriptor
> > cannot be called before configured
> > [java] at
> > com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
> > [java] at
> > com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java
> :123)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaControl.initProcessor(
> MediaControl.java :498)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
> MediaControl.java:396)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaControl.initialize (
> MediaControl.java:188)
> > [java] at
> >
> net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> > (MediaServiceImpl.java:282)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaServiceImpl.start (
> MediaServiceImpl.java:137)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaActivator.start(
> MediaActivator.java
> > :60)
> > [java] at
> > org.apache.felix.framework.util.SecureAction.startActivator (
> SecureAction.java:509)
> > [java] at
> > org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> > [java] at org.apache.felix.framework.Felix.startBundle
> > (Felix.java:1201)
> > [java] at
> > org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java
> :807)
> > [java] at
> > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> > [java] at java.lang.Thread.run(Thread.java:619)
> > [java] javax.media.NotConfiguredError: setContentDescriptor
> > cannot be called before configured
> > [java] at
> > com.sun.media.ProcessEngine.setContentDescriptor (ProcessEngine.java:342)
> > [java] at
> > com.sun.media.MediaProcessor.setContentDescriptor(MediaProcessor.java
> :123)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaControl.initProcessor (
> MediaControl.java:498)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
> MediaControl.java:396)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaControl.initialize (
> MediaControl.java:188)
> > [java] at
> >
> net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> > (MediaServiceImpl.java:282)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaServiceImpl.start (
> MediaServiceImpl.java:137)
> > [java] at
> > net.java.sip.communicator.impl.media.MediaActivator.start(
> MediaActivator.java
> > :60)
> > [java] at
> > org.apache.felix.framework.util.SecureAction.startActivator (
> SecureAction.java:509)
> > [java] at
> > org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> > [java] at org.apache.felix.framework.Felix.startBundle
> > (Felix.java:1201)
> > [java] at
> > org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java
> :807)
> > [java] at
> > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:256)
> > [java] at java.lang.Thread.run(Thread.java:619)
> > [java] 00:11:52.981 FINE:
> > service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> > Discovered 0 stored accounts
> > [java] 00:11:52.982 FINE:
> > service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
> > Discovered 0 stored accounts
> >
> >
> >
> >
> >
> >
> > On 8/10/07, *Johny Kadarisman* < jkr888@gmail.com > > > <mailto:jkr888@gmail.com>> wrote:
> >
> > Hi Damian,
> >
> > when i tried to make a call, i get following exception:
> >
> > [java] Exception in thread "Thread-191"
> > java.lang.NullPointerException: Specified service reference cannot
> > be null.
> > [java] at
> > org.apache.felix.framework.BundleContextImpl.getService (
> BundleContextImpl.java:479)
> > [java] at
> >
> net.java.sip.communicator.impl.protocol.sip.SipActivator.getMediaService
> (SipActivator.java:143)
> > [java] at
> >
> net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall(
> OperationSetBasicTelephonySipImpl.java:226)
> > [java] at
> >
> net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall
> > (OperationSetBasicTelephonySipImpl.java :116)
> > [java] at
> >
> net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run
> (CallManager.java:867)
> >
> > It seems failed to get media services, I suspect something related
>
> > to capture media is not detected. below is the logs related to
> > media bundle. It somehow detected JavaSound devices. What is
> > JavaSound devices anyway?
> >
> > 22:24:40.951 FINE: impl.media.MediaActivator.start().53 Started.
> > 22:24:41.063 FINEST:
> > impl.media.device.JmfDeviceDetector.setupJMF().294 [entry]
> setupJMF
> > 22:24:41.064 FINEST:
> > impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile
> > ().157 [entry] getPrivatePersistentFile
> > 22:24:41.065 FINEST:
> > impl.fileaccess.FileAccessServiceImpl.accessibleFile().293 [entry]
> > accessibleFile
> > 22:24:41.065 FINEST:
> > impl.fileaccess.FileAccessServiceImpl.accessibleFile ().328 [exit]
> > accessibleFile
> > 22:24:41.066 FINEST:
> > impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile
> ().170
> > [exit] getPrivatePersistentFile
> > 22:24:41.145 INFO:
> > impl.media.device.JmfDeviceDetector.detectCaptureDevices ().116
> > Looking for Audio capturer
> > 22:24:41.255 INFO: impl.media.device.DirectSoundAuto .<init>().55
> > DirectSound Capture Supported = false
> > 22:24:41.626 INFO: impl.media.device.JavaSoundAuto.<init>().43
> > JavaSound Capture Supported = true
> > 22:24:41.655 INFO: impl.media.device.JavaSoundAuto.<init>().69
> > JavaSoundAuto: Committed ok
> > 22:24:41.656 INFO:
> > impl.media.device.JmfDeviceDetector.detectCaptureDevices().122
> > Looking for video capture devices
> > 22:24:41.657 FINE:
> > impl.media.device.JmfDeviceDetector.detectCaptureDevices().135 No
> > VFW video detected: com/sun/media/protocol/vfw/VFWCapture
> > 22:24:41.674 INFO:
> > impl.media.device.JmfDeviceDetector.detectCaptureDevices ().144
> > Detected 0 SUN Video capture device(s).
> > 22:24:41.691 INFO:
> > impl.media.device.JmfDeviceDetector.detectCaptureDevices().159
> > Detected 0 SUN Video Plus device(s).
> > 22:24:41.695 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > device for index 0. Can't open video card 0
> > 22:24:41.708 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > device for index 1. Can't open video card 1
> > 22:24:41.710 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > device for index 2. Can't open video card 2
> > 22:24: 41.712 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> > device for index 3. Can't open video card 3
> > 22:24:41.715 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > device for index 4. Can't open video card 4
> > 22:24:41.716 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> > device for index 5. Can't open video card 5
> > 22:24:41.718 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > device for index 6. Can't open video card 6
> > 22:24:41.720 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> > device for index 7. Can't open video card 7
> > 22:24:41.722 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > device for index 8. Can't open video card 8
> > 22:24:41.725 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> > device for index 9. Can't open video card 9
> > 22:24:41.725 INFO:
> > impl.media.device.JmfDeviceDetector.detectCaptureDevices ().173
> > Detected 10 V4L video capture device.
> > 22:24:41.726 FINEST:
> > impl.media.device.JmfDeviceDetector.setupJMF().345 [exit] setupJMF
> > 22:24:41.726 INFO:
> >
> impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > ().81 Scanning for configured Audio Devices.
> > 22:24:41.727 FINE:
> >
> impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> ().89
> > Found 1 capture devices: [JavaSound audio capture :
> javasound://44100
> > 22:24: 41.726 INFO:
> >
> impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> ().81
> > Scanning for configured Audio Devices.
> > 22:24:41.727 FINE:
> >
> impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
> > Found 1 capture devices: [JavaSound audio capture :
> javasound://44100
> > LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > ]
> > 22:24:41.729 INFO:
> >
> impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> ().92
> > Found JavaSound audio capture as an audio capture device.
> > 22:24:41.729 INFO:
> >
> impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > ().96 Scanning for configured Video Devices.
> > 22:24:41.730 INFO:
> >
> impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> ().116
> > No Video Device was found.
> > 22:24: 41.731 FINE: impl.media.MediaControl.registerCustomPackages
> > ().1103 Adding package : net.java.sip.communicator.impl
> > 22:24:41.762 FINE:
> > impl.media.MediaControl.registerCustomPackages().1109 Registering
> > new protocol prefix list : [javax, com.sun, com.ibm,
> > net.java.sip.communicator.impl ]
> > 22:24:41.763 INFO: impl.media.MediaControl.createDataSource().632
> > Creating datasource for:javasound://44100
> > 22:24:41.995 FINE:
> > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > net.java.sip.communicator.impl.media.codec.audio.alaw.JavaEncoder
> > is succsefully registered : true
> > 22:24:41.997 FINE:
> > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > net.java.sip.communicator.impl.media.codec.audio.alaw.DePacketizer
> > is succsefully registered : true
> > 22:24: 41.998 FINE:
> > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > net.java.sip.communicator.impl.media.codec.audio.alaw.Packetizer
> > is succsefully registered : true
> > 22:24:42.000 FINE: impl.media.MediaControl.registerCustomCodecs
> > ().1055 Codec :
> > net.java.sip.communicator.impl.media.codec.audio.speex.JavaEncoder
> > is succsefully registered : true
> > 22:24:42.001 FINE:
> > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > net.java.sip.communicator.impl.media.codec.audio.speex.JavaDecoder
> > is succsefully registered : true
> > 22:24:42.002 FINE:
> > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaEncoder
> > is succsefully registered : true
> > 22:24: 42.003 FINE:
> > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaDecoder
> > is succsefully registered : true
> > 22:24:42.133 FINE:
> > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > registering format ilbc/rtp with RTP manager
> > 22:24:42.134 FINE:
> > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > registering format ALAW/rtp with RTP manager
> > 22:24:42.135 FINE:
> > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > registering format speex/rtp with RTP manager
> > 22:24:42.312 FINE:
> > service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> > Discovered 0 stored accounts
> > 22:24:42.313 FINE:
> > service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
> > Discovered 0 stored accounts
> > 22:24:42.316 FINE: impl.protocol.sip.SipActivator.start().48
> Started.
> >
> >
> >
> >
> >
> >
> > On 8/10/07, *Damian Minkov* < damencho@damencho.com > > > <mailto:damencho@damencho.com>> wrote:
> >
> > Hi Johny,
> >
> > sip calls must be working OK on Linux.
> > What is the problem? Give more info.
> >
> > damencho
> >
> > Johny Kadarisman wrote:
> > > Hi all,
> > >
> > > any one successfully setup SC with sip calling feature?
> > > Any help or pointer appreciated.
> > >
> > > or should I just wait for FMJ integration?
> > >
> > > Thanks,
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > dev-unsubscribe@sip-communicator.dev.java.net
> > <mailto: dev-unsubscribe@sip-communicator.dev.java.net>
> > For additional commands, e-mail:
> > dev-help@sip-communicator.dev.java.net
> > <mailto:dev-help@sip-communicator.dev.java.net>
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
> For additional commands, e-mail: dev-help@sip-communicator.dev.java.net
>
>


#9

Okay, I tried on windows, its worked fine...

additional detail is my ubuntu is on "centrino dual core". Is it possible
that cause by that?

oh well....

···

On 8/14/07, Johny Kadarisman <jkr888@gmail.com> wrote:

bump...

I'm still stuck with following exceptions! I don't undestand why it thrown
"NotConfiguredError", while it passed wait state statement as below?

            processorUtility.waitForState (sourceProcessor
                                          , Processor.Configured);

Anybody?

Thanks,

================================

     [java] Error: Unable to configure com.sun.media.ProcessEngine@ecf608
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor(
MediaControl.java:498)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices (
MediaControl.java:396)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:188)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(
MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start(
MediaServiceImpl.java:137)
     [java] at
net.java.sip.communicator.impl.media.MediaActivator.start(
MediaActivator.java :60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java:509)
     [java] at org.apache.felix.framework.Felix._startBundle(
Felix.java:1260)
     [java] at org.apache.felix.framework.Felix.startBundle (
Felix.java:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel
(Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] ERROR: Error starting reference:file:sc-bundles/media.jar (
org.osgi.framework.BundleException: Activator start error.)
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured
     [java] at com.sun.media.ProcessEngine.setContentDescriptor(
ProcessEngine.java:342)
     [java] at com.sun.media.MediaProcessor.setContentDescriptor(
MediaProcessor.java:123)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initProcessor (
MediaControl.java:498)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
MediaControl.java:396)
     [java] at
net.java.sip.communicator.impl.media.MediaControl.initialize(
MediaControl.java:188)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
(MediaServiceImpl.java:282)
     [java] at
net.java.sip.communicator.impl.media.MediaServiceImpl.start (
MediaServiceImpl.java:137)
     [java] at
net.java.sip.communicator.impl.media.MediaActivator.start(
MediaActivator.java:60)
     [java] at
org.apache.felix.framework.util.SecureAction.startActivator(
SecureAction.java :509)
     [java] at org.apache.felix.framework.Felix._startBundle(
Felix.java:1260)
     [java] at org.apache.felix.framework.Felix.startBundle(Felix.java
:1201)
     [java] at org.apache.felix.framework.Felix.setFrameworkStartLevel(
Felix.java:807)
     [java] at org.apache.felix.framework.StartLevelImpl.run(
StartLevelImpl.java:256)
     [java] at java.lang.Thread.run(Thread.java:619)
     [java] 11:52:49.119 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
Discovered 0 stored accounts
     [java] 11:52:49.120 FINE:
service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
Discovered 0 stored accounts

=======================================

On 8/12/07, Johny Kadarisman <jkr888@gmail.com> wrote:
>
> Hi Damian, Thanks,
>
> my OS is Ubuntu linux with java 6
>
> java -version
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build 1.6.0-b105)
> Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
>
> I think, I'm using cvs version.
>
> I'm testing simple java audio capture program, in term of mic,
> everything looks fine.
>
>
> On 8/11/07, Damian Minkov <damencho@damencho.com> wrote:
> >
> > Hi again,
> >
> > sorry I haven't read your second email before sending mine :slight_smile:
> > Hum strange it cannot open the line in the media service. So no media
> > can be captured and so
> > the media service fail to start. Can you give more info about OS, java
> >
> > version and which build of sip-communicator you have installed ?
> > Thanks!
> >
> > damencho
> >
> >
> > Johny Kadarisman wrote:
> > > additional logs on startup,
> > >
> > >
> > > [java] Cannot open audio device for input:
> > > javax.sound.sampled.LineUnavailableException: line with format
> > > PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian
> > > not supported.
> > > [java] Failed to configure: com.sun.media.ProcessEngine@ecf608
> > > [java] IO exception: line with format PCM_SIGNED 44100.0 Hz,
> > 16
> > > bit, stereo, 4 bytes/frame, little-endian not supported.
> > >
> > > [java] Error: Unable to configure
> > com.sun.media.ProcessEngine@ecf608
> > > [java] javax.media.NotConfiguredError: setContentDescriptor
> > > cannot be called before configured
> > > [java] at
> > > com.sun.media.ProcessEngine.setContentDescriptor(ProcessEngine.java:342)
> > > [java] at
> > > com.sun.media.MediaProcessor.setContentDescriptor(
> > MediaProcessor.java:123)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaControl.initProcessor(
> > MediaControl.java :498)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices
> > (MediaControl.java:396)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaControl.initialize (
> > MediaControl.java:188)
> > > [java] at
> > >
> > net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> > > (MediaServiceImpl.java:282)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaServiceImpl.start (
> > MediaServiceImpl.java:137)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaActivator.start(
> > MediaActivator.java
> > > :60)
> > > [java] at
> > > org.apache.felix.framework.util.SecureAction.startActivator (
> > SecureAction.java:509)
> > > [java] at
> > > org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> > > [java] at org.apache.felix.framework.Felix.startBundle
> > > (Felix.java:1201)
> > > [java] at
> > > org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java
> > :807)
> > > [java] at
> > > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java
> > :256)
> > > [java] at java.lang.Thread.run(Thread.java:619)
> > > [java] javax.media.NotConfiguredError: setContentDescriptor
> > > cannot be called before configured
> > > [java] at
> > > com.sun.media.ProcessEngine.setContentDescriptor (ProcessEngine.java:342)
> > > [java] at
> > > com.sun.media.MediaProcessor.setContentDescriptor(
> > MediaProcessor.java:123)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaControl.initProcessor (
> > MediaControl.java:498)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices
> > (MediaControl.java:396)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaControl.initialize (
> > MediaControl.java:188)
> > > [java] at
> > >
> > net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> > > (MediaServiceImpl.java:282)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaServiceImpl.start (
> > MediaServiceImpl.java:137)
> > > [java] at
> > > net.java.sip.communicator.impl.media.MediaActivator.start(
> > MediaActivator.java
> > > :60)
> > > [java] at
> > > org.apache.felix.framework.util.SecureAction.startActivator (
> > SecureAction.java:509)
> > > [java] at
> > > org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> > > [java] at org.apache.felix.framework.Felix.startBundle
> > > (Felix.java:1201)
> > > [java] at
> > > org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java
> > :807)
> > > [java] at
> > > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java
> > :256)
> > > [java] at java.lang.Thread.run(Thread.java:619)
> > > [java] 00:11:52.981 FINE:
> > > service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> > > Discovered 0 stored accounts
> > > [java] 00:11:52.982 FINE:
> > > service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
> > > Discovered 0 stored accounts
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 8/10/07, *Johny Kadarisman* < jkr888@gmail.com > > > > <mailto:jkr888@gmail.com>> wrote:
> > >
> > > Hi Damian,
> > >
> > > when i tried to make a call, i get following exception:
> > >
> > > [java] Exception in thread "Thread-191"
> > > java.lang.NullPointerException: Specified service reference
> > cannot
> > > be null.
> > > [java] at
> > > org.apache.felix.framework.BundleContextImpl.getService (
> > BundleContextImpl.java:479)
> > > [java] at
> > >
> > net.java.sip.communicator.impl.protocol.sip.SipActivator.getMediaService
> > (SipActivator.java:143)
> > > [java] at
> > >
> > net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall(
> > OperationSetBasicTelephonySipImpl.java:226)
> > > [java] at
> > >
> > net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall
> > > (OperationSetBasicTelephonySipImpl.java :116)
> > > [java] at
> > >
> > net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run
> > (CallManager.java:867)
> > >
> > > It seems failed to get media services, I suspect something
> > related
> > > to capture media is not detected. below is the logs related to
> > > media bundle. It somehow detected JavaSound devices. What is
> > > JavaSound devices anyway?
> > >
> > > 22:24:40.951 FINE: impl.media.MediaActivator.start().53 Started.
> > > 22:24:41.063 FINEST:
> > > impl.media.device.JmfDeviceDetector.setupJMF().294 [entry]
> > setupJMF
> > > 22:24:41.064 FINEST:
> > > impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile
> > > ().157 [entry] getPrivatePersistentFile
> > > 22:24:41.065 FINEST:
> > > impl.fileaccess.FileAccessServiceImpl.accessibleFile().293
> > [entry]
> > > accessibleFile
> > > 22:24:41.065 FINEST:
> > > impl.fileaccess.FileAccessServiceImpl.accessibleFile ().328
> > [exit]
> > > accessibleFile
> > > 22:24:41.066 FINEST:
> > > impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile().170
> >
> > > [exit] getPrivatePersistentFile
> > > 22:24:41.145 INFO:
> > > impl.media.device.JmfDeviceDetector.detectCaptureDevices ().116
> > > Looking for Audio capturer
> > > 22:24:41.255 INFO: impl.media.device.DirectSoundAuto.<init>().55
> > > DirectSound Capture Supported = false
> > > 22:24:41.626 INFO: impl.media.device.JavaSoundAuto.<init>().43
> > > JavaSound Capture Supported = true
> > > 22:24:41.655 INFO: impl.media.device.JavaSoundAuto.<init>().69
> > > JavaSoundAuto: Committed ok
> > > 22:24:41.656 INFO:
> > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().122
> > > Looking for video capture devices
> > > 22:24:41.657 FINE:
> > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().135
> > No
> > > VFW video detected: com/sun/media/protocol/vfw/VFWCapture
> > > 22:24:41.674 INFO:
> > > impl.media.device.JmfDeviceDetector.detectCaptureDevices ().144
> > > Detected 0 SUN Video capture device(s).
> > > 22:24:41.691 INFO:
> > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().159
> > > Detected 0 SUN Video Plus device(s).
> > > 22:24:41.695 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > > device for index 0. Can't open video card 0
> > > 22:24:41.708 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > > device for index 1. Can't open video card 1
> > > 22:24:41.710 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > > device for index 2. Can't open video card 2
> > > 22:24: 41.712 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> > > device for index 3. Can't open video card 3
> > > 22:24:41.715 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > > device for index 4. Can't open video card 4
> > > 22:24:41.716 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> > > device for index 5. Can't open video card 5
> > > 22:24:41.718 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > > device for index 6. Can't open video card 6
> > > 22:24:41.720 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> > > device for index 7. Can't open video card 7
> > > 22:24:41.722 FINE: impl.media.device.V4LAuto.autoDetect ().94 No
> > > device for index 8. Can't open video card 8
> > > 22:24:41.725 FINE: impl.media.device.V4LAuto.autoDetect().94 No
> > > device for index 9. Can't open video card 9
> > > 22:24:41.725 INFO:
> > > impl.media.device.JmfDeviceDetector.detectCaptureDevices ().173
> > > Detected 10 V4L video capture device.
> > > 22:24:41.726 FINEST:
> > > impl.media.device.JmfDeviceDetector.setupJMF().345 [exit]
> > setupJMF
> > > 22:24:41.726 INFO:
> > >
> > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > > ().81 Scanning for configured Audio Devices.
> > > 22:24:41.727 FINE:
> > >
> > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > ().89
> > > Found 1 capture devices: [JavaSound audio capture :
> > javasound://44100
> > > 22:24: 41.726 INFO:
> > >
> > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > ().81
> > > Scanning for configured Audio Devices.
> > > 22:24:41.727 FINE:
> > >
> > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
> > > Found 1 capture devices: [JavaSound audio capture :
> > javasound://44100
> > > LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > > LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > > LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > > LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > > LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > > LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > > LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > > LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > > ]
> > > 22:24:41.729 INFO:
> > >
> > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > ().92
> > > Found JavaSound audio capture as an audio capture device.
> > > 22:24:41.729 INFO:
> > >
> > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > > ().96 Scanning for configured Video Devices.
> > > 22:24:41.730 INFO:
> > >
> > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > ().116
> > > No Video Device was found.
> > > 22:24: 41.731 FINE:
> > impl.media.MediaControl.registerCustomPackages
> > > ().1103 Adding package : net.java.sip.communicator.impl
> > > 22:24:41.762 FINE:
> > > impl.media.MediaControl.registerCustomPackages().1109
> > Registering
> > > new protocol prefix list : [javax, com.sun, com.ibm,
> > > net.java.sip.communicator.impl ]
> > > 22:24:41.763 INFO: impl.media.MediaControl.createDataSource
> > ().632
> > > Creating datasource for:javasound://44100
> > > 22:24:41.995 FINE:
> > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > >
> > net.java.sip.communicator.impl.media.codec.audio.alaw.JavaEncoder
> > > is succsefully registered : true
> > > 22:24:41.997 FINE:
> > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > >
> > net.java.sip.communicator.impl.media.codec.audio.alaw.DePacketizer
> > > is succsefully registered : true
> > > 22:24: 41.998 FINE:
> > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > > net.java.sip.communicator.impl.media.codec.audio.alaw.Packetizer
> > > is succsefully registered : true
> > > 22:24:42.000 FINE: impl.media.MediaControl.registerCustomCodecs
> > > ().1055 Codec :
> > >
> > net.java.sip.communicator.impl.media.codec.audio.speex.JavaEncoder
> > > is succsefully registered : true
> > > 22:24:42.001 FINE:
> > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > >
> > net.java.sip.communicator.impl.media.codec.audio.speex.JavaDecoder
> > > is succsefully registered : true
> > > 22:24:42.002 FINE:
> > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > >
> > net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaEncoder
> > > is succsefully registered : true
> > > 22:24: 42.003 FINE:
> > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > >
> > net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaDecoder
> > > is succsefully registered : true
> > > 22:24:42.133 FINE:
> > > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > > registering format ilbc/rtp with RTP manager
> > > 22:24:42.134 FINE:
> > > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > > registering format ALAW/rtp with RTP manager
> > > 22:24:42.135 FINE:
> > > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > > registering format speex/rtp with RTP manager
> > > 22:24:42.312 FINE:
> > > service.protocol.ProtocolProviderFactory.loadStoredAccounts
> > ().414
> > > Discovered 0 stored accounts
> > > 22:24:42.313 FINE:
> > > service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> > > Discovered 0 stored accounts
> > > 22:24:42.316 FINE: impl.protocol.sip.SipActivator.start().48
> > Started.
> > >
> > >
> > >
> > >
> > >
> > >
> > > On 8/10/07, *Damian Minkov* < damencho@damencho.com > > > > <mailto: damencho@damencho.com>> wrote:
> > >
> > > Hi Johny,
> > >
> > > sip calls must be working OK on Linux.
> > > What is the problem? Give more info.
> > >
> > > damencho
> > >
> > > Johny Kadarisman wrote:
> > > > Hi all,
> > > >
> > > > any one successfully setup SC with sip calling feature?
> > > > Any help or pointer appreciated.
> > > >
> > > > or should I just wait for FMJ integration?
> > > >
> > > > Thanks,
> > >
> > >
> > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
> > > dev-unsubscribe@sip-communicator.dev.java.net
> > > <mailto: dev-unsubscribe@sip-communicator.dev.java.net>
> > > For additional commands, e-mail:
> > > dev-help@sip-communicator.dev.java.net
> > > <mailto:dev-help@sip-communicator.dev.java.net>
> > >
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
> > For additional commands, e-mail:
> > dev-help@sip-communicator.dev.java.net
> >
> >
>


#10

Guys,

I'm almost 100% sure, this is the cause by 'dual core' anomaly. I just tried
again in other machine, it doesn't have the same problem. Only this time,
this box don't have sound card setup properly.

I'm curios if anybody got it work on 'dual core'?

Thanks,

···

On 8/14/07, Johny Kadarisman <jkr888@gmail.com> wrote:

Okay, I tried on windows, its worked fine...

additional detail is my ubuntu is on "centrino dual core". Is it possible
that cause by that?

oh well....

On 8/14/07, Johny Kadarisman <jkr888@gmail.com> wrote:
>
> bump...
>
> I'm still stuck with following exceptions! I don't undestand why it
> thrown "NotConfiguredError", while it passed wait state statement as below?
>
> processorUtility.waitForState (sourceProcessor
> , Processor.Configured);
>
> Anybody?
>
> Thanks,
>
> ================================
>
>
> [java] Error: Unable to configure
> com.sun.media.ProcessEngine@ecf608
> [java] javax.media.NotConfiguredError: setContentDescriptor cannot
> be called before configured
> [java] at com.sun.media.ProcessEngine.setContentDescriptor(
> ProcessEngine.java:342)
> [java] at com.sun.media.MediaProcessor.setContentDescriptor(
> MediaProcessor.java:123)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initProcessor(
> MediaControl.java:498)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices (
> MediaControl.java:396)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initialize(
> MediaControl.java:188)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run(
> MediaServiceImpl.java:282)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl.start(
> MediaServiceImpl.java:137)
> [java] at
> net.java.sip.communicator.impl.media.MediaActivator.start(
> MediaActivator.java :60)
> [java] at
> org.apache.felix.framework.util.SecureAction.startActivator(
> SecureAction.java:509)
> [java] at org.apache.felix.framework.Felix._startBundle(
> Felix.java:1260)
> [java] at org.apache.felix.framework.Felix.startBundle (
> Felix.java:1201)
> [java] at
> org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java:807)
> [java] at org.apache.felix.framework.StartLevelImpl.run(
> StartLevelImpl.java:256)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] ERROR: Error starting reference:file:sc-bundles/media.jar (
> org.osgi.framework.BundleException: Activator start error.)
> [java] javax.media.NotConfiguredError : setContentDescriptor cannot
> be called before configured
> [java] at com.sun.media.ProcessEngine.setContentDescriptor(
> ProcessEngine.java:342)
> [java] at com.sun.media.MediaProcessor.setContentDescriptor(
> MediaProcessor.java:123)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initProcessor (
> MediaControl.java:498)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices(
> MediaControl.java:396)
> [java] at
> net.java.sip.communicator.impl.media.MediaControl.initialize (
> MediaControl.java:188)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> (MediaServiceImpl.java:282)
> [java] at
> net.java.sip.communicator.impl.media.MediaServiceImpl.start (
> MediaServiceImpl.java:137)
> [java] at
> net.java.sip.communicator.impl.media.MediaActivator.start(
> MediaActivator.java:60)
> [java] at
> org.apache.felix.framework.util.SecureAction.startActivator(
> SecureAction.java :509)
> [java] at org.apache.felix.framework.Felix._startBundle(
> Felix.java:1260)
> [java] at org.apache.felix.framework.Felix.startBundle(
> Felix.java:1201)
> [java] at
> org.apache.felix.framework.Felix.setFrameworkStartLevel (Felix.java:807)
> [java] at org.apache.felix.framework.StartLevelImpl.run(
> StartLevelImpl.java:256)
> [java] at java.lang.Thread.run(Thread.java:619)
> [java] 11:52:49.119 FINE:
> service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
> Discovered 0 stored accounts
> [java] 11:52:49.120 FINE:
> service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> Discovered 0 stored accounts
>
> =======================================
>
>
> On 8/12/07, Johny Kadarisman <jkr888@gmail.com > wrote:
> >
> > Hi Damian, Thanks,
> >
> > my OS is Ubuntu linux with java 6
> >
> > java -version
> > java version "1.6.0"
> > Java(TM) SE Runtime Environment (build 1.6.0-b105)
> > Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
> >
> > I think, I'm using cvs version.
> >
> > I'm testing simple java audio capture program, in term of mic,
> > everything looks fine.
> >
> >
> > On 8/11/07, Damian Minkov <damencho@damencho.com> wrote:
> > >
> > > Hi again,
> > >
> > > sorry I haven't read your second email before sending mine :slight_smile:
> > > Hum strange it cannot open the line in the media service. So no
> > > media
> > > can be captured and so
> > > the media service fail to start. Can you give more info about OS,
> > > java
> > > version and which build of sip-communicator you have installed ?
> > > Thanks!
> > >
> > > damencho
> > >
> > >
> > > Johny Kadarisman wrote:
> > > > additional logs on startup,
> > > >
> > > >
> > > > [java] Cannot open audio device for input:
> > > > javax.sound.sampled.LineUnavailableException: line with format
> > > > PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame,
> > > little-endian
> > > > not supported.
> > > > [java] Failed to configure:
> > > com.sun.media.ProcessEngine@ecf608
> > > > [java] IO exception: line with format PCM_SIGNED 44100.0Hz, 16
> > > > bit, stereo, 4 bytes/frame, little-endian not supported.
> > > >
> > > > [java] Error: Unable to configure
> > > com.sun.media.ProcessEngine@ecf608
> > > > [java] javax.media.NotConfiguredError: setContentDescriptor
> > > > cannot be called before configured
> > > > [java] at
> > > > com.sun.media.ProcessEngine.setContentDescriptor(
> > > ProcessEngine.java :342)
> > > > [java] at
> > > > com.sun.media.MediaProcessor.setContentDescriptor(
> > > MediaProcessor.java:123)
> > > > [java] at
> > > > net.java.sip.communicator.impl.media.MediaControl.initProcessor(
> > > MediaControl.java :498)
> > > > [java] at
> > > >
> > > net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices
> > > (MediaControl.java:396)
> > > > [java] at
> > > > net.java.sip.communicator.impl.media.MediaControl.initialize (
> > > MediaControl.java:188)
> > > > [java] at
> > > >
> > > net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> > > > (MediaServiceImpl.java:282)
> > > > [java] at
> > > > net.java.sip.communicator.impl.media.MediaServiceImpl.start (
> > > MediaServiceImpl.java:137)
> > > > [java] at
> > > > net.java.sip.communicator.impl.media.MediaActivator.start(
> > > MediaActivator.java
> > > > :60)
> > > > [java] at
> > > > org.apache.felix.framework.util.SecureAction.startActivator (
> > > SecureAction.java:509)
> > > > [java] at
> > > > org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> > > > [java] at org.apache.felix.framework.Felix.startBundle
> > > > (Felix.java:1201)
> > > > [java] at
> > > > org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java
> > > :807)
> > > > [java] at
> > > > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java
> > > :256)
> > > > [java] at java.lang.Thread.run(Thread.java:619)
> > > > [java] javax.media.NotConfiguredError: setContentDescriptor
> > > > cannot be called before configured
> > > > [java] at
> > > > com.sun.media.ProcessEngine.setContentDescriptor (
> > > ProcessEngine.java :342)
> > > > [java] at
> > > > com.sun.media.MediaProcessor.setContentDescriptor(
> > > MediaProcessor.java:123)
> > > > [java] at
> > > > net.java.sip.communicator.impl.media.MediaControl.initProcessor (
> > > MediaControl.java:498)
> > > > [java] at
> > > >
> > > net.java.sip.communicator.impl.media.MediaControl.initCaptureDevices
> > > (MediaControl.java:396)
> > > > [java] at
> > > > net.java.sip.communicator.impl.media.MediaControl.initialize (
> > > MediaControl.java:188)
> > > > [java] at
> > > >
> > > net.java.sip.communicator.impl.media.MediaServiceImpl$DeviceConfigurationThread.run
> > > > (MediaServiceImpl.java:282)
> > > > [java] at
> > > > net.java.sip.communicator.impl.media.MediaServiceImpl.start (
> > > MediaServiceImpl.java:137)
> > > > [java] at
> > > > net.java.sip.communicator.impl.media.MediaActivator.start(
> > > MediaActivator.java
> > > > :60)
> > > > [java] at
> > > > org.apache.felix.framework.util.SecureAction.startActivator (
> > > SecureAction.java:509)
> > > > [java] at
> > > > org.apache.felix.framework.Felix._startBundle(Felix.java:1260)
> > > > [java] at org.apache.felix.framework.Felix.startBundle
> > > > (Felix.java:1201)
> > > > [java] at
> > > > org.apache.felix.framework.Felix.setFrameworkStartLevel(Felix.java
> > > :807)
> > > > [java] at
> > > > org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java
> > > :256)
> > > > [java] at java.lang.Thread.run(Thread.java:619)
> > > > [java] 00:11:52.981 FINE:
> > > > service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> > > > Discovered 0 stored accounts
> > > > [java] 00:11:52.982 FINE:
> > > > service.protocol.ProtocolProviderFactory.loadStoredAccounts ().414
> > > > Discovered 0 stored accounts
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 8/10/07, *Johny Kadarisman* < jkr888@gmail.com > > > > > <mailto:jkr888@gmail.com>> wrote:
> > > >
> > > > Hi Damian,
> > > >
> > > > when i tried to make a call, i get following exception:
> > > >
> > > > [java] Exception in thread "Thread-191"
> > > > java.lang.NullPointerException: Specified service reference
> > > cannot
> > > > be null.
> > > > [java] at
> > > > org.apache.felix.framework.BundleContextImpl.getService (
> > > BundleContextImpl.java:479)
> > > > [java] at
> > > >
> > > net.java.sip.communicator.impl.protocol.sip.SipActivator.getMediaService
> > > (SipActivator.java:143)
> > > > [java] at
> > > >
> > > net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createOutgoingCall(
> > > OperationSetBasicTelephonySipImpl.java:226)
> > > > [java] at
> > > >
> > > net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.createCall
> > > > (OperationSetBasicTelephonySipImpl.java :116)
> > > > [java] at
> > > >
> > > net.java.sip.communicator.impl.gui.main.call.CallManager$CreateCallThread.run
> > > (CallManager.java:867)
> > > >
> > > > It seems failed to get media services, I suspect something
> > > related
> > > > to capture media is not detected. below is the logs related to
> > > > media bundle. It somehow detected JavaSound devices. What is
> > > > JavaSound devices anyway?
> > > >
> > > > 22:24:40.951 FINE: impl.media.MediaActivator.start().53
> > > Started.
> > > > 22:24:41.063 FINEST:
> > > > impl.media.device.JmfDeviceDetector.setupJMF().294 [entry]
> > > setupJMF
> > > > 22:24:41.064 FINEST:
> > > > impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile
> > > > ().157 [entry] getPrivatePersistentFile
> > > > 22:24:41.065 FINEST:
> > > > impl.fileaccess.FileAccessServiceImpl.accessibleFile().293
> > > [entry]
> > > > accessibleFile
> > > > 22:24:41.065 FINEST:
> > > > impl.fileaccess.FileAccessServiceImpl.accessibleFile ().328
> > > [exit]
> > > > accessibleFile
> > > > 22:24:41.066 FINEST:
> > > > impl.fileaccess.FileAccessServiceImpl.getPrivatePersistentFile().170
> > >
> > > > [exit] getPrivatePersistentFile
> > > > 22:24:41.145 INFO:
> > > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().116
> > > > Looking for Audio capturer
> > > > 22:24:41.255 INFO: impl.media.device.DirectSoundAuto.<init>().55
> > > > DirectSound Capture Supported = false
> > > > 22:24:41.626 INFO: impl.media.device.JavaSoundAuto.<init>().43
> > > > JavaSound Capture Supported = true
> > > > 22:24:41.655 INFO: impl.media.device.JavaSoundAuto.<init>().69
> > > > JavaSoundAuto: Committed ok
> > > > 22:24:41.656 INFO:
> > > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().122
> > > > Looking for video capture devices
> > > > 22:24:41.657 FINE:
> > > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().135
> > > No
> > > > VFW video detected: com/sun/media/protocol/vfw/VFWCapture
> > > > 22:24:41.674 INFO:
> > > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().144
> > > > Detected 0 SUN Video capture device(s).
> > > > 22:24:41.691 INFO:
> > > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().159
> > >
> > > > Detected 0 SUN Video Plus device(s).
> > > > 22:24:41.695 FINE: impl.media.device.V4LAuto.autoDetect ().94
> > > No
> > > > device for index 0. Can't open video card 0
> > > > 22:24:41.708 FINE: impl.media.device.V4LAuto.autoDetect ().94
> > > No
> > > > device for index 1. Can't open video card 1
> > > > 22:24:41.710 FINE: impl.media.device.V4LAuto.autoDetect ().94
> > > No
> > > > device for index 2. Can't open video card 2
> > > > 22:24: 41.712 FINE: impl.media.device.V4LAuto.autoDetect().94
> > > No
> > > > device for index 3. Can't open video card 3
> > > > 22:24:41.715 FINE: impl.media.device.V4LAuto.autoDetect ().94
> > > No
> > > > device for index 4. Can't open video card 4
> > > > 22:24:41.716 FINE: impl.media.device.V4LAuto.autoDetect().94
> > > No
> > > > device for index 5. Can't open video card 5
> > > > 22:24:41.718 FINE: impl.media.device.V4LAuto.autoDetect ().94
> > > No
> > > > device for index 6. Can't open video card 6
> > > > 22:24:41.720 FINE: impl.media.device.V4LAuto.autoDetect().94
> > > No
> > > > device for index 7. Can't open video card 7
> > > > 22:24:41.722 FINE: impl.media.device.V4LAuto.autoDetect ().94
> > > No
> > > > device for index 8. Can't open video card 8
> > > > 22:24:41.725 FINE: impl.media.device.V4LAuto.autoDetect().94
> > > No
> > > > device for index 9. Can't open video card 9
> > > > 22:24:41.725 INFO:
> > > > impl.media.device.JmfDeviceDetector.detectCaptureDevices().173
> > > > Detected 10 V4L video capture device.
> > > > 22:24:41.726 FINEST:
> > > > impl.media.device.JmfDeviceDetector.setupJMF().345 [exit]
> > > setupJMF
> > > > 22:24:41.726 INFO:
> > > >
> > > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > > > ().81 Scanning for configured Audio Devices.
> > > > 22:24:41.727 FINE:
> > > >
> > > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > > ().89
> > > > Found 1 capture devices: [JavaSound audio capture :
> > > javasound://44100
> > > > 22:24: 41.726 INFO:
> > > >
> > > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > > ().81
> > > > Scanning for configured Audio Devices.
> > > > 22:24:41.727 FINE:
> > > >
> > > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices().89
> > > > Found 1 capture devices: [JavaSound audio capture :
> > > javasound://44100
> > > > LINEAR, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > > > LINEAR, 44100.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > > > LINEAR, 22050.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > > > LINEAR, 22050.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > > > LINEAR, 11025.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > > > LINEAR, 11025.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > > > LINEAR, 8000.0 Hz, 16-bit, Stereo, LittleEndian, Signed
> > > > LINEAR, 8000.0 Hz, 16-bit, Mono, LittleEndian, Signed
> > > > ]
> > > > 22:24:41.729 INFO:
> > > >
> > > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > > ().92
> > > > Found JavaSound audio capture as an audio capture device.
> > > > 22:24:41.729 INFO:
> > > >
> > > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > > > ().96 Scanning for configured Video Devices.
> > > > 22:24:41.730 INFO:
> > > >
> > > impl.media.device.DeviceConfiguration.extractConfiguredCaptureDevices
> > > ().116
> > > > No Video Device was found.
> > > > 22:24: 41.731 FINE:
> > > impl.media.MediaControl.registerCustomPackages
> > > > ().1103 Adding package : net.java.sip.communicator.impl
> > > > 22:24:41.762 FINE:
> > > > impl.media.MediaControl.registerCustomPackages().1109
> > > Registering
> > > > new protocol prefix list : [javax, com.sun, com.ibm,
> > > > net.java.sip.communicator.impl ]
> > > > 22:24:41.763 INFO: impl.media.MediaControl.createDataSource
> > > ().632
> > > > Creating datasource for:javasound://44100
> > > > 22:24:41.995 FINE:
> > > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > > >
> > > net.java.sip.communicator.impl.media.codec.audio.alaw.JavaEncoder
> > > > is succsefully registered : true
> > > > 22:24:41.997 FINE:
> > > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > > >
> > > net.java.sip.communicator.impl.media.codec.audio.alaw.DePacketizer
> > > > is succsefully registered : true
> > > > 22:24: 41.998 FINE:
> > > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > > >
> > > net.java.sip.communicator.impl.media.codec.audio.alaw.Packetizer
> > > > is succsefully registered : true
> > > > 22:24:42.000 FINE:
> > > impl.media.MediaControl.registerCustomCodecs
> > > > ().1055 Codec :
> > > >
> > > net.java.sip.communicator.impl.media.codec.audio.speex.JavaEncoder
> > > > is succsefully registered : true
> > > > 22:24:42.001 FINE:
> > > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > > >
> > > net.java.sip.communicator.impl.media.codec.audio.speex.JavaDecoder
> > > > is succsefully registered : true
> > > > 22:24:42.002 FINE:
> > > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > > >
> > > net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaEncoder
> > > > is succsefully registered : true
> > > > 22:24: 42.003 FINE:
> > > > impl.media.MediaControl.registerCustomCodecs().1055 Codec :
> > > >
> > > net.java.sip.communicator.impl.media.codec.audio.ilbc.JavaDecoder
> > > > is succsefully registered : true
> > > > 22:24:42.133 FINE:
> > > > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > > > registering format ilbc/rtp with RTP manager
> > > > 22:24:42.134 FINE:
> > > > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > > > registering format ALAW/rtp with RTP manager
> > > > 22:24:42.135 FINE:
> > > > impl.media.CallSessionImpl.registerCustomCodecFormats ().1361
> > > > registering format speex/rtp with RTP manager
> > > > 22:24:42.312 FINE:
> > > > service.protocol.ProtocolProviderFactory.loadStoredAccounts
> > > ().414
> > > > Discovered 0 stored accounts
> > > > 22:24:42.313 FINE:
> > > > service.protocol.ProtocolProviderFactory.loadStoredAccounts().414
> > > > Discovered 0 stored accounts
> > > > 22:24:42.316 FINE: impl.protocol.sip.SipActivator.start().48
> > > Started.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On 8/10/07, *Damian Minkov* < damencho@damencho.com > > > > > <mailto: damencho@damencho.com>> wrote:
> > > >
> > > > Hi Johny,
> > > >
> > > > sip calls must be working OK on Linux.
> > > > What is the problem? Give more info.
> > > >
> > > > damencho
> > > >
> > > > Johny Kadarisman wrote:
> > > > > Hi all,
> > > > >
> > > > > any one successfully setup SC with sip calling feature?
> > > > > Any help or pointer appreciated.
> > > > >
> > > > > or should I just wait for FMJ integration?
> > > > >
> > > > > Thanks,
> > > >
> > > >
> > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> > > > dev-unsubscribe@sip-communicator.dev.java.net
> > > > <mailto: dev-unsubscribe@sip-communicator.dev.java.net>
> > > > For additional commands, e-mail:
> > > > dev-help@sip-communicator.dev.java.net
> > > > <mailto:dev-help@sip-communicator.dev.java.net>
> > > >
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > >
> > > To unsubscribe, e-mail:
> > > dev-unsubscribe@sip-communicator.dev.java.net
> > > For additional commands, e-mail:
> > > dev-help@sip-communicator.dev.java.net
> > >
> > >
> >
>


#11

Hi Johny,

···

On 2007/08/14, at 22:49, Johny Kadarisman wrote:

I'm almost 100% sure, this is the cause by 'dual core' anomaly. I just tried again in other machine, it doesn't have the same problem. Only this time, this box don't have sound card setup properly.

I'm curios if anybody got it work on 'dual core'?

FYI I have the same exception as you on the media bundle on my Core2 Duo 6600.

romain

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


#12

Finally, At least, I'm not alone :slight_smile: do you use linux too...

I follow the suggestion to display sourceProcessor state before and after
the wait for state,
and got this result :

     [java] 10:50:21.381 FINE:
impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering
format ilbc/rtp with RTP manager
     [java] 10:50:21.383 FINE:
impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering
format ALAW/rtp with RTP manager
     [java] 10:50:21.383 FINE:
impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering
format speex/rtp with RTP manager
     [java] 10:50:21.515 INFO: impl.media.MediaControl.initProcessor().472
State before = 100
     [java] Cannot open audio device for input:
javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED
44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
     [java] Failed to configure: com.sun.media.ProcessEngine@7bacb
     [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit,
stereo, 4 bytes/frame, little-endian not supported.

     [java] Error: Unable to configure com.sun.media.ProcessEngine@7bacb
     [java] 10:50:21.587 INFO: impl.media.MediaControl.initProcessor().475
State after = 100
     [java] 10:50:21.588 INFO: impl.media.MediaControl.initProcessor().502
State before setContentDescriptor = 100
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be
called before configured

Following is the debug code =

            logger.info("State before = " + sourceProcessor.getState());
            processorUtility.waitForState(sourceProcessor
                                          , Processor.Configured);
            logger.info("State after = " + sourceProcessor.getState());

well, its looked like "waitForState" is failed to configure the capture
devices. I boot the same machine with windows, and it doesn't hit this
problem.

in my case, this only happened on linux.

···

On 8/16/07, Romain KUNTZ <kuntz@clarinet.u-strasbg.fr> wrote:

Hi Johny,

On 2007/08/14, at 22:49, Johny Kadarisman wrote:
> I'm almost 100% sure, this is the cause by 'dual core' anomaly. I
> just tried again in other machine, it doesn't have the same
> problem. Only this time, this box don't have sound card setup
> properly.
>
> I'm curios if anybody got it work on 'dual core'?

FYI I have the same exception as you on the media bundle on my Core2
Duo 6600.

romain

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


#13

Well, your log file shows the culprit:
       [java] Cannot open audio device for input: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.

  The Linux has problem with the sound device format and closes the processor in the realizing process. Try to use other audio format that are more acceptable to Linux.
   
  I would add a log line to the following code to show how it happens.
   
      public void controllerUpdate(ControllerEvent ce)
    {
        // If there was an error during configure or
        // realize, the processor will be closed
        if (ce instanceof ControllerClosedEvent) {
  log.debug("We are setting fail flag as a result of event: " + ce.toString()); // <==== something like that
            setFailed(true);
            // All controller events, send a notification
            // to the waiting thread in waitForState method.
        }
          if (ce instanceof ControllerEvent) {
            synchronized (getStateLock()) {
                getStateLock().notifyAll();
            }
        }
    }
  HIH
  Mik
  
  Finally, At least, I'm not alone :slight_smile: do you use linux too...

I follow the suggestion to display sourceProcessor state before and after the wait for state,
and got this result :

     [java] 10:50:21.381 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering format ilbc/rtp with RTP manager
     [java] 10:50:21.383 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering format ALAW/rtp with RTP manager
     [java] 10:50:21.383 FINE: impl.media.CallSessionImpl.registerCustomCodecFormats().1361 registering format speex/rtp with RTP manager
     [java] 10:50:21.515 INFO: impl.media.MediaControl.initProcessor().472 State before = 100
     [java] Cannot open audio device for input: javax.sound.sampled.LineUnavailableException: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.
     [java] Failed to configure: com.sun.media.ProcessEngine@7bacb
     [java] IO exception: line with format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian not supported.

     [java] Error: Unable to configure com.sun.media.ProcessEngine@7bacb
     [java] 10:50:21.587 INFO: impl.media.MediaControl.initProcessor().475 State after = 100
     [java] 10:50:21.588 INFO: impl.media.MediaControl.initProcessor().502 State before setContentDescriptor = 100
     [java] javax.media.NotConfiguredError: setContentDescriptor cannot be called before configured

Following is the debug code =

            logger.info("State before = " + sourceProcessor.getState());
            processorUtility.waitForState(sourceProcessor
                                          , Processor.Configured);
            logger.info("State after = " + sourceProcessor.getState());

well, its looked like "waitForState" is failed to configure the capture devices. I boot the same machine with windows, and it doesn't hit this problem.

in my case, this only happened on linux.

  On 8/16/07, Romain KUNTZ <kuntz@clarinet.u-strasbg.fr > wrote: Hi Johny,

···

Johny Kadarisman <jkr888@gmail.com> wrote:

On 2007/08/14, at 22:49, Johny Kadarisman wrote:

I'm almost 100% sure, this is the cause by 'dual core' anomaly. I
just tried again in other machine, it doesn't have the same
problem. Only this time, this box don't have sound card setup
properly.

I'm curios if anybody got it work on 'dual core'?

FYI I have the same exception as you on the media bundle on my Core2
Duo 6600.

romain

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