Ignore:
Timestamp:
Jun 21, 2011 9:33:01 AM (13 years ago)
Author:
ming
Message:

Re #1312: Support for refreshing video device list
Add pjmedia-videodev API: pjmedia_vid_dev_refresh() and its implementation for Windows and Linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia-videodev/videodev.h

    r3590 r3592  
    446446 
    447447/** 
     448 * Refresh the list of video devices installed in the system. This function 
     449 * will only refresh the list of videoo device so all active video streams will 
     450 * be unaffected. After refreshing the device list, application MUST make sure 
     451 * to update all index references to video devices (i.e. all variables of type 
     452 * pjmedia_vid_dev_index) before calling any function that accepts video device 
     453 * index as its parameter. 
     454 * 
     455 * @return              PJ_SUCCESS on successful operation or the appropriate 
     456 *                      error code. 
     457 */ 
     458PJ_DECL(pj_status_t) pjmedia_vid_dev_refresh(void); 
     459 
     460 
     461/** 
    448462 * Get the number of video devices installed in the system. 
    449463 * 
Note: See TracChangeset for help on using the changeset viewer.