[sip-comm-dev] [Bug] Failed to create an RTP send stream for format H263/RTP, 352x288, Length=1456


#1

Steps to reproduce:
1. I log SIP Communicator into lubomir.marinov@iptel.org on Windows.
2. Get a call to teodora.dicheva@iptel.org who is with SIP
Communicator on Mac OS X in progress.
3. While the call created in step 2 is in progress, I attempt to call
59@voipgw.u-strasbg.fr who is not with SIP Communicator but on a
Siemens phone.
4. 59@voipgw.u-strasbg.fr picks up.

What happens:
I SOMETIMES (like 3 out of 5 tries) get the following exception and
the call attempted in step 3 fails:

[java] 22:12:07.435 SEVERE:
impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInviteOK().1153
We failed to process the SDP description of
sip:59@voipgw.u-strasbg.fr(sip:59@voipgw.u-strasbg.fr). Error was:
Failed to create an RTP send stream for format H263/RTP, 352x288,
Length=1456
[java] net.java.sip.communicator.service.media.MediaException: Failed
to create an RTP send stream for format H263/RTP, 352x288, Length=1456
[java] at net.java.sip.communicator.impl.media.CallSessionImpl.createSendStreams(CallSessionImpl.java:1129)
[java] - ALAW/rtp, 8000.0 Hz, 8-bit, Mono, Signed
[java] at net.java.sip.communicator.impl.media.CallSessionImpl.processSdpAnswer(CallSessionImpl.java:966)
[java] at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInviteOK(OperationSetBasicTelephonySipImpl.java:1132)
[java] at net.java.sip.communicator.impl.protocol.sip.OperationSetBasicTelephonySipImpl.processResponse(OperationSetBasicTelephonySipImpl.java:691)
[java] RTPSessMgr not match : YUV Video Format: Size = null
MaxDataLength = -1 DataType = class [B yuvType = 2 StrideY = -1
StrideUV = -1 OffsetY = -1 OffsetU = -1 OffsetV = -1
[java] at net.java.sip.communicator.impl.protocol.sip.ProtocolProviderServiceSipImpl.processResponse(ProtocolProviderServiceSipImpl.java:1048)
[java] at gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:290)
[java] at gov.nist.javax.sip.EventScanner.run(EventScanner.java:492)
[java] at java.lang.Thread.run(Thread.java:619)
[java] Caused by: java.lang.NullPointerException
[java] at com.sun.media.rtp.RTPSessionMgr.createSendStream(RTPSessionMgr.java:1203)
[java] at com.sun.media.rtp.RTPSessionMgr.createSendStream(RTPSessionMgr.java:1281)
[java] at net.java.sip.communicator.impl.media.CallSessionImpl.createSendStreams(CallSessionImpl.java:1122)
[java] ... 7 more

What is expected to happen:
As I noted in the previous section, the problem happens only SOMETIMES
and the call from step 3 succeeds in the other tries. So I guess it
should always work.

Other information:
I was hinted Damencho might be my savior :slight_smile:

Best regards,
Lubo

···

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


#2

Hi Lubomir!

Do you have more than one VfW video capture device connected to your
computer (like a webcam and a TV card)? If so, the Windows JMF video driver
will pick a device at random when the video source is opened. If it picks a
device which does not provide a supported video format, the call fails.
Maybe this would explain the random behaviour.

Cheers
Michael Koch

···

Steps to reproduce:
1. I log SIP Communicator into lubomir.marinov@iptel.org on Windows.
2. Get a call to teodora.dicheva@iptel.org who is with SIP
Communicator on Mac OS X in progress.
3. While the call created in step 2 is in progress, I attempt to call
59@voipgw.u-strasbg.fr who is not with SIP Communicator but on a
Siemens phone.
4. 59@voipgw.u-strasbg.fr picks up.

What happens:
I SOMETIMES (like 3 out of 5 tries) get the following exception and
the call attempted in step 3 fails:

[java] 22:12:07.435 SEVERE:
impl.protocol.sip.OperationSetBasicTelephonySipImpl.processInv
iteOK().1153
We failed to process the SDP description of
sip:59@voipgw.u-strasbg.fr(sip:59@voipgw.u-strasbg.fr). Error was:
Failed to create an RTP send stream for format H263/RTP, 352x288,
Length=1456
[java] net.java.sip.communicator.service.media.MediaException: Failed
to create an RTP send stream for format H263/RTP, 352x288, Length=1456
[java] at
net.java.sip.communicator.impl.media.CallSessionImpl.createSen
dStreams(CallSessionImpl.java:1129)
[java] - ALAW/rtp, 8000.0 Hz, 8-bit, Mono, Signed
[java] at
net.java.sip.communicator.impl.media.CallSessionImpl.processSd
pAnswer(CallSessionImpl.java:966)
[java] at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicT
elephonySipImpl.processInviteOK(OperationSetBasicTelephonySipI
mpl.java:1132)
[java] at
net.java.sip.communicator.impl.protocol.sip.OperationSetBasicT
elephonySipImpl.processResponse(OperationSetBasicTelephonySipI
mpl.java:691)
[java] RTPSessMgr not match : YUV Video Format: Size = null
MaxDataLength = -1 DataType = class [B yuvType = 2 StrideY = -1
StrideUV = -1 OffsetY = -1 OffsetU = -1 OffsetV = -1
[java] at
net.java.sip.communicator.impl.protocol.sip.ProtocolProviderSe
rviceSipImpl.processResponse(ProtocolProviderServiceSipImpl.java:1048)
[java] at
gov.nist.javax.sip.EventScanner.deliverEvent(EventScanner.java:290)
[java] at gov.nist.javax.sip.EventScanner.run(EventScanner.java:492)
[java] at java.lang.Thread.run(Thread.java:619)
[java] Caused by: java.lang.NullPointerException
[java] at
com.sun.media.rtp.RTPSessionMgr.createSendStream(RTPSessionMgr
.java:1203)
[java] at
com.sun.media.rtp.RTPSessionMgr.createSendStream(RTPSessionMgr
.java:1281)
[java] at
net.java.sip.communicator.impl.media.CallSessionImpl.createSen
dStreams(CallSessionImpl.java:1122)
[java] ... 7 more

What is expected to happen:
As I noted in the previous section, the problem happens only SOMETIMES
and the call from step 3 succeeds in the other tries. So I guess it
should always work.

Other information:
I was hinted Damencho might be my savior :slight_smile:

Best regards,
Lubo

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