[sip-comm-dev] Enabling video automatically on call connect


#1

Hi Seb,

Thanks for the pointer.

We tried to enable Video as soon as call connected by calling callPeer.getCall().setLocalVideoAllowed(true, MediaUseCase.CALL) while initiating the outgoing call as well as while answering incoming call. This has started showing Local Video on the Call Panel for the Caller/Callee as soon as call gets connected however Video is not getting displayed on Remote End.

While analyzing the packet traces, we found that the Video RTP packets are not being transmitted by Caller although it starts showing the Local Video control. Audio is flowing normally. Actual Video transmission starts only after caller/callee clicks Video Toggle button thereby generating a Reinvite Sip message.

Kindly let me know if you have any quick pointers on what can be causing this problem.

Regards
Girish

···

From: Apurv Agnihotri

Sent: Friday, July 09, 2010 5:23 PM
To: girish_kumar
Subject: FW: [sip-comm-dev] Enabling video automatically on call connect

From: Sebastien Vincent [mailto:seb@sip-communicator.org]

Sent: Friday, July 09, 2010 5:20 PM
To: dev@sip-communicator.dev.java.net
Subject: Re: [sip-comm-dev] Enabling video automatically on call connect

Hi,

Le 09/07/2010 13:36, Apurv Agnihotri a écrit :
Hi All,

Is it possible to get video automatically enabled as soon as a call gets connected between two users on sip communicator?
Currently we need to click on toggle video button, once the call gets connected, then only video starts showing up. Can we get the video started without clicking on the toggle video button.

Recently we have made modifications to protocol service to be able to do such feature including starting immediately a desktop streaming session. _However_ GUI part (i.e. having a button to start video call in contact, item in right-click menu, ...) is not yet done. See net.java.sip.communicator.impl.protocol.sip.OperationSetVideoTelephonySipImpl more precisely createVideoCall method.

Regards,
--
Seb

To achieve this we made following change in net.java.sip.communicator.impl.protocol.sip.CallSipImpl :-

private boolean localVideoAllowed = true;//earlier initialized to false

By making above changes local video starts itself at the caller end but video is not delivered at callee end. Can someone please provide some input on how we can make this work?

Thanks,
Apurv


#2

Le 09/07/2010 16:47, girish_kumar a �crit :

Hi Seb,

Thanks for the pointer.

We tried to enable Video as soon as call connected by calling *callPeer.getCall().setLocalVideoAllowed(true, MediaUseCase.CALL)* while initiating the outgoing call as well as while answering incoming call. This has started showing Local Video on the Call Panel for the Caller/Callee as soon as call gets connected however Video is not getting displayed on Remote End.

While analyzing the packet traces, we found that the Video RTP packets are not being transmitted by Caller although it starts showing the Local Video control. Audio is flowing normally. Actual Video transmission starts only after caller/callee clicks Video Toggle button thereby generating a Reinvite Sip message.

I think it is due to NAT problem. I have the same behavior if I connect throught asterisk server or with iptel.org. We try to send an empty UDP packet to "punch hole" NAT but it seems to work only with ippi provider.

Regards,

···

--
Seb

Kindly let me know if you have any quick pointers on what can be causing this problem.

Regards

Girish

*From:* Apurv Agnihotri
*Sent:* Friday, July 09, 2010 5:23 PM
*To:* girish_kumar
*Subject:* FW: [sip-comm-dev] Enabling video automatically on call connect

*From:* Sebastien Vincent [mailto:seb@sip-communicator.org]
*Sent:* Friday, July 09, 2010 5:20 PM
*To:* dev@sip-communicator.dev.java.net
*Subject:* Re: [sip-comm-dev] Enabling video automatically on call connect

Hi,

Le 09/07/2010 13:36, Apurv Agnihotri a �crit :

Hi All,

Is it possible to get video automatically enabled as soon as a call gets connected between two users on sip communicator?

Currently we need to click on toggle video button, once the call gets connected, then only video starts showing up. Can we get the video started without clicking on the toggle video button.

Recently we have made modifications to protocol service to be able to do such feature including starting immediately a desktop streaming session. _However_ GUI part (i.e. having a button to start video call in contact, item in right-click menu, ...) is not yet done. See net.java.sip.communicator.impl.protocol.sip.OperationSetVideoTelephonySipImpl more precisely createVideoCall method.

Regards,
--
Seb

To achieve this we made following change in net.java.sip.communicator.impl.protocol.sip.CallSipImpl :-

*private boolean localVideoAllowed = true;*//earlier initialized to false

