int legacy_player_get_num_of_video_out_buffers(player_h player, int *num, int *extra_num);
/**
- * @brief Sets file path for buffering
- * @since_tizen 3.0
- * @param[in] player The handle to the media player
- * @param[in] file_path The file path for buffering
- * @return @c 0 on success,
- * otherwise a negative error value
- * @retval #PLAYER_ERROR_NONE Successful
- * @retval #PLAYER_ERROR_INVALID_PARAMETER Invalid parameter
- * @retval #PLAYER_ERROR_INVALID_OPERATION Invalid operation
- */
-int legacy_player_set_file_buffering_path(player_h player, const char *file_path);
-
-/**
* @brief Retrieves all the streaming variant information.
* @since_tizen 4.0
* @remarks This API is used for adaptive streaming(hls/mpeg dash) only.
return PLAYER_ERROR_NONE;
}
-int legacy_player_set_file_buffering_path(player_h player, const char *file_path)
-{
- player_s *handle = (player_s *)player;
- int ret = MM_ERROR_NONE;
- PLAYER_INSTANCE_CHECK(player);
- PLAYER_NULL_ARG_CHECK(file_path);
- PLAYER_STATE_CHECK(handle, PLAYER_STATE_IDLE);
-
- ret = mm_player_set_file_buffering_path(handle->mm_handle, file_path);
- if (ret != MM_ERROR_NONE)
- return __player_convert_error_code(ret, (char *)__FUNCTION__);
-
- return PLAYER_ERROR_NONE;
-}
-
int legacy_player_manage_external_storage_state(player_h player, int id, int state)
{
player_s *handle = (player_s *)player;
ret = legacy_player_set_uri(muse_player->player_handle, path);
PLAYER_RETURN_MSG(api, ret, module);
-
- if (ret == PLAYER_ERROR_NONE) {
- const char *file_buffering_path = muse_server_module_get_temporal_path();
-
- LOGD("file buffering path : %s", file_buffering_path);
- if (file_buffering_path)
- legacy_player_set_file_buffering_path(muse_player->player_handle, file_buffering_path);
- }
return ret;
}
Name: mmsvc-player
Summary: A Media Player module for muse server
-Version: 0.2.96
+Version: 0.2.97
Release: 0
Group: Multimedia/Libraries
License: Apache-2.0