/**
* @brief Enumeration for stream type.
- * @since_tizen 2.4
+ * @since_tizen 3.0
*/
typedef enum {
PLAYER_STREAM_TYPE_DEFAULT, /**< Container type */
/**
* @brief Enumeration of media stream buffer status
- * @since_tizen 2.4
+ * @since_tizen 3.0
*/
typedef enum {
PLAYER_MEDIA_STREAM_BUFFER_UNDERRUN,
/**
* @brief Called when the buffer level drops below the threshold of max size or no free space in buffer.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @param[in] user_data The user data passed from the callback registration function
* @see player_set_media_stream_buffer_status_cb()
/**
* @brief Called to notify the next push-buffer offset when seeking is occurred.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @details The next push-buffer should produce buffers from the new offset.
* @param[in] offset The new byte position to seek
/**
* @brief Called to notify the video stream changed.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @details The video stream changing is detected just before rendering operation.
* @param[in] width The width of the captured image
* @param[in] height The height of the captured image
/**
* @brief Pushes elementary stream to decode audio or video
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks player_set_media_stream_info() should be called before using this API.
* @remarks The available buffer size can be set by calling player_set_media_stream_buffer_max_size() API.
* If there is no available buffer space, this api will return error since 3.0.
/**
* @brief Sets contents information for media stream
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks AV format should be set before pushing elementary stream with player_push_media_stream().
* @remarks AAC can be supported.
* @remarks H.264 can be supported.
/**
* @brief Registers a callback function to be invoked when buffer underrun or overflow is occurred.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @param[in] player The handle to the media player
* @param[in] type The type of target stream
/**
* @brief Unregisters the buffer status callback function.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @param[in] player The handle to the media player
* @param[in] type The type of target stream
/**
* @brief Registers a callback function to be invoked when seeking is occurred.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @param[in] player The handle to the media player
* @param[in] type The type of target stream
/**
* @brief Unregisters the seek callback function.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @param[in] player The handle to the media player
* @param[in] type The type of target stream
* @return @c 0 on success,
/**
* @brief Sets the max size bytes of buffer.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @remarks If the buffer level over the max size, player_media_stream_buffer_status_cb() will be invoked with overflow status.
* @param[in] player The handle to the media player
/**
* @brief Gets the max size bytes of buffer.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @remarks If the buffer level over the max size, player_media_stream_buffer_status_cb() will be invoked with overflow status.
* @param[in] player The handle to the media player
/**
* @brief Sets the buffer threshold percent of buffer.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @remarks If the buffer level drops below the percent value, player_media_stream_buffer_status_cb() will be invoked with underrun status.
* @param[in] player The handle to the media player
/**
* @brief Gets the buffer threshold percent of buffer.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks This API is used for media stream playback only.
* @remarks If the buffer level drops below the percent value, player_media_stream_buffer_status_cb() will be invoked with underrun status.
* @param[in] player The handle to the media player
/**
* @brief Registers a callback function to be invoked when video stream is changed.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks The stream changing is detected just before rendering operation.
* @param[in] player The handle to the media player
* @param[in] callback The stream changed callback function to register
/**
* @brief Unregisters the video stream changed callback function.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @param[in] player The handle to the media player
* @return @c 0 on success,
* otherwise a negative error value
/**
* @brief Gets current track index.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @details Index starts from 0.
* @remarks PLAYER_STREAM_TYPE_VIDEO is not supported.
* @param[in] player The handle to the media player
/**
* @brief Gets language code of a track.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks @a code must be released with @c free() by caller
* @remarks PLAYER_STREAM_TYPE_VIDEO is not supported.
* @param[in] player The handle to the media player
/**
* @brief Gets the track count.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks PLAYER_STREAM_TYPE_VIDEO is not supported.
* @param[in] player The handle to the media player
* @param[in] type The type of target stream
/**
* @brief Selects a track to play.
- * @since_tizen 2.4
+ * @since_tizen 3.0
* @remarks PLAYER_STREAM_TYPE_VIDEO is not supported.
* @param[in] player The handle to the media player
* @param[in] type The type of target stream