Ignore:
Timestamp:
Jan 21, 2007 11:12:40 PM (17 years ago)
Author:
bennylp
Message:

Implement ticket #67: added WAV playlist feature to PJMEDIA

File:
1 edited

Legend:

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

    r881 r895  
    28942894 
    28952895/***************************************************************************** 
    2896  * File player. 
    2897  */ 
    2898  
    2899 /** 
    2900  * Create a file player, and automatically connect this player to 
     2896 * File player and playlist. 
     2897 */ 
     2898 
     2899/** 
     2900 * Create a file player, and automatically add this player to 
    29012901 * the conference bridge. 
    29022902 * 
     
    29162916 
    29172917/** 
    2918  * Get conference port ID associated with player. 
     2918 * Create a file playlist media port, and automatically add the port 
     2919 * to the conference bridge. 
     2920 * 
     2921 * @param file_names    Array of file names to be added to the play list. 
     2922 *                      Note that the files must have the same clock rate, 
     2923 *                      number of channels, and number of bits per sample. 
     2924 * @param file_count    Number of files in the array. 
     2925 * @param label         Optional label to be set for the media port. 
     2926 * @param options       Optional option flag. Application may specify 
     2927 *                      PJMEDIA_FILE_NO_LOOP to prevent looping. 
     2928 * @param p_id          Optional pointer to receive player ID. 
     2929 * 
     2930 * @return              PJ_SUCCESS on success, or the appropriate error code. 
     2931 */ 
     2932PJ_DECL(pj_status_t) pjsua_playlist_create(const pj_str_t file_names[], 
     2933                                           unsigned file_count, 
     2934                                           const pj_str_t *label, 
     2935                                           unsigned options, 
     2936                                           pjsua_player_id *p_id); 
     2937 
     2938/** 
     2939 * Get conference port ID associated with player or playlist. 
    29192940 * 
    29202941 * @param id            The file player ID. 
     
    29262947 
    29272948/** 
    2928  * Get the media port for the player. 
     2949 * Get the media port for the player or playlist. 
    29292950 * 
    29302951 * @param id            The player ID. 
     
    29372958 
    29382959/** 
    2939  * Set playback position. 
     2960 * Set playback position. This operation is not valid for playlist. 
    29402961 * 
    29412962 * @param id            The file player ID. 
     
    29502971 
    29512972/** 
    2952  * Close the file, remove the player from the bridge, and free 
    2953  * resources associated with the file player. 
     2973 * Close the file of playlist, remove the player from the bridge, and free 
     2974 * resources associated with the file player or playlist. 
    29542975 * 
    29552976 * @param id            The file player ID. 
Note: See TracChangeset for help on using the changeset viewer.