1049e185fSopenharmony_ci#  Copyright (c) 2022 Huawei Device Co., Ltd.
2049e185fSopenharmony_ci#  Licensed under the Apache License, Version 2.0 (the "License");
3049e185fSopenharmony_ci#  you may not use this file except in compliance with the License.
4049e185fSopenharmony_ci#  You may obtain a copy of the License at
5049e185fSopenharmony_ci#
6049e185fSopenharmony_ci#      http://www.apache.org/licenses/LICENSE-2.0
7049e185fSopenharmony_ci#
8049e185fSopenharmony_ci#  Unless required by applicable law or agreed to in writing, software
9049e185fSopenharmony_ci#  distributed under the License is distributed on an "AS IS" BASIS,
10049e185fSopenharmony_ci#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11049e185fSopenharmony_ci#  See the License for the specific language governing permissions and
12049e185fSopenharmony_ci#  limitations under the License.
13049e185fSopenharmony_ci
14049e185fSopenharmony_cidomain: MULTIMEDIA
15049e185fSopenharmony_ci
16049e185fSopenharmony_ciPLAYER_ERR:
17049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: player error}
18049e185fSopenharmony_ci  PID: {type: INT32, desc: The pid of the PLAYER_ERR event}
19049e185fSopenharmony_ci  UID: {type: INT32, desc: The uid of the PLAYER_ERR event}
20049e185fSopenharmony_ci  MODULE: {type: STRING, desc: module name}
21049e185fSopenharmony_ci  MSG: {type: STRING, desc: message}
22049e185fSopenharmony_ci
23049e185fSopenharmony_ciPLAYER_STATE:
24049e185fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: state change}
25049e185fSopenharmony_ci  PID: {type: INT32, desc: The pid of the PLAYER_STATE event}
26049e185fSopenharmony_ci  UID: {type: INT32, desc: The uid of the PLAYER_STATE event}
27049e185fSopenharmony_ci  MODULE: {type: STRING, desc: module name}
28049e185fSopenharmony_ci  MSG: {type: STRING, desc: message}
29049e185fSopenharmony_ci
30049e185fSopenharmony_ciPLAYER_STATISTICS:
31049e185fSopenharmony_ci  __BASE: {type: STATISTIC, level: MINOR, desc: function call frequency}
32049e185fSopenharmony_ci  PID: {type: INT32, desc: The pid of the PLAYER_STATISTICS event}
33049e185fSopenharmony_ci  UID: {type: INT32, desc: The uid of the PLAYER_STATISTICS event}
34049e185fSopenharmony_ci  MODULE: {type: STRING, desc: module name}
35049e185fSopenharmony_ci  MSG: {type: STRING, desc: message}
36049e185fSopenharmony_ci
37049e185fSopenharmony_ciSOURCE_FAILURE:
38049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: Source fault}
39049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
40049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
41049e185fSopenharmony_ci  CALLER_TYPE: {type: STRING, desc: Caller is App or pplayer_framework}
42049e185fSopenharmony_ci  SOURCE_TYPE: {type: INT8, desc: Enum of source type}
43049e185fSopenharmony_ci  SOURCE_URI: {type: STRING, desc: URI of source}
44049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
45049e185fSopenharmony_ci
46049e185fSopenharmony_ciDEMUXER_FAILURE:
47049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: Demuxer fault}
48049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
49049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
50049e185fSopenharmony_ci  CALLER_TYPE: {type: STRING, desc: Caller is App or player_framework}
51049e185fSopenharmony_ci  SOURCE_TYPE: {type: INT8, desc: Enum of source type}
52049e185fSopenharmony_ci  CONTAINER_FORMAT: {type: STRING, desc: Container format}
53049e185fSopenharmony_ci  STREAM_TYPE: {type: STRING, desc: Stream mimeType}
54049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
55049e185fSopenharmony_ci
56049e185fSopenharmony_ciRECORD_AUDIO_FAILURE:
57049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: Recorder fau1t}
58049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
59049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct recorder id}
60049e185fSopenharmony_ci  AUDIO_SOURCE_TYPE: {type: INT32, desc: Audio source type}
61049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
62049e185fSopenharmony_ci
63049e185fSopenharmony_ciSCREEN_CAPTURE_FAILURE:
64049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: Screen capturefault}
65049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
66049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct screen capture id}
67049e185fSopenharmony_ci  CAPTURE_MODE: {type: INT32, desc: Screen capture mode}
68049e185fSopenharmony_ci  DATA_MODE: {type: INT8, desc: Datamode}
69049e185fSopenharmony_ci  ERROR_CODE: {type: INT32, desc: Enum of error type}
70049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
71049e185fSopenharmony_ci
72049e185fSopenharmony_ciDRM_DECRYPTION_FAILURE:
73049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: DRM decryption fault}
74049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
75049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
76049e185fSopenharmony_ci  ERROR_CODE: {type: INT32, desc: Enum of error type}
77049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
78049e185fSopenharmony_ci  DECRYPT_ALGO: {type: STRING, desc: Decryption algorithm}
79049e185fSopenharmony_ci  DECRYPT_KEYID: {type: STRING, desc: Decryption KEY_ID}
80049e185fSopenharmony_ci  DECRYPT_IV: {type: STRING, desc: Decryption IV}
81049e185fSopenharmony_ci
82049e185fSopenharmony_ciDRM_COMMON_FAILURE:
83049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: DRM common fault}
84049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
85049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
86049e185fSopenharmony_ci  ERROR_CODE: {type: INT32, desc: Enum of error type}
87049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
88049e185fSopenharmony_ci  EXTRA_MESG: {type: STRING, desc: Extra associated DRM response info}
89049e185fSopenharmony_ci
90049e185fSopenharmony_ciAUDIO_CODEC_FAILURE:
91049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: AudioCodec fault}
92049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
93049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
94049e185fSopenharmony_ci  CALLER_TYPE: {type: STRING, desc: Caller is App or player_framework}
95049e185fSopenharmony_ci  AUDIO_CODEC: {type: STRING, desc: Audio mime type}
96049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
97049e185fSopenharmony_ci
98049e185fSopenharmony_ciVIDEO_CODEC_FAILURE:
99049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: VideoCodec fault}
100049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
101049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
102049e185fSopenharmony_ci  CALLER_TYPE: {type: STRING, desc: Caller is App or player_framework}
103049e185fSopenharmony_ci  VIDEO_CODEC: {type: STRING, desc: Video mime type}
104049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
105049e185fSopenharmony_ci
106049e185fSopenharmony_ciMUXER_FAILURE:
107049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: Muxer fault}
108049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
109049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
110049e185fSopenharmony_ci  CALLER_TYPE: {type: STRING, desc: Caller is App or player_framework}
111049e185fSopenharmony_ci  VIDEO_CODEC: {type: STRING, desc: Video mime type}
112049e185fSopenharmony_ci  AUDIO_CODEC: {type: STRING, desc: Audio mime type}
113049e185fSopenharmony_ci  CONTAINER_FORMAT: {type: STRING, desc: Container format}
114049e185fSopenharmony_ci  ERROR_MESG: {type: STRING, desc: Fault description}
115049e185fSopenharmony_ci
116049e185fSopenharmony_ciDRM_SERVICE_INFO:
117049e185fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: DRM service start or end information}
118049e185fSopenharmony_ci  MODULE: {type: STRING, desc: Module name}
119049e185fSopenharmony_ci  SERVICE_NAME: {type: STRING, desc: Service name}
120049e185fSopenharmony_ci  ACTION: {type: STRING, desc: Current Action}
121049e185fSopenharmony_ci  MEMORY: {type: UINT32, desc: Service use memory kb}
122049e185fSopenharmony_ci
123049e185fSopenharmony_ciDRM_LICENSE_DOWNLOAD_INFO:
124049e185fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: DRM system provision}
125049e185fSopenharmony_ci  MODULE: {type: STRING, desc: Module name}
126049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
127049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
128049e185fSopenharmony_ci  DRM_NAME: {type: STRING, desc: DRM schema name}
129049e185fSopenharmony_ci  DRM_UUID: {type: STRING, desc: DRM Universally Unique Identifier}
130049e185fSopenharmony_ci  CLIENT_VERSION: {type: STRING, desc: DRM client version}
131049e185fSopenharmony_ci  LICENSE_TYPE: {type: STRING, desc: DRM license type}
132049e185fSopenharmony_ci  GENERATION_DURATION: {type: UINT32, desc: License request generation costs ms}
133049e185fSopenharmony_ci  GENERATION_RESULT: {type: STRING, desc: License generation result}
134049e185fSopenharmony_ci  PROCESS_DURATION: {type: UINT32, desc: License process costs ms}
135049e185fSopenharmony_ci  PROCESS_RESULT: {type: STRING, desc: License process result}
136049e185fSopenharmony_ci
137049e185fSopenharmony_ciDRM_CERTIFICATE_DOWNLOAD_INFO:
138049e185fSopenharmony_ci  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: DRM system provision}
139049e185fSopenharmony_ci  MODULE: {type: STRING, desc: Module name}
140049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
141049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
142049e185fSopenharmony_ci  DRM_NAME: {type: STRING, desc: DRM schema name}
143049e185fSopenharmony_ci  DRM_UUID: {type: STRING, desc: DRM Universally Unique Identifier}
144049e185fSopenharmony_ci  CLIENT_VERSION: {type: STRING, desc: DRM client version}
145049e185fSopenharmony_ci  GENERATION_DURATION: {type: UINT32, desc: License request generation costs ms}
146049e185fSopenharmony_ci  GENERATION_RESULT: {type: STRING, desc: License generation result}
147049e185fSopenharmony_ci  PROCESS_DURATION: {type: UINT32, desc: License process costs ms}
148049e185fSopenharmony_ci  PROCESS_RESULT: {type: STRING, desc: License process result}
149049e185fSopenharmony_ci  CALL_SERVER_TIME: {type: UINT32, desc: Call server time}
150049e185fSopenharmony_ci  SERVER_COST_DURATION: {type: UINT32, desc: Processing time of the server}
151049e185fSopenharmony_ci  SERVER_RESULT: {type: STRING, desc: Server result}
152049e185fSopenharmony_ciPLAYER_COMMON_STATISTICS:
153049e185fSopenharmony_ci  __BASE: {type: STATISTIC, level: MINOR, desc: Player all info statistics}
154049e185fSopenharmony_ci  EVENTS: {type: STRING, arrsize: 100, desc: Group of player events}
155049e185fSopenharmony_ci
156049e185fSopenharmony_ciRECORDER_STATISTICS:
157049e185fSopenharmony_ci  __BASE: {type: STATISTIC, level: MINOR, desc: Recorder statistics}
158049e185fSopenharmony_ci  EVENTS: {type: STRING, arrsize: 100, desc: Group of recorder events}
159049e185fSopenharmony_ci
160049e185fSopenharmony_ciSCREEN_CAPTURE_STATISTICS:
161049e185fSopenharmony_ci  __BASE: {type: STATISTIC, level: MINOR, desc: Screen capture statistics}
162049e185fSopenharmony_ci  EVENTS: {type: STRING, arrsize: 100, desc: Group of screen capture events}
163049e185fSopenharmony_ci
164049e185fSopenharmony_ciDRM_STATISTICS:
165049e185fSopenharmony_ci  __BASE: {type: STATISTIC, level: MINOR, desc: DRM statistics}
166049e185fSopenharmony_ci  EVENTS: {type: STRING, arrsize: 100, desc: Group of DRM events}
167049e185fSopenharmony_ci
168049e185fSopenharmony_ciPLAYER_LAG:
169049e185fSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: playback lag event}
170049e185fSopenharmony_ci  APP_NAME: {type: STRING, desc: Caller app name}
171049e185fSopenharmony_ci  INSTANCE_ID: {type: STRING, desc: Distinct player id}
172049e185fSopenharmony_ci  SOURCE_TYPE: {type: UINT8, desc: Enum of source type}
173049e185fSopenharmony_ci  LAG_DURATION: {type: INT32, desc: Lag duration}
174049e185fSopenharmony_ci  MSG: {type: STRING, desc: Lag info message}
175