pjsua_playlist_create method
Create a file playlist media port, and automatically add the port to the conference bridge.
@param file_names Array of file names to be added to the play list. Note that the files must have the same clock rate, number of channels, and number of bits per sample. Each filename's length must be smaller than PJ_MAXPATH. @param file_count Number of files in the array. @param label Optional label to be set for the media port. @param options Optional option flag. Application may specify PJMEDIA_FILE_NO_LOOP to prevent looping. @param p_id Optional pointer to receive player ID.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_playlist_create(
ffi.Pointer<pj_str_t> file_names,
int file_count,
ffi.Pointer<pj_str_t> label,
int options,
ffi.Pointer<pjsua_player_id> p_id,
) {
return _pjsua_playlist_create(
file_names,
file_count,
label,
options,
p_id,
);
}