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.
From: Apurv Agnihotri
Sent: Friday, July 09, 2010 5:23 PM
Subject: FW: [sip-comm-dev] Enabling video automatically on call connect
From: Sebastien Vincent [mailto:firstname.lastname@example.org]
Sent: Friday, July 09, 2010 5:20 PM
Subject: Re: [sip-comm-dev] Enabling video automatically on call connect
Le 09/07/2010 13:36, Apurv Agnihotri a écrit :
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.
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?