[sip-comm-dev] Sip Communicator + Asterisk 1.6.2 + h264 problem


#1

Hi everyone,

I have a problem when stablishing a videoconference using Sip Communicator:

I'm using Asterisk 1.6.2.6 in Ubuntu 9.10 32bits as PBX with
videosupport=yes in general and users sections of the sip.conf file. In each
user section, I have only allow=h264 as video codec to force its use.

For the clients, I use the latest Sip Communicator 1.0-alpha3-0 downloaded
from the SVN repository in Windows XP SP3.

The problem starts when I stablish the communication with another person and
I click on the camera button. The image from my webcam doesn't appear and I
just can see a black rectangle in the place where I should see my image.
The strange thing is that in the Settings window of Sip Communicator, I can
select my Webcam in the Media section and see the image correctly.

At the beginning, I had Asterisk 1.4.30 installed and thought that was the
problem, so yesterday I installed the new version and I'm still getting the
same problem.

I've taken a look at Sip Communicator log and I can see messages like:

     [java] 11:22:48.124 ADVERTENCIA:
impl.neomedia.ProcessorUtility.controllerUpdate().89 ControllerErrorEvent:
javax.media.ResourceUnavailableEvent[source=com.sun.media.processor.unknown.Handler@dad4b8,message=Failed
to realize: cannot handle the customized options set on the Processor.
     [java] Check jmf.log for full details.]
     [java] 11:22:48.140 FINA: fmj.stop() civil: stop
     [java] 11:22:48.140 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:48.140 FINA: fmj.connect() civil: connect
     [java] 11:22:48.140 FINA: fmj.connect() Opening
\\?\root#media#0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
     [java] 11:22:48.171 FINA: fmj.start() civil: start
     [java] 11:22:48.171 FINA: fmj.stop() civil: stop
     [java] Java_com_lti_civil_impl_jni_NativeCaptureStream_stop,
stopping...
     [java] DSCaptureStream::stop, stopping...
     [java] DSCaptureStream::stop, stopped.
     [java] Java_com_lti_civil_impl_jni_NativeCaptureStream_stop, stopped.
     [java] Failed to build a graph for the given custom options.
     [java] Failed to realize: com.sun.media.ProcessEngine@1c9fe7e
     [java] Cannot build a flow graph with the customized options:
     [java] Unable to transcode format: RGB, 320x240, FrameRate=29.9,
24-bit, Masks=3:2:1, PixelStride=3, LineStride=960
     [java] to: H264/RTP
     [java] outputting to: RAW/RTP
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] 11:22:58.328 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] Error: Unable to realize com.sun.media.ProcessEngine@1c9fe7e
     [java] 11:22:58.328 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:58.328 ADVERTENCIA:
impl.neomedia.device.MediaDeviceSession.processorControllerUpdate().1098
javax.media.ResourceUnavailableEvent[source=com.sun.media.processor.unknown.Handler@d9799d,message=Failed
to realize: cannot handle the customized options set on the Processor.
     [java] Check jmf.log for full details.]

Am I doing something wrong? Do I need any kind of h264 video codec
previously installed in my computer?
Any help would be much appreciated :slight_smile:

Thank you in advance,

Juanvi Martínez


#2

Another strange thing I've noticed:
When I stablish a conference between a Sip Communicator Windows client and
a Sip Communicator Mac client (both with the same version 2593), if I start
video from Mac client it sends perfectly the video image and Windows client
receives it and shows it; besides, if I start video on the Windows client it
doesn't work (I'm still getting the same black rectangle in the sender side
and nothing is received in the receiver side, not even a single frame).

I've made another succesfully test stablishing a videoconference between an
Ubuntu and a Mac Sip Communicator client.

So, I think this is not an Asterisk server problem, but a Sip Communicator
problem in *Windows*.

Can anyone tell me something about a possible solution?

Thanks,

Juanvi Martínez

···

---------- Forwarded message ----------

From: Juanvi Martinez <juanvimartinez@gmail.com>

