Changeset 895 for pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
- Timestamp:
- Jan 21, 2007 11:12:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua-lib/pjsua.h
r881 r895 2894 2894 2895 2895 /***************************************************************************** 2896 * File player .2897 */ 2898 2899 /** 2900 * Create a file player, and automatically connectthis player to2896 * File player and playlist. 2897 */ 2898 2899 /** 2900 * Create a file player, and automatically add this player to 2901 2901 * the conference bridge. 2902 2902 * … … 2916 2916 2917 2917 /** 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 */ 2932 PJ_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. 2919 2940 * 2920 2941 * @param id The file player ID. … … 2926 2947 2927 2948 /** 2928 * Get the media port for the player .2949 * Get the media port for the player or playlist. 2929 2950 * 2930 2951 * @param id The player ID. … … 2937 2958 2938 2959 /** 2939 * Set playback position. 2960 * Set playback position. This operation is not valid for playlist. 2940 2961 * 2941 2962 * @param id The file player ID. … … 2950 2971 2951 2972 /** 2952 * Close the file , remove the player from the bridge, and free2953 * 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. 2954 2975 * 2955 2976 * @param id The file player ID.
Note: See TracChangeset
for help on using the changeset viewer.