[0.2.119][Player] Add new message type and parameter 26/205826/3 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.021421 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083538 accepted/tizen/unified/20190603.095201 submit/tizen/20190513.085714 submit/tizen/20190531.033658 submit/tizen/20190709.064806 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
authorEunhye Choi <eunhae1.choi@samsung.com>
Thu, 9 May 2019 10:03:06 +0000 (19:03 +0900)
committerEunhye Choi <eunhae1.choi@samsung.com>
Thu, 9 May 2019 11:02:29 +0000 (20:02 +0900)
- Add new message type and parameter
- Remove unused message type

Change-Id: Ia4535c273327ba5fe25adf34401a530acf9e544a

include/mm_message.h
packaging/libmm-common.spec

index 1d76e21..a3464d1 100644 (file)
@@ -59,23 +59,17 @@ enum MMMessageType {
        MM_MESSAGE_BUFFERING,                           /**< Buffering message type */
        MM_MESSAGE_BEGIN_OF_STREAM,                     /**< Streaming begin message type */
        MM_MESSAGE_END_OF_STREAM,                       /**< End of stream message type */
-       MM_MESSAGE_BLUETOOTH_ON,                        /**< Bluetooth A2DP Connection ON */
-       MM_MESSAGE_BLUETOOTH_OFF,                       /**< Bluetooth A2DP Connection OFF */
        MM_MESSAGE_RESUMED_BY_REW,                      /**< Resumed by fast rewind message type */
        MM_MESSAGE_UPDATE_SUBTITLE,                     /**< Update subtitle type */
        MM_MESSAGE_RTP_SENDER_REPORT,                   /**< RTP sender report */
        MM_MESSAGE_RTP_RECEIVER_REPORT,                 /**< RTP receiver report */
        MM_MESSAGE_RTP_SESSION_STATUS,                  /**< RTP session status */
-       MM_MESSAGE_SENDER_STATE,                        /**< Sender state */
-       MM_MESSAGE_RECEIVER_STATE,                      /**< Receiver state */
        MM_MESSAGE_FILE_NOT_SUPPORTED,                  /**< Not supported file */
        MM_MESSAGE_FILE_NOT_FOUND,                      /**< Not founded file */
        MM_MESSAGE_DRM_NOT_AUTHORIZED,                  /**< Not authorized to play the content */
        MM_MESSAGE_VIDEO_CAPTURED,                      /**< Video frame has been captured */
        MM_MESSAGE_VIDEO_NOT_CAPTURED,                  /**< video capture failed */
        MM_MESSAGE_SEEK_COMPLETED,                      /**< Seek completed */
-       MM_MESSAGE_PD_DOWNLOADER_START, /**< PD downloader start message */
-       MM_MESSAGE_PD_DOWNLOADER_END,           /**< PD downloader end message */
        MM_MESSAGE_IMAGE_BUFFER,        /**< hls image buffer message type */
        MM_MESSAGE_DRM_NO_LICENSE,                      /**< No license */
        MM_MESSAGE_DRM_EXPIRED,                         /**< Expired license */
@@ -83,6 +77,9 @@ enum MMMessageType {
        MM_MESSAGE_VIDEO_BIN_CREATED,           /**< Video bin is created */
        MM_MESSAGE_GAPLESS_CONSTRUCTION,                /**< pipeline is under the construction for gapless */
        MM_MESSAGE_PLAY_POSITION,                       /**< Play position */
+       MM_MESSAGE_VIDEO_STREAM_CHANGED,        /**< Video stream is changed */
+       MM_MESSAGE_PUSH_BUFFER_STATUS,          /**< Push buffer status message type */
+       MM_MESSAGE_PUSH_BUFFER_SEEK_DATA,       /**< Push buffer seek data message type */
 
        /* CAMCORDER */
        MM_MESSAGE_CAMCORDER_STATE_CHANGED = 0x200,     /**< State changed.*/
@@ -167,6 +164,8 @@ enum MMMessageUnionType {
        MM_MSG_UNION_RECORDING_STATUS,
        MM_MSG_UNION_REC_VOLUME_DB,
        MM_MSG_UNION_CONSUME_RECORDER_BUFFER,
+       MM_MSG_UNION_BUFFER_STATUS,
+       MM_MSG_UNION_SEEK_DATA,
 };
 
 /*
@@ -330,6 +329,21 @@ typedef struct {
                        unsigned int height;                                    /* height of captured image */
                        unsigned int orientation;                               /* orientation of captured image */
                } captured_frame;
+/**
+ * seek_data
+ */
+               struct {
+                       unsigned int stream_type;
+                       unsigned long long offset;
+               } seek_data;
+/**
+ * buffer_status
+ */
+               struct {
+                       unsigned int stream_type;
+                       unsigned int status;
+                       unsigned long long bytes;
+               } buffer_status;
        };
 
        int size;       /**< Allocated size of 'data' */
index 31c5888..f3c9c74 100644 (file)
@@ -1,6 +1,6 @@
 Name:       libmm-common
 Summary:    Multimedia Framework Common Lib
-Version:    0.2.118
+Version:    0.2.119
 Release:    0
 Group:      Multimedia/Libraries
 License:    Apache-2.0