Hi,
I successfully enabled video in Android by following the steps in given link,
https://trac.pjsip.org/repos/wiki/Getting-Started/Android
But my application is not displaying the video layout, from my observation i figured out that for media type video(index) i was getting
Call media status as PJSUA_CALL_MEDIA_NONE and
VideoIncomingWindowId == -1(Invalid)
App Logs
pjsua_media.c .....Call 1: updating media..
pjsua_media.c .......Media stream call01:0 is destroyed
icetp00 ......Stopping ICE, reason=Remote answer doesn't support ICE
icetp00 ......Destroying ICE session 0xb7c4739c
pjsua_aud.c ......Audio channel update..
strm0xb7c7839c .......VAD temporarily disabled
strm0xb7c7839c .......Encoder stream started
strm0xb7c7839c .......Decoder stream started
pjsua_media.c ......Audio updated, stream #0: speex (sendrecv)
pjsua_media.c .......Media stream call01:1 is destroyed
pjsua_media.c ......Video updated, stream #1: (inactive)
icetp01 .......Destroying ICE session 0xb7c55604
icetp01 ......ICE stream transport 0xb7bbf234 destroyed
ice_session.c ......ICE session 0xb7c55604 destroyed
pjsua_aud.c .....Conf connect: 0 --> 1
conference.c ......Port 0 (Android JNI) transmitting to port 1 (sip:444@inetra.inedasystems.com)
pjsua_aud.c .....Conf connect: 1 --> 0
conference.c ......Port 1 (sip:id) transmitting to port 0 (Android JNI)
pjsua_core.c .....TX 372 bytes Request msg ACK/cseq=14492 (tdta0xb7b7c0e4) to UDP 192.168.43.112:5060:
ACK sip:444@192.168.43.112:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.43.56:6000;rport;branch=z9hG4bKPj46fa210c-8ae7-43f4-a1a5-68e00820381a
10-27 11:46:55.671 19582-19788/org.pjsip.pjsua2.app I/System.out: Max-Forwards: 70
Call-ID: 1ee51668-6013-4b64-8d0c-4f6af2ad5a26
CSeq: 14492 ACK
Content-Length: 0
--end msg--
strm0xb7c7839c !VAD re-enabled
Regards,
Srikar
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited.