/**
* @brief Starts or resumes playback.
- * @details Plays current media content, or resumes play if paused.
+ * @details Plays current media content, or resumes playback if the player is paused or buffering during HTTP streaming play.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
- * @remarks Sound can be mixed with other sounds if you don't control the stream focus in sound-manager module since 3.0.\n
- * You can refer to @ref CAPI_MEDIA_SOUND_MANAGER_MODULE.
* @remarks Even if you don't set visible to true by calling player_set_display_visible(), the video will be shown on #PLAYER_STATE_PLAYING state.
- *
+ * @remarks Since 3.0: \n
+ * Sound can be mixed with other sounds, if you don't control the stream focus in sound-manager module.\n
+ * You can refer to @ref CAPI_MEDIA_SOUND_MANAGER_MODULE.
+ * @remarks Since 5.0: \n
+ * In case of HTTP streaming playback, the player could be internally paused for buffering.
+ * If the application calls this function during the buffering, the playback will be resumed by force
+ * and the buffering message posting by player_buffering_cb() will be stopped.
* @param[in] player The handle to the media player
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
* @retval #PLAYER_ERROR_CONNECTION_FAILED Network connection failed
* @retval #PLAYER_ERROR_SOUND_POLICY Sound policy error
- * @pre player_prepare() must be called before calling this function.
- * @pre The player state must be set to #PLAYER_STATE_READY by calling player_prepare() or set to #PLAYER_STATE_PAUSED by calling player_pause().
+ * @pre Before 5.0: The player state must be #PLAYER_STATE_READY or #PLAYER_STATE_PAUSED. \n
+ * @pre Since 5.0: The player state must be one of #PLAYER_STATE_READY, #PLAYER_STATE_PLAYING, or #PLAYER_STATE_PAUSED.
* @post The player state will be #PLAYER_STATE_PLAYING.
* @post It invokes player_completed_cb() when playback completes, if you set a callback with player_set_completed_cb().
* @see player_prepare()
* @see player_set_completed_cb()
* @see player_completed_cb()
* @see player_set_display_visible()
+ * @see player_set_buffering_cb()
+ * @see player_buffering_cb()
*/
int player_start(player_h player);
* @retval #PLAYER_ERROR_INVALID_STATE Invalid player state
* @retval #PLAYER_ERROR_SOUND_POLICY Sound policy error
* @pre The player state must be set to #PLAYER_STATE_PLAYING.
- * @post The player state will be #PLAYER_STATE_READY.
+ * @post The player state will be #PLAYER_STATE_PAUSED.
* @see player_start()
*/
int player_pause(player_h player);
* @param[in] player The handle to the media player
* @param[in] prebuffer_ms The time duration of buffering data that must be prerolled to start playback.
* @param[in] rebuffer_ms The time duration of buffering data that must be prerolled to resume playback
- * if player enters pause state for buffering.
+ * if player is paused for buffering internally.
* @return @c 0 on success,
* otherwise a negative error value
* @retval #PLAYER_ERROR_NONE Successful