Changes between Version 60 and Version 61 of Video_Users_Guide


Ignore:
Timestamp:
Jul 3, 2015 10:46:52 AM (9 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Video_Users_Guide

    v60 v61  
    274274 
    2752751. Setup the device to get orientation change notification. 
    276 2. Inside the callback, call PJSUA API {{{pjsua_vid_dev_set_setting()}}} to set the video device to the correct orientation. 
     2762. Inside the callback, call PJSUA API 
     277 {{{ 
     278pjsua_vid_dev_set_setting(dev_id, PJMEDIA_VID_DEV_CAP_ORIENTATION, &new_orientation, PJ_TRUE) 
     279 }}} 
     280 to set the video device to the correct orientation. 
    277281 
    278282For sample usage, please refer to our sample apps, ipjsua for iOS, and pjsua2 for Android. Ticket #1861 explains this feature in detail.