/*
MM_ERROR_STREAMRECORDER_CLASS
*/
-#define MM_ERROR_STREAMRECORDER_DEVICE (MM_ERROR_STREAMRECORDER_CLASS | 0x01) /**< General error of streamrecorder device */
+#define MM_ERROR_STREAMRECORDER_DEVICE (MM_ERROR_STREAMRECORDER_CLASS | 0x01) /**< General error of streamrecorder device */
-#define MM_ERROR_STREAMRECORDER_GST_CORE (MM_ERROR_STREAMRECORDER_CLASS | 0x0a) /**< Gst Core error */
-#define MM_ERROR_STREAMRECORDER_GST_LIBRARY (MM_ERROR_STREAMRECORDER_CLASS | 0x0b) /**< Gst library error */
-#define MM_ERROR_STREAMRECORDER_GST_RESOURCE (MM_ERROR_STREAMRECORDER_CLASS | 0x0c) /**< Gst resource error */
-#define MM_ERROR_STREAMRECORDER_GST_STREAM (MM_ERROR_STREAMRECORDER_CLASS | 0x0d) /**< Gst stream error */
+#define MM_ERROR_STREAMRECORDER_GST_CORE (MM_ERROR_STREAMRECORDER_CLASS | 0x0a) /**< Gst Core error */
+#define MM_ERROR_STREAMRECORDER_GST_LIBRARY (MM_ERROR_STREAMRECORDER_CLASS | 0x0b) /**< Gst library error */
+#define MM_ERROR_STREAMRECORDER_GST_RESOURCE (MM_ERROR_STREAMRECORDER_CLASS | 0x0c) /**< Gst resource error */
+#define MM_ERROR_STREAMRECORDER_GST_STREAM (MM_ERROR_STREAMRECORDER_CLASS | 0x0d) /**< Gst stream error */
#define MM_ERROR_STREAMRECORDER_GST_STATECHANGE (MM_ERROR_STREAMRECORDER_CLASS | 0x0e) /**< Gst state change failed */
#define MM_ERROR_STREAMRECORDER_GST_NEGOTIATION (MM_ERROR_STREAMRECORDER_CLASS | 0x0f) /**< Gst negotiation failed */
-#define MM_ERROR_STREAMRECORDER_GST_LINK (MM_ERROR_STREAMRECORDER_CLASS | 0x10) /**< Gst linking failed */
+#define MM_ERROR_STREAMRECORDER_GST_LINK (MM_ERROR_STREAMRECORDER_CLASS | 0x10) /**< Gst linking failed */
#define MM_ERROR_STREAMRECORDER_GST_FLOW_ERROR (MM_ERROR_STREAMRECORDER_CLASS | 0x11) /**< Gst linking failed */
#define MM_ERROR_STREAMRECORDER_ENCODER (MM_ERROR_STREAMRECORDER_CLASS | 0x12) /**< General error of Encoder */
#define MM_ERROR_STREAMRECORDER_ENCODER_BUFFER (MM_ERROR_STREAMRECORDER_CLASS | 0x13) /**< Encoder buffer error */
-#define MM_ERROR_STREAMRECORDER_ENCODER_WRONG_TYPE (MM_ERROR_STREAMRECORDER_CLASS | 0x14) /**< Encoder wrong type (format or param) */
+#define MM_ERROR_STREAMRECORDER_ENCODER_WRONG_TYPE (MM_ERROR_STREAMRECORDER_CLASS | 0x14) /**< Encoder wrong type (format or param) */
#define MM_ERROR_STREAMRECORDER_ENCODER_WORKING (MM_ERROR_STREAMRECORDER_CLASS | 0x15) /**< Encoding fail */
-#define MM_ERROR_STREAMRECORDER_INVALID_CONDITION (MM_ERROR_STREAMRECORDER_CLASS | 0x16) /**< Invalid pre-condition */
+#define MM_ERROR_STREAMRECORDER_INVALID_CONDITION (MM_ERROR_STREAMRECORDER_CLASS | 0x16) /**< Invalid pre-condition */
-#define MM_ERROR_STREAMRECORDER_INVALID_ARGUMENT (MM_ERROR_STREAMRECORDER_CLASS | 0x18) /**< Invalid Argument */
+#define MM_ERROR_STREAMRECORDER_INVALID_ARGUMENT (MM_ERROR_STREAMRECORDER_CLASS | 0x18) /**< Invalid Argument */
+
+#define MM_ERROR_STREAMRECORDER_INTERNAL (MM_ERROR_STREAMRECORDER_CLASS | 0x19) /**< Internal error */
+#define MM_ERROR_STREAMRECORDER_RESPONSE_TIMEOUT (MM_ERROR_STREAMRECORDER_CLASS | 0x1b) /**< Not responsed in time */
-#define MM_ERROR_STREAMRECORDER_RESPONSE_TIMEOUT (MM_ERROR_STREAMRECORDER_CLASS | 0x1b) /**< Not responsed in time */
#define MM_ERROR_STREAMRECORDER_NOT_INITIALIZED (MM_ERROR_STREAMRECORDER_CLASS | 0x1c) /**< Not initialized streamrecorder */
-#define MM_ERROR_STREAMRECORDER_LOW_MEMORY (MM_ERROR_STREAMRECORDER_CLASS | 0x1d) /**< Memory alloc failed */
-#define MM_ERROR_STREAMRECORDER_RESOURCE_CREATION (MM_ERROR_STREAMRECORDER_CLASS | 0x1e) /**< Creating resource of streamrecorder failed */
+#define MM_ERROR_STREAMRECORDER_LOW_MEMORY (MM_ERROR_STREAMRECORDER_CLASS | 0x1d) /**< Memory alloc failed */
+#define MM_ERROR_STREAMRECORDER_RESOURCE_CREATION (MM_ERROR_STREAMRECORDER_CLASS | 0x1e) /**< Creating resource of streamrecorder failed */
#define MM_ERROR_STREAMRECORDER_CMD_IS_RUNNING (MM_ERROR_STREAMRECORDER_CLASS | 0x1f) /**< Command is running now */
#define MM_ERROR_STREAMRECORDER_FILE_SIZE_OVER (MM_ERROR_STREAMRECORDER_CLASS | 0x23) /**< File size is greater than max size */
MM_MESSAGE_STREAMRECORDER_ERROR = 0x800,
MM_MESSAGE_STREAMRECORDER_CONSUME_COMPLETE,
MM_MESSAGE_STREAMRECORDER_STATE_CHANGED,
+ MM_MESSAGE_STREAMRECORDER_MAX_SIZE, /**< Maximum size, streamcorder waits for user's order (commit/cancel).*/
+ MM_MESSAGE_STREAMRECORDER_NO_FREE_SPACE, /**< No free space,streamcorder waits for user's order (commit/cancel).*/
+ MM_MESSAGE_STREAMRECORDER_TIME_LIMIT, /**< Time limit, streamcorder waits for user's order (commit/cancel)*/
+ MM_MESSAGE_STREAMRECORDER_RECORDING_STATUS, /**< Recording status. (Elapsed time, total time, file size(KB))*/
+ MM_MESSAGE_STREAMRECORDER_VIDEO_CAPTURED, /**< Video captured */
MM_MESSAGE_NUM, /**< The number of the messages */
};