Ignore:
Timestamp:
Aug 15, 2011 9:38:42 AM (13 years ago)
Author:
bennylp
Message:

Re #1263 (Video API):

  • Added PJSUA_CALL_VID_STRM_NO_OP to occupy value 0 for the enum
  • Added pjsua_call_vid_strm_op_param_default() to initialize pjsua_call_vid_strm_op_param
  • Renamed pjsua_call_get_transport_info() to pjsua_call_get_med_transport_info()
File:
1 edited

Legend:

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

    r3685 r3694  
    33043304{ 
    33053305    /** 
     3306     * No operation 
     3307     */ 
     3308    PJSUA_CALL_VID_STRM_NO_OP, 
     3309 
     3310    /** 
    33063311     * Add a new video stream. This will add a new m=video line to 
    33073312     * the media, regardless of whether existing video is/are present 
     
    33513356 
    33523357/** 
    3353  * Parameters for video stream operation on a call. 
     3358 * Parameters for video stream operation on a call. Application should 
     3359 * use #pjsua_call_vid_strm_op_param_default() to initialize this structure 
     3360 * with its default values. 
    33543361 */ 
    33553362typedef struct pjsua_call_vid_strm_op_param 
     
    33863393     * PJSUA_CALL_VID_STRM_ADD and PJSUA_CALL_VID_STRM_CHANGE_CAP_DEV. 
    33873394     * 
    3388      * Default: capture device configured in account. 
     3395     * Default: PJMEDIA_VID_DEFAULT_CAPTURE_DEV. 
    33893396     */ 
    33903397    pjmedia_vid_dev_index cap_dev; 
    33913398 
    33923399} pjsua_call_vid_strm_op_param; 
     3400 
     3401 
     3402/** 
     3403 * Initialize video stream operation param with default values. 
     3404 * 
     3405 * @param param         The video stream operation param to be initialized. 
     3406 */ 
     3407PJ_DECL(void) 
     3408pjsua_call_vid_strm_op_param_default(pjsua_call_vid_strm_op_param *param); 
    33933409 
    33943410 
     
    38893905 * @return              PJ_SUCCESS on success or the appropriate error. 
    38903906 */ 
    3891 PJ_DECL(pj_status_t) pjsua_call_get_transport_info(pjsua_call_id call_id, 
    3892                                                    unsigned med_idx, 
    3893                                                    pjmedia_transport_info *t); 
     3907PJ_DECL(pj_status_t)  
     3908pjsua_call_get_med_transport_info(pjsua_call_id call_id, 
     3909                                  unsigned med_idx, 
     3910                                  pjmedia_transport_info *t); 
    38943911 
    38953912 
Note: See TracChangeset for help on using the changeset viewer.