By making above changes local video starts itself at the caller end but video is not delivered at callee end. Can someone please provide some input on how we can make this work?

Thanks,

Apurv


#3

Girish,

You should try using the createVideoCall() methods in
OperationSetVideoTelephony. These are the newly added methods that Seb
was referring to.

Hope this helps,
Emil

На 09.07.10 16:47, girish_kumar написа:

···

Hi Seb,

Thanks for the pointer.

We tried to enable Video as soon as call connected by calling
*callPeer.getCall().setLocalVideoAllowed(true, MediaUseCase.CALL)* while
initiating the outgoing call as well as while answering incoming call.
This has started showing Local Video on the Call Panel for the
Caller/Callee as soon as call gets connected however Video is not
getting displayed on Remote End.

While analyzing the packet traces, we found that the Video RTP packets
are not being transmitted by Caller although it starts showing the Local
Video control. Audio is flowing normally. Actual Video transmission
starts only after caller/callee clicks Video Toggle button thereby
generating a Reinvite Sip message.

Kindly let me know if you have any quick pointers on what can be causing
this problem.

Regards

Girish

*From:* Apurv Agnihotri
*Sent:* Friday, July 09, 2010 5:23 PM
*To:* girish_kumar
*Subject:* FW: [sip-comm-dev] Enabling video automatically on call connect

*From:* Sebastien Vincent [mailto:seb@sip-communicator.org]
*Sent:* Friday, July 09, 2010 5:20 PM
*To:* dev@sip-communicator.dev.java.net
*Subject:* Re: [sip-comm-dev] Enabling video automatically on call connect

Hi,

Le 09/07/2010 13:36, Apurv Agnihotri a écrit :

Hi All,

Is it possible to get video automatically enabled as soon as a call gets
connected between two users on sip communicator?

Currently we need to click on toggle video button, once the call gets
connected, then only video starts showing up. Can we get the video
started without clicking on the toggle video button.

Recently we have made modifications to protocol service to be able to do
such feature including starting immediately a desktop streaming session.
_However_ GUI part (i.e. having a button to start video call in
contact, item in right-click menu, ...) is not yet done. See
net.java.sip.communicator.impl.protocol.sip.OperationSetVideoTelephonySipImpl
more precisely createVideoCall method.

Regards,
--
Seb

To achieve this we made following change in
net.java.sip.communicator.impl.protocol.sip.CallSipImpl :-

*private boolean localVideoAllowed = true;*//earlier initialized to false

By making above changes local video starts itself at the caller end but
video is not delivered at callee end. Can someone please provide some
input on how we can make this work?

Thanks,

Apurv

--
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


#4

Seb,

I may be wrong but since we are working in a local network environment wherein both Sip Server and Callee/Caller are on same LAN segment, there should not be any NAT related issues.

Is there anything different in how media transmission is handled in Reinvite from the original invite (when there is already is ongoing session)? May be there is no Video stream check in Original Invite handling?

Regards
Girish

···

From: Sebastien Vincent [mailto:seb@sip-communicator.org]

Sent: Friday, July 09, 2010 8:37 PM
To: girish_kumar
Cc: dev@sip-communicator.dev.java.net; Apurv Agnihotri
Subject: Re: [sip-comm-dev] Enabling video automatically on call connect

Le 09/07/2010 16:47, girish_kumar a écrit :
Hi Seb,

Thanks for the pointer.

We tried to enable Video as soon as call connected by calling callPeer.getCall().setLocalVideoAllowed(true, MediaUseCase.CALL) while initiating the outgoing call as well as while answering incoming call. This has started showing Local Video on the Call Panel for the Caller/Callee as soon as call gets connected however Video is not getting displayed on Remote End.

While analyzing the packet traces, we found that the Video RTP packets are not being transmitted by Caller although it starts showing the Local Video control. Audio is flowing normally. Actual Video transmission starts only after caller/callee clicks Video Toggle button thereby generating a Reinvite Sip message.

I think it is due to NAT problem. I have the same behavior if I connect throught asterisk server or with iptel.org. We try to send an empty UDP packet to "punch hole" NAT but it seems to work only with ippi provider.

Regards,
--
Seb

Kindly let me know if you have any quick pointers on what can be causing this problem.

Regards
Girish

From: Apurv Agnihotri

Sent: Friday, July 09, 2010 5:23 PM
To: girish_kumar
Subject: FW: [sip-comm-dev] Enabling video automatically on call connect

From: Sebastien Vincent [mailto:seb@sip-communicator.org]

