Changes between Version 60 and Version 61 of Video_Users_Guide
- Timestamp:
- Jul 3, 2015 10:46:52 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Video_Users_Guide
v60 v61 274 274 275 275 1. 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. 276 2. Inside the callback, call PJSUA API 277 {{{ 278 pjsua_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. 277 281 278 282 For sample usage, please refer to our sample apps, ipjsua for iOS, and pjsua2 for Android. Ticket #1861 explains this feature in detail.