H264 Video question

JH
Jerry Horel
Tue, Feb 7, 2017 6:07 PM

Issue on android  using pjsip 2.6

no matter what format I set for the Encoding parameter i always get a
176x144 video stream.  any ideas on how to fix

I set the Encoder format parameter to 640x480.

02-07 09:25:34.248 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.253 android_opengl  .........Re-initializing OpenGL due to format
change
02-07 09:25:34.248 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.255 android_opengl  .........Android OpenGL ES renderer
successfully created
02-07 09:25:34.253 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.256    vid_port.c  .........Device OpenGL renderer [OpenGL]
opened: format=I420, size=656x656 @22:1 fps
02-07 09:25:34.253 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.257    pjsua_vid.c  .........stream window id 0 created for
cap_dev=-1 rend_dev=0
02-07 09:25:34.253 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.259    pjsua_vid.c  .........Window 0 created
02-07 09:25:34.253 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.260 android_opengl  ........Starting Android opengl stream
02-07 09:25:34.258 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.261    pjsua_vid.c  .......Setting up TX..
02-07 09:25:34.258 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.263    pjsua_vid.c  ........Creating video window: type=preview,
cap_id=1, rend_id=0
02-07 09:25:34.258 28042-28164/org.pjsip.pjsua2.app I/System.out:
09:25:34.264    vid_port.c  .........Opening device Front camera [Android]
for capture: format=I420, size=176x144

The incoming video shows 640x480 without any issues so it appears the
decoder is working.

any suggestions would help

Issue on android using pjsip 2.6 no matter what format I set for the Encoding parameter i always get a 176x144 video stream. any ideas on how to fix I set the Encoder format parameter to 640x480. 02-07 09:25:34.248 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.253 android_opengl .........Re-initializing OpenGL due to format change 02-07 09:25:34.248 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.255 android_opengl .........Android OpenGL ES renderer successfully created 02-07 09:25:34.253 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.256 vid_port.c .........Device OpenGL renderer [OpenGL] opened: format=I420, size=656x656 @22:1 fps 02-07 09:25:34.253 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.257 pjsua_vid.c .........stream window id 0 created for cap_dev=-1 rend_dev=0 02-07 09:25:34.253 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.259 pjsua_vid.c .........Window 0 created 02-07 09:25:34.253 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.260 android_opengl ........Starting Android opengl stream 02-07 09:25:34.258 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.261 pjsua_vid.c .......Setting up TX.. 02-07 09:25:34.258 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.263 pjsua_vid.c ........Creating video window: type=preview, cap_id=1, rend_id=0 02-07 09:25:34.258 28042-28164/org.pjsip.pjsua2.app I/System.out: 09:25:34.264 vid_port.c .........Opening device Front camera [Android] for capture: format=I420, size=176x144 The incoming video shows 640x480 without any issues so it appears the decoder is working. any suggestions would help