Sent: Friday, July 09, 2010 5:20 PM
To: dev@sip-communicator.dev.java.net<mailto:dev@sip-communicator.dev.java.net>
Subject: Re: [sip-comm-dev] Enabling video automatically on call connect

Hi,

Le 09/07/2010 13:36, Apurv Agnihotri a écrit :
Hi All,

Is it possible to get video automatically enabled as soon as a call gets connected between two users on sip communicator?
Currently we need to click on toggle video button, once the call gets connected, then only video starts showing up. Can we get the video started without clicking on the toggle video button.

Recently we have made modifications to protocol service to be able to do such feature including starting immediately a desktop streaming session. _However_ GUI part (i.e. having a button to start video call in contact, item in right-click menu, ...) is not yet done. See net.java.sip.communicator.impl.protocol.sip.OperationSetVideoTelephonySipImpl more precisely createVideoCall method.

Regards,
--
Seb

To achieve this we made following change in net.java.sip.communicator.impl.protocol.sip.CallSipImpl :-

private boolean localVideoAllowed = true;//earlier initialized to false

By making above changes local video starts itself at the caller end but video is not delivered at callee end. Can someone please provide some input on how we can make this work?

Thanks,
Apurv

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are not
to copy, disclose, or distribute this e-mail or its contents to any other person and
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken
every reasonable precaution to minimize this risk, but is not liable for any damage
you may sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves the
right to monitor and review the content of all messages sent to or from this e-mail
address. Messages sent to or from this e-mail address may be stored on the
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***


#5

Seb,

I may be wrong but since we are working in a local network environment wherein both Sip Server and Callee/Caller are on same LAN segment, there should not be any NAT related issues.

Is there anything different in how media transmission is handled in Reinvite from the original invite (when there is already is ongoing session)? May be there is no Video stream check in Original Invite handling?

Regards
Girish

···

From: Sebastien Vincent [mailto:seb@sip-communicator.org]

Sent: Friday, July 09, 2010 8:37 PM
To: girish_kumar
Cc: dev@sip-communicator.dev.java.net; Apurv Agnihotri
Subject: Re: [sip-comm-dev] Enabling video automatically on call connect

Le 09/07/2010 16:47, girish_kumar a écrit :
Hi Seb,

Thanks for the pointer.

We tried to enable Video as soon as call connected by calling callPeer.getCall().setLocalVideoAllowed(true, MediaUseCase.CALL) while initiating the outgoing call as well as while answering incoming call. This has started showing Local Video on the Call Panel for the Caller/Callee as soon as call gets connected however Video is not getting displayed on Remote End.

While analyzing the packet traces, we found that the Video RTP packets are not being transmitted by Caller although it starts showing the Local Video control. Audio is flowing normally. Actual Video transmission starts only after caller/callee clicks Video Toggle button thereby generating a Reinvite Sip message.

I think it is due to NAT problem. I have the same behavior if I connect throught asterisk server or with iptel.org. We try to send an empty UDP packet to "punch hole" NAT but it seems to work only with ippi provider.

Regards,
--
Seb

Kindly let me know if you have any quick pointers on what can be causing this problem.

Regards
Girish

From: Apurv Agnihotri

Sent: Friday, July 09, 2010 5:23 PM
To: girish_kumar
Subject: FW: [sip-comm-dev] Enabling video automatically on call connect

From: Sebastien Vincent [mailto:seb@sip-communicator.org]

Sent: Friday, July 09, 2010 5:20 PM
To: dev@sip-communicator.dev.java.net<mailto:dev@sip-communicator.dev.java.net>
Subject: Re: [sip-comm-dev] Enabling video automatically on call connect

Hi,

Le 09/07/2010 13:36, Apurv Agnihotri a écrit :
Hi All,

Is it possible to get video automatically enabled as soon as a call gets connected between two users on sip communicator?
Currently we need to click on toggle video button, once the call gets connected, then only video starts showing up. Can we get the video started without clicking on the toggle video button.

Recently we have made modifications to protocol service to be able to do such feature including starting immediately a desktop streaming session. _However_ GUI part (i.e. having a button to start video call in contact, item in right-click menu, ...) is not yet done. See net.java.sip.communicator.impl.protocol.sip.OperationSetVideoTelephonySipImpl more precisely createVideoCall method.

Regards,
--
Seb

To achieve this we made following change in net.java.sip.communicator.impl.protocol.sip.CallSipImpl :-

private boolean localVideoAllowed = true;//earlier initialized to false

By making above changes local video starts itself at the caller end but video is not delivered at callee end. Can someone please provide some input on how we can make this work?

Thanks,
Apurv