Date: 2010/4/28
Subject: Sip Communicator + Asterisk 1.6.2 + h264 problem
To: dev@sip-communicator.dev.java.net

Hi everyone,

I have a problem when stablishing a videoconference using Sip Communicator:

I'm using Asterisk 1.6.2.6 in Ubuntu 9.10 32bits as PBX with
videosupport=yes in general and users sections of the sip.conf file. In each
user section, I have only allow=h264 as video codec to force its use.

For the clients, I use the latest Sip Communicator 1.0-alpha3-0 downloaded
from the SVN repository in Windows XP SP3.

The problem starts when I stablish the communication with another person and
I click on the camera button. The image from my webcam doesn't appear and I
just can see a black rectangle in the place where I should see my image.
The strange thing is that in the Settings window of Sip Communicator, I can
select my Webcam in the Media section and see the image correctly.

At the beginning, I had Asterisk 1.4.30 installed and thought that was the
problem, so yesterday I installed the new version and I'm still getting the
same problem.

I've taken a look at Sip Communicator log and I can see messages like:

     [java] 11:22:48.124 ADVERTENCIA:
impl.neomedia.ProcessorUtility.controllerUpdate().89 ControllerErrorEvent:
javax.media.ResourceUnavailableEvent[source=com.sun.media.processor.unknown.Handler@dad4b8,message=Failed
to realize: cannot handle the customized options set on the Processor.
     [java] Check jmf.log for full details.]
     [java] 11:22:48.140 FINA: fmj.stop() civil: stop
     [java] 11:22:48.140 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:48.140 FINA: fmj.connect() civil: connect
     [java] 11:22:48.140 FINA: fmj.connect() Opening
\\?\root#media#0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
     [java] 11:22:48.171 FINA: fmj.start() civil: start
     [java] 11:22:48.171 FINA: fmj.stop() civil: stop
     [java] Java_com_lti_civil_impl_jni_NativeCaptureStream_stop,
stopping...
     [java] DSCaptureStream::stop, stopping...
     [java] DSCaptureStream::stop, stopped.
     [java] Java_com_lti_civil_impl_jni_NativeCaptureStream_stop, stopped.
     [java] Failed to build a graph for the given custom options.
     [java] Failed to realize: com.sun.media.ProcessEngine@1c9fe7e
     [java] Cannot build a flow graph with the customized options:
     [java] Unable to transcode format: RGB, 320x240, FrameRate=29.9,
24-bit, Masks=3:2:1, PixelStride=3, LineStride=960
     [java] to: H264/RTP
     [java] outputting to: RAW/RTP
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] 11:22:58.328 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] Error: Unable to realize com.sun.media.ProcessEngine@1c9fe7e
     [java] 11:22:58.328 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:58.328 ADVERTENCIA:
impl.neomedia.device.MediaDeviceSession.processorControllerUpdate().1098
javax.media.ResourceUnavailableEvent[source=com.sun.media.processor.unknown.Handler@d9799d,message=Failed
to realize: cannot handle the customized options set on the Processor.
     [java] Check jmf.log for full details.]

Am I doing something wrong? Do I need any kind of h264 video codec
previously installed in my computer?
Any help would be much appreciated :slight_smile:

Thank you in advance,

Juanvi Martínez


#3

Hey Juanvi,

Sorry for not answering earlier.

Thank you for sending your report. We are currently working on numerous
improvements on the video support for windows, and they should all
arrive during the following week or two, so stay tuned (and updated :wink: )

Cheers,
Emil

На 28.04.10 16:46, Juanvi Martinez написа:

···

Another strange thing I've noticed:
When I stablish a conference between a Sip Communicator Windows client
and a Sip Communicator Mac client (both with the same version 2593), if
I start video from Mac client it sends perfectly the video image and
Windows client receives it and shows it; besides, if I start video on
the Windows client it doesn't work (I'm still getting the same black
rectangle in the sender side and nothing is received in the receiver
side, not even a single frame).

I've made another succesfully test stablishing a videoconference between
an Ubuntu and a Mac Sip Communicator client.

So, I think this is not an Asterisk server problem, but a Sip
Communicator problem in *Windows*.

Can anyone tell me something about a possible solution?

Thanks,

Juanvi Martínez

---------- Forwarded message ----------
From: *Juanvi Martinez* <juanvimartinez@gmail.com
<mailto:juanvimartinez@gmail.com>>
Date: 2010/4/28
Subject: Sip Communicator + Asterisk 1.6.2 + h264 problem
To: dev@sip-communicator.dev.java.net
<mailto:dev@sip-communicator.dev.java.net>

Hi everyone,

I have a problem when stablishing a videoconference using Sip Communicator:

I'm using Asterisk 1.6.2.6 in Ubuntu 9.10 32bits as PBX with
videosupport=yes in general and users sections of the sip.conf file. In
each user section, I have only allow=h264 as video codec to force its use.

For the clients, I use the latest Sip Communicator 1.0-alpha3-0
downloaded from the SVN repository in Windows XP SP3.

The problem starts when I stablish the communication with another person
and I click on the camera button. The image from my webcam doesn't
appear and I just can see a black rectangle in the place where I should
see my image.
The strange thing is that in the Settings window of Sip Communicator, I
can select my Webcam in the Media section and see the image correctly.

At the beginning, I had Asterisk 1.4.30 installed and thought that was
the problem, so yesterday I installed the new version and I'm still
getting the same problem.

I've taken a look at Sip Communicator log and I can see messages like:

     [java] 11:22:48.124 ADVERTENCIA:
impl.neomedia.ProcessorUtility.controllerUpdate().89
ControllerErrorEvent:
javax.media.ResourceUnavailableEvent[source=com.sun.media.processor.unknown.Handler@dad4b8,message=Failed
to realize: cannot handle the customized options set on the Processor.
     [java] Check jmf.log for full details.]
     [java] 11:22:48.140 FINA: fmj.stop() civil: stop
     [java] 11:22:48.140 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:48.140 FINA: fmj.connect() civil: connect
     [java] 11:22:48.140 FINA: fmj.connect() Opening
\\?\root#media#0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global
     [java] 11:22:48.171 FINA: fmj.start() civil: start
     [java] 11:22:48.171 FINA: fmj.stop() civil: stop
     [java] Java_com_lti_civil_impl_jni_NativeCaptureStream_stop,
stopping...
     [java] DSCaptureStream::stop, stopping...
     [java] DSCaptureStream::stop, stopped.
     [java] Java_com_lti_civil_impl_jni_NativeCaptureStream_stop, stopped.
     [java] Failed to build a graph for the given custom options.
     [java] Failed to realize: com.sun.media.ProcessEngine@1c9fe7e
     [java] Cannot build a flow graph with the customized options:
     [java] Unable to transcode format: RGB, 320x240,
FrameRate=29.9, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=960
     [java] to: H264/RTP
     [java] outputting to: RAW/RTP
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] 11:22:58.328 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:58.328 FINA: fmj.stop() civil: stop
     [java] Error: Unable to realize com.sun.media.ProcessEngine@1c9fe7e
     [java] 11:22:58.328 FINA: fmj.disconnect() civil: disconnect
     [java] 11:22:58.328 ADVERTENCIA:
impl.neomedia.device.MediaDeviceSession.processorControllerUpdate().1098
javax.media.ResourceUnavailableEvent[source=com.sun.media.processor.unknown.Handler@d9799d,message=Failed
to realize: cannot handle the customized options set on the Processor.
     [java] Check jmf.log for full details.]

Am I doing something wrong? Do I need any kind of h264 video codec
previously installed in my computer?
Any help would be much appreciated :slight_smile:

Thank you in advance,

Juanvi Martínez

--
Emil Ivov, Ph.D. 67000 Strasbourg,
Project Lead France
SIP Communicator
emcho@sip-communicator.org PHONE: +33.1.77.62.43.30
http://sip-communicator.org FAX: +33.1.77.62.47.31

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