Changes between Version 72 and Version 73 of Getting-Started/iPhone


Ignore:
Timestamp:
Jun 25, 2015 8:33:59 AM (9 years ago)
Author:
ming
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Getting-Started/iPhone

    v72 v73  
    123123}}} 
    124124 
     125=== Video orientation support === 
     126 
     127To send video in the proper orientation (i.e. head always up regardless of the device orientation), application needs to do the following: 
     128 
     1291. Setup the device to get orientation change notification (by calling the API {{{UIDevice.beginGeneratingDeviceOrientationNotifications}}} and add a callback to receive {{{UIDeviceOrientationDidChangeNotification}}}). 
     1302. Inside the callback, call PJSUA API {{{pjsua_vid_dev_set_orient()}}} to set the video device to the correct orientation. 
     131 
     132For sample usage, please refer to [https://trac.pjsip.org/repos/changeset/5118#file4 ipjsua sample app]. Ticket #1861 explains this feature in detail. 
    125133 
    126134[[BR]]