Ignore:
Timestamp:
Oct 4, 2011 1:35:41 PM (10 years ago)
Author:
bennylp
Message:

More re #1362: actually try to use the device switching capability in pjsua-lib, in pjsua_call_set_vid_strm(PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV) operation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia-videodev/videodev.h

    r3781 r3787  
    9898/** 
    9999 * Parameter for switching device with PJMEDIA_VID_DEV_CAP_SWITCH capability. 
     100 * Initialize this with pjmedia_vid_dev_switch_param_default() 
    100101 */ 
    101102typedef struct pjmedia_vid_dev_switch_param 
     
    431432(*pjmedia_vid_dev_factory_create_func_ptr)(pj_pool_factory*); 
    432433 
     434/** 
     435 * Initialize pjmedia_vid_dev_switch_param. 
     436 * 
     437 * @param p         Parameter to be initialized. 
     438 */ 
     439PJ_INLINE(void) 
     440pjmedia_vid_dev_switch_param_default(pjmedia_vid_dev_switch_param *p) 
     441{ 
     442    pj_bzero(p, sizeof(*p)); 
     443    p->target_id = PJMEDIA_VID_INVALID_DEV; 
     444} 
    433445 
    434446/** 
Note: See TracChangeset for help on using the changeset viewer.