21
21
22
22
namespace plusplayer {
23
23
24
- enum class DisplayType { kNone , kOverlay , kEvas , kMixer };
24
+ enum class DisplayType { kNone , kOverlay , kEvas , kMixer , kOverlaySyncUI };
25
25
26
26
enum class DisplayMode {
27
27
kLetterBox ,
@@ -31,6 +31,7 @@ enum class DisplayMode {
31
31
kOriginOrLetter ,
32
32
kDstRoi ,
33
33
kAutoAspectRatio ,
34
+ kDstRoiAutoAspectRatio ,
34
35
kMax
35
36
};
36
37
@@ -59,8 +60,22 @@ enum class State {
59
60
};
60
61
61
62
struct Geometry {
62
- int x = 0 , y = 0 ;
63
- int w = 1920 , h = 1080 ;
63
+ /* *
64
+ * @brief start X position of Display window. [Default = 0]
65
+ */
66
+ int x = 0 ;
67
+ /* *
68
+ * @brief start Y position of Display window. [Default = 0]
69
+ */
70
+ int y = 0 ;
71
+ /* *
72
+ * @brief Width of Display window. [Default = 1920]
73
+ */
74
+ int w = 1920 ;
75
+ /* *
76
+ * @brief Height of Display window. [Default = 1080]
77
+ */
78
+ int h = 1080 ;
64
79
};
65
80
66
81
struct PlayerMemento {
@@ -75,6 +90,8 @@ struct PlayerMemento {
75
90
buffer_config; /* *< Buffer config of current player */
76
91
bool is_live = false ; /* *< Live status of current player */
77
92
double current_playback_rate = 1.0 ; /* *< Playback rate of current player */
93
+ int aspect_radio_num = 0 ; /* *< Aspect radio num of current player */
94
+ int aspect_radio_den = 0 ; /* *< Aspect radio den of current player */
78
95
};
79
96
80
97
enum class ErrorType {
@@ -158,8 +175,14 @@ enum class StreamingMessageType {
158
175
kSparseTrackData ,
159
176
kConnectionRetry ,
160
177
kConfigLowLatency ,
161
- kCurlErrorDebugInfo
178
+ kCurlErrorDebugInfo ,
179
+ kParDarChange ,
180
+ kDashMPDAnchor ,
181
+ kDashRemoveStream ,
182
+ kMediaSyncCSSCII ,
183
+ kDashLiveToVod
162
184
};
185
+
163
186
enum class SourceType {
164
187
kNone ,
165
188
kBase ,
@@ -168,6 +191,7 @@ enum class SourceType {
168
191
kDash ,
169
192
kSmooth ,
170
193
kFile ,
194
+ kMem ,
171
195
kExternalSubtitle ,
172
196
kNotFound ,
173
197
kMax
@@ -312,7 +336,15 @@ struct Property {
312
336
};
313
337
} // namespace drm
314
338
315
- enum class SubtitleType { kText , kPicture , kInvalid };
339
+ /* *
340
+ * @brief Enumeration for player supported subtitle types
341
+ */
342
+ enum class SubtitleType {
343
+ kText , /* *< subtitle type text */
344
+ kPicture , /* *< subtitle type picture */
345
+ kTTMLRender , /* *< subtitle type ttml */
346
+ kInvalid /* *< unsupported subtitle type */
347
+ };
316
348
317
349
} // namespace plusplayer
318
350
0 commit comments