* </tr>
* <tr>
* <td>player_destroy()</td>
- * <td>ANY</td>
- * <td>-</td>
+ * <td>IDLE/ READY/ PLAYING/ PAUSED</td>
+ * <td>This function must be called after player_create()</td>
* </tr>
* <tr>
* <td>player_prepare()</td>
* </tr>
* <tr>
* <td>player_unprepare()</td>
- * <td>READY/PAUSED/PLAYING</td>
- * <td>This function must be called after player_stop() or player_start() or player_pause()</td>
+ * <td>READY/ PLAYING/ PAUSED</td>
+ * <td>This function must be called after player_prepare()</td>
* </tr>
* <tr>
* <td>player_start()</td>
* <td>This function must be called after player_create()</td>
* </tr>
* <tr>
- * <td>player_unset_completed_cb()<BR> player_unset_interrupted_cb()<BR> player_unset_error_cb()<BR> player_unset_buffering_cb()<BR> player_unset_subtitle_updated_cb()</td>
+ * <td>player_set_video_stream_changed_cb()<BR>player_set_media_stream_seek_cb()<BR>player_set_media_stream_buffer_status_cb()<BR>player_set_media_packet_video_frame_decoded_cb()</td>
+ * <td>IDLE</td>
+ * <td>This function must be called before player_prepare()</td>
+ * </tr>
+ * <tr>
+ * <td>player_unset_completed_cb()<BR> player_unset_interrupted_cb()<BR> player_unset_error_cb()<BR> player_unset_buffering_cb()<BR> player_unset_subtitle_updated_cb()<BR>player_unset_video_stream_changed_cb()<BR>player_unset_media_stream_seek_cb()<BR>player_unset_media_stream_buffer_status_cb()</td>
* <td>IDLE/ READY/ PLAYING/ PAUSED</td>
* <td>This function must be called after register callback functions such as player_set_completed_cb()</td>
* </tr>
* <tr>
+ * <td>player_unset_media_packet_video_frame_decoded_cb()</td>
+ * <td>IDLE/ READY</td>
+ * <td>This function must be called after player_set_media_packet_video_frame_decoded_cb()</td>
+ * </tr>
+ * <tr>
* <td>player_get_state()</td>
* <td>ANY</td>
* <td>-</td>
* </tr>
* <tr>
* <td>player_set_subtitle_path()</td>
- * <td>IDLE</td>
- * <td>This function must be called before player_prepare() </td>
+ * <td>IDLE/ READY/ PLAYING/ PAUSED</td>
+ * <td>This function must be called before player_create() </td>
* </tr>
* <tr>
* <td>player_set_volume()</td>
* <tr>
* <td>player_set_sound_stream_info()</td>
* <td>IDLE</td>
- * <td>This function must be called after player_create()</td>
+ * <td>This function must be called before player_prepare()</td>
* </tr>
* <tr>
* <td>player_set_sound_type()</td>
* <td>IDLE</td>
- * <td>This function must be called after player_create()</td>
+ * <td>This function must be called before player_prepare()</td>
* </tr>
* <tr>
* <td>player_set_mute()</td>
* <td>READY/ PLAYING/ PAUSED</td>
* <td>This function must be called after player_prepare()</td>
* </tr>
+ * <tr>
+ * <td>player_set_subtitle_position_offset()</td>
+ * <td>PLAYING/ PAUSED</td>
+ * <td>This function must be called after player_start()</td>
+ * </tr>
+ * <tr>
+ * <td>player_get_current_track()<BR>player_get_track_language_code()<BR>player_get_track_count()<BR>player_select_track()</td>
+ * <td>READY/ PLAYING/ PAUSED</td>
+ * <td>This function must be called after player_prepare()</td>
+ * </tr>
+ * <tr>
+ * <td>player_set_audio_only()</td>
+ * <td>READY/ PLAYING/ PAUSED</td>
+ * <td>This function must be called after player_prepare()</td>
+ * </tr>
+ * <tr>
+ * <td>player_set_streaming_buffering_time()</td>
+ * <td>IDLE</td>
+ * <td>This function must be called before player_prepare()</td>
+ * </tr>
* </table></div>
*
* @subsection CAPI_MEDIA_PLAYER_LIFE_CYCLE_ASYNCHRONOUS_OPERATIONS Asynchronous Operations
* <td>player_media_packet_video_decoded_cb()</td>
* <td>called when a video frame is decoded </td>
* </tr>
+ * <tr>
+ * <td>player_set_media_stream_seek_cb()</td>
+ * <td>player_unset_media_stream_seek_cb()</td>
+ * <td>player_media_stream_seek_cb()</td>
+ * <td>called when seeking is occurred during playback with external media buffer</td>
+ * </tr>
+ * <tr>
+ * <td>player_set_media_stream_buffer_status_cb()</td>
+ * <td>player_unset_media_stream_buffer_status_cb()</td>
+ * <td>player_media_stream_buffer_status_cb()</td>
+ * <td>called when the buffer underrun or overflow is detected during playback with external media buffer</td>
+ * </tr>
+ * <tr>
+ * <td>player_set_video_stream_changed_cb()</td>
+ * <td>player_unset_video_stream_changed_cb()</td>
+ * <td>player_video_stream_changed_cb()</td>
+ * <td>called when the video stream info is changed </td>
+ * </tr>
*</table></div>
*
*
* @section CAPI_MEDIA_PLAYER_AUDIO_EFFECT_MODULE_MODULE_OVERVIEW Overview
* The Audio effect API allows you to apply effects to the player:
- * - Equalizer
+ * - Equalizer \n
*
*
*/
PLAYER_MEDIA_STREAM_BUFFER_OVERFLOW,
} player_media_stream_buffer_status_e;
+/**
+ * @}
+ */
+
+/**
+ * @addtogroup CAPI_MEDIA_PLAYER_DISPLAY_MODULE
+ * @{
+ */
+
/**
* @brief The player display handle.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
#define GET_DISPLAY(x) (void*)(x)
#endif
-/**
- * @}
- */
-
-/**
- * @addtogroup CAPI_MEDIA_PLAYER_DISPLAY_MODULE
- * @{
- */
-
/**
* @brief Enumeration for display rotation type.
* @since_tizen @if WEARABLE 2.3.1 @else 2.3 @endif
*/
typedef void (*player_media_stream_seek_cb) (unsigned long long offset, void *user_data);
+/**
+ * @}
+ */
+
+/**
+ * @addtogroup CAPI_MEDIA_PLAYER_STREAM_INFO_MODULE
+ * @{
+ */
+
/**
* @brief Called to notify the video stream changed.
* @details The video stream changing is detected just before rendering operation.
*/
typedef void (*player_video_stream_changed_cb) (int width, int height, int fps, int bit_rate, void *user_data);
+/**
+ * @}
+ */
+
+/**
+ * @addtogroup CAPI_MEDIA_PLAYER_MODULE
+ * @{
+ */
+
/**
* @brief Called to notify the streaming variant information.
* @details The adaptive streaming protocol(hls, mpeg dash) can support variant stream condition.
*/
int player_set_subtitle_position_offset(player_h player, int millisecond);
+/**
+ * @}
+ */
+
+
+/**
+ * @addtogroup CAPI_MEDIA_PLAYER_STREAM_INFO_MODULE
+ * @{
+ */
+
/**
* @brief Registers a callback function to be invoked when video stream is changed.
* @since_tizen @if WEARABLE 3.0 @else 2.4 @endif
*/
int player_unset_video_stream_changed_cb(player_h player);
+/**
+ * @}
+ */
+
+
+/**
+ * @addtogroup CAPI_MEDIA_PLAYER_MODULE
+ * @{
+ */
+
/**
* @brief Gets current track index.
* @details Index starts from 0.