Ignore:
Timestamp:
Dec 26, 2006 3:05:17 AM (14 years ago)
Author:
bennylp
Message:

(Ticket #52) Added functions to retrieve media port of player and recorder in PJSUA-API

File:
1 edited

Legend:

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

    r864 r865  
    27082708PJ_DECL(pjsua_conf_port_id) pjsua_player_get_conf_port(pjsua_player_id id); 
    27092709 
     2710 
     2711/** 
     2712 * Get the media port for the player. 
     2713 * 
     2714 * @param id            The player ID. 
     2715 * @param p_port        The media port associated with the player. 
     2716 * 
     2717 * @return              PJ_SUCCESS on success. 
     2718 */ 
     2719PJ_DECL(pj_status_t) pjsua_player_get_port(pjsua_recorder_id id, 
     2720                                           pjmedia_port **p_port); 
    27102721 
    27112722/** 
     
    27812792 
    27822793/** 
     2794 * Get the media port for the recorder. 
     2795 * 
     2796 * @param id            The recorder ID. 
     2797 * @param p_port        The media port associated with the recorder. 
     2798 * 
     2799 * @return              PJ_SUCCESS on success. 
     2800 */ 
     2801PJ_DECL(pj_status_t) pjsua_recorder_get_port(pjsua_recorder_id id, 
     2802                                             pjmedia_port **p_port); 
     2803 
     2804 
     2805/** 
    27832806 * Destroy recorder (this will complete recording). 
    27842807 * 
Note: See TracChangeset for help on using the changeset viewer.