Changeset 5138 for pjproject/trunk/pjsip/src/pjsua2/media.cpp
- Timestamp:
- Jul 30, 2015 6:23:35 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/media.cpp
r5123 r5138 1307 1307 } 1308 1308 1309 bool VidDevManager::isCaptureActive(int dev_id) const 1310 { 1311 #if PJSUA_HAS_VIDEO 1312 return (pjsua_vid_dev_is_active(dev_id) == PJ_TRUE? true: false); 1313 #else 1314 PJ_UNUSED_ARG(dev_id); 1315 1316 return false; 1317 #endif 1318 } 1319 1320 void VidDevManager::setCaptureOrient(pjmedia_vid_dev_index dev_id, 1321 pjmedia_orient orient, 1322 bool keep) throw(Error) 1323 { 1324 #if PJSUA_HAS_VIDEO 1325 PJSUA2_CHECK_EXPR(pjsua_vid_dev_set_setting(dev_id, 1326 PJMEDIA_VID_DEV_CAP_ORIENTATION, &orient, keep)); 1327 #endif 1328 } 1329 1330 1309 1331 VidDevManager::VidDevManager() 1310 1332 {
Note: See TracChangeset
for help on using the changeset viewer.