pjsua video size question for I420 format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I have some questions about pjsua video support. We used H264/YUV by
following the instruction on pjsip web site about video support and used
the default configuration for iOS app. For some reasons, when "Setting up
RX..", pjsua set the size=656x656 for format I420 and when "Setting up
TX..", pjsua set the size=352x288 for format I420.

1. First question is in which source code that pjsua/pjmedia sets the size?

2. Would it be possible that I can based on the iphone size or ipad size to
set/change the size from configuration or from pjsua API?

Log is as below.

Any help would be greatly appreciated.

Thanks,
Beth

02/05 17:49:40.015 Debugwrite15: 17:49:40.012    pjsua_vid.c  ......Video
channel update..
02/05 17:49:40.040 Debugwrite15: 17:49:40.038 vstenc0x175130
 .......Encoder stream started
02/05 17:49:40.044 Debugwrite15: 17:49:40.041 vstdec0x175130
 .......Decoder stream started
02/05 17:49:40.048 Debugwrite15: 17:49:40.046    pjsua_vid.c
 .......Setting up RX..
02/05 17:49:40.052 Debugwrite15: 17:49:40.049    pjsua_vid.c
 ........Creating video window: type=stream, cap_id=-1, rend_id=0
02/05 17:49:40.058 Debugwrite15: 17:49:40.054     vid_port.c
 .........Opening device OpenGL renderer [OpenGL] for render: format=I420,
size=656x656 @22:1 fps
02/05 17:49:40.159 Debugwrite15: 17:49:40.156 ios_opengl_dev  .........iOS
OpenGL ES renderer successfully created
02/05 17:49:40.162 Debugwrite15: 17:49:40.160     vid_port.c
 .........Device OpenGL renderer [OpenGL] opened: format=I420, size=656x656
@22:1 fps
02/05 17:49:40.165 Debugwrite15: 17:49:40.163    pjsua_vid.c
 .........stream window id 0 created for cap_dev=-1 rend_dev=0
02/05 17:49:40.168 Debugwrite15: 17:49:40.166    pjsua_vid.c
 .........Window 0 created
02/05 17:49:40.172 Debugwrite15: 17:49:40.170 ios_opengl_dev
 ........Starting ios opengl stream
02/05 17:49:40.176 Debugwrite15: 17:49:40.174    pjsua_vid.c
 .......Setting up TX..
02/05 17:49:40.179 Debugwrite15: 17:49:40.177    pjsua_vid.c
 ........Creating video window: type=preview, cap_id=2, rend_id=0
02/05 17:49:40.183 Debugwrite15: 17:49:40.181     vid_port.c
 .........Opening device ????<9d>??<9b>??<9c>? [iOS] for capture:
format=I420, size=352x288 @15:1 fps
02/05 17:49:40.336 Debugwrite15: 17:49:40.333     vid_util.c
 .........Orientation converter created: 288x352 to 236x288, maintain
aspect ratio=yes
02/05 17:49:40.340 Debugwrite15: 17:49:40.337     vid_port.c
 .........Device ????<9d>??<9b>??<9c>? [iOS] opened: format=I420,
size=352x288 @15:1 fps
02/05 17:49:40.345 Debugwrite15: 17:49:40.342      ios_dev.c
 .........Native preview initialized
02/05 17:49:40.351 Debugwrite15: 17:49:40.346    pjsua_vid.c
 .........Preview window id 1 created for cap_dev 2, using built-in preview!
02/05 17:49:40.358 Debugwrite15: 17:49:40.352    pjsua_vid.c
 .........Window 1 created
02/05 17:49:40.362 Debugwrite15: 17:49:40.360      ios_dev.c
 ........Starting iOS video stream
02/05 17:49:40.497 Debugwrite15: 17:49:40.494 strm0x16d54c14 !VAD re-enabled
02/05 17:49:40.880 Debugwrite15: 17:49:40.867  pjsua_media.c !......Video
updated, stream #1: H264 (sendrecv)
02/05 17:49:40.885 Debugwrite15: 17:49:40.882    pjsua_aud.c  .....Conf
connect: 1 --> 0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20160214/207bfb2f/attachment.html>


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux