Ignore:
Timestamp:
Sep 27, 2011 5:24:06 AM (10 years ago)
Author:
nanang
Message:

Close #1360: implementated video orientation (currently only for video devices).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h

    r3763 r3774  
    57195719                                            const pjmedia_rect_size *size); 
    57205720 
     5721/** 
     5722 * Rotate the video window. This function will change the video orientation 
     5723 * and also possibly the video window size (width and height get swapped). 
     5724 * This operation is not valid for native windows (pjsua_vid_win_info.is_native 
     5725 * =PJ_TRUE), on which native windowing API must be used instead. 
     5726 * 
     5727 * @param wid           The video window ID. 
     5728 * @param angle         The rotation angle in degrees, must be multiple of 90. 
     5729 *                      Specify positive value for clockwise rotation or 
     5730 *                      negative value for counter-clockwise rotation. 
     5731 * 
     5732 * @return              PJ_SUCCESS on success, or the appropriate error code. 
     5733 */ 
     5734PJ_DECL(pj_status_t) pjsua_vid_win_rotate(pjsua_vid_win_id wid, 
     5735                                          int angle); 
    57215736 
    57225737 
Note: See TracChangeset for help on using the changeset viewer.