* @brief Called when error occurs in media streamer.
* @since_tizen 3.0
* @remarks Following error codes can be delivered.\n
- * #MEDIA_STREAMER_ERROR_INVALID_OPERATION,
- * #MEDIA_STREAMER_ERROR_FILE_NO_SPACE_ON_DEVICE,
- * #MEDIA_STREAMER_ERROR_NOT_SUPPORTED,
- * #MEDIA_STREAMER_ERROR_CONNECTION_FAILED,
- * #MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT
+ * #MEDIA_STREAMER_ERROR_INVALID_OPERATION,\n
+ * #MEDIA_STREAMER_ERROR_FILE_NO_SPACE_ON_DEVICE,\n
+ * #MEDIA_STREAMER_ERROR_NOT_SUPPORTED,\n
+ * #MEDIA_STREAMER_ERROR_CONNECTION_FAILED,\n
+ * #MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT.\n
+ * The @a streamer is the same object for which the callback was set.
* @param[in] streamer Media streamer handle
* @param[in] error The error that occurred in media steamer
* @param[in] user_data The user data passed from the code where
/**
* @brief Called when media streamer state is changed.
* @since_tizen 3.0
+ * @remarks The @a streamer is the same object for which the callback was set.
* @param[in] streamer Media streamer handle
* @param[in] previous_state The previous state of the media streamer
* @param[in] current_state The current state of media streamer
* @details This callback will be invoked when the buffer level drops below the threshold of max size
* or no free space in custom source buffer.
* @since_tizen 3.0
- * @remarks Callback can be applied only for #MEDIA_STREAMER_NODE_SRC_TYPE_CUSTOM source type
+ * @remarks This callback can be applied only to #MEDIA_STREAMER_NODE_SRC_TYPE_CUSTOM source type node.\n
+ * The @a src is the same object for which the callback was set.
* @param[in] src Media streamer source node handle
* @param[in] status Media streamer custom buffer status
* @param[in] user_data The user data passed from the callback registration function
* @brief Called when new data is available from custom sink.
* @details This callback can be applied only to #MEDIA_STREAMER_NODE_SINK_TYPE_CUSTOM sink type node.
* @since_tizen 3.0
+ * @remarks The @a sink is the same object for which the callback was set.
* @param[in] sink Media streamer sink node handle
* @param[in] user_data The user data passed from the code where
* media_streamer_sink_set_data_ready_cb() was invoked
* @brief Called when the end-of-stream has been reached.
* @details This callback can be applied only to #MEDIA_STREAMER_NODE_SINK_TYPE_CUSTOM sink type node.
* @since_tizen 3.0
+ * @remarks The @a sink is the same object for which the callback was set.
* @param[in] sink Media streamer sink node handle
* @param[in] user_data The user data passed from the code where
* media_streamer_sink_set_eos_cb() was invoked
/**
* @brief Called when a source pad of a media streamer node is ready to provide decoded data.
* @since_tizen 6.0
+ * @remarks The @a node is the same object for which the callback was set.\n
+ * The @a src_pad_name and the @a media_type can be used only in the callback. To use outside, make a copy.
* @param[in] node Media streamer node handle
* @param[in] src_pad_name The source pad name that can give decoded data to another one
* @param[in] media_type The media type of the data from the given source pad such as 'video/x-raw', 'audio/x-raw', and so on
* @remarks Two types will be delivered with @a message which is a JSON string.\n
* One is for the remote session description and the other is for a new ICE candidate.\n
* For the remote session description, @a message will be {"sdp":{"type":"offer or answer","sdp":"..."}}.\n
- * For the new ICE candidate, @a message will be {"ice":{"candidate":"..."}}.
+ * For the new ICE candidate, @a message will be {"ice":{"candidate":"..."}}.\n
+ * The @a webrtc is the same object for which the callback was set.\n
+ * The @a message can be used only in the callback. To use outside, make a copy.
* @param[in] webrtc Media streamer WebRTC node handle
* @param[in] message The message to be passed to the remote peer over the signaling channel
* @param[in] user_data The user data passed from the callback registration function
/**
* @brief Sets a error callback function to be invoked when an error occurs.
- * @details Following error codes can be delivered by error callback.
- * #MEDIA_STREAMER_ERROR_INVALID_OPERATION,
- * #MEDIA_STREAMER_ERROR_FILE_NO_SPACE_ON_DEVICE,
- * #MEDIA_STREAMER_ERROR_NOT_SUPPORTED,
- * #MEDIA_STREAMER_ERROR_CONNECTION_FAILED,
- * #MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT
* @since_tizen 3.0
+ * @remarks Following error codes can be delivered by error callback.\n
+ * #MEDIA_STREAMER_ERROR_INVALID_OPERATION,\n
+ * #MEDIA_STREAMER_ERROR_FILE_NO_SPACE_ON_DEVICE,\n
+ * #MEDIA_STREAMER_ERROR_NOT_SUPPORTED,\n
+ * #MEDIA_STREAMER_ERROR_CONNECTION_FAILED,\n
+ * #MEDIA_STREAMER_ERROR_RESOURCE_CONFLICT
* @param[in] streamer Media streamer handle
* @param[in] callback Callback function pointer
* @param[in] user_data The user data passed from the code where