1#  Copyright (c) 2022 Huawei Device Co., Ltd.
2#  Licensed under the Apache License, Version 2.0 (the "License");
3#  you may not use this file except in compliance with the License.
4#  You may obtain a copy of the License at
5#
6#      http://www.apache.org/licenses/LICENSE-2.0
7#
8#  Unless required by applicable law or agreed to in writing, software
9#  distributed under the License is distributed on an "AS IS" BASIS,
10#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11#  See the License for the specific language governing permissions and
12#  limitations under the License.
13
14domain: MULTIMEDIA
15
16PLAYER_ERR:
17  __BASE: {type: FAULT, level: CRITICAL, desc: player error}
18  PID: {type: INT32, desc: The pid of the PLAYER_ERR event}
19  UID: {type: INT32, desc: The uid of the PLAYER_ERR event}
20  MODULE: {type: STRING, desc: module name}
21  MSG: {type: STRING, desc: message}
22
23PLAYER_STATE:
24  __BASE: {type: BEHAVIOR, level: MINOR, desc: state change}
25  PID: {type: INT32, desc: The pid of the PLAYER_STATE event}
26  UID: {type: INT32, desc: The uid of the PLAYER_STATE event}
27  MODULE: {type: STRING, desc: module name}
28  MSG: {type: STRING, desc: message}
29
30PLAYER_STATISTICS:
31  __BASE: {type: STATISTIC, level: MINOR, desc: function call frequency}
32  PID: {type: INT32, desc: The pid of the PLAYER_STATISTICS event}
33  UID: {type: INT32, desc: The uid of the PLAYER_STATISTICS event}
34  MODULE: {type: STRING, desc: module name}
35  MSG: {type: STRING, desc: message}
36
37SOURCE_FAILURE:
38  __BASE: {type: FAULT, level: CRITICAL, desc: Source fault}
39  APP_NAME: {type: STRING, desc: Caller app name}
40  INSTANCE_ID: {type: STRING, desc: Distinct player id}
41  CALLER_TYPE: {type: STRING, desc: Caller is App or pplayer_framework}
42  SOURCE_TYPE: {type: INT8, desc: Enum of source type}
43  SOURCE_URI: {type: STRING, desc: URI of source}
44  ERROR_MESG: {type: STRING, desc: Fault description}
45
46DEMUXER_FAILURE:
47  __BASE: {type: FAULT, level: CRITICAL, desc: Demuxer fault}
48  APP_NAME: {type: STRING, desc: Caller app name}
49  INSTANCE_ID: {type: STRING, desc: Distinct player id}
50  CALLER_TYPE: {type: STRING, desc: Caller is App or player_framework}
51  SOURCE_TYPE: {type: INT8, desc: Enum of source type}
52  CONTAINER_FORMAT: {type: STRING, desc: Container format}
53  STREAM_TYPE: {type: STRING, desc: Stream mimeType}
54  ERROR_MESG: {type: STRING, desc: Fault description}
55
56RECORD_AUDIO_FAILURE:
57  __BASE: {type: FAULT, level: CRITICAL, desc: Recorder fau1t}
58  APP_NAME: {type: STRING, desc: Caller app name}
59  INSTANCE_ID: {type: STRING, desc: Distinct recorder id}
60  AUDIO_SOURCE_TYPE: {type: INT32, desc: Audio source type}
61  ERROR_MESG: {type: STRING, desc: Fault description}
62
63SCREEN_CAPTURE_FAILURE:
64  __BASE: {type: FAULT, level: CRITICAL, desc: Screen capturefault}
65  APP_NAME: {type: STRING, desc: Caller app name}
66  INSTANCE_ID: {type: STRING, desc: Distinct screen capture id}
67  CAPTURE_MODE: {type: INT32, desc: Screen capture mode}
68  DATA_MODE: {type: INT8, desc: Datamode}
69  ERROR_CODE: {type: INT32, desc: Enum of error type}
70  ERROR_MESG: {type: STRING, desc: Fault description}
71
72DRM_DECRYPTION_FAILURE:
73  __BASE: {type: FAULT, level: CRITICAL, desc: DRM decryption fault}
74  APP_NAME: {type: STRING, desc: Caller app name}
75  INSTANCE_ID: {type: STRING, desc: Distinct player id}
76  ERROR_CODE: {type: INT32, desc: Enum of error type}
77  ERROR_MESG: {type: STRING, desc: Fault description}
78  DECRYPT_ALGO: {type: STRING, desc: Decryption algorithm}
79  DECRYPT_KEYID: {type: STRING, desc: Decryption KEY_ID}
80  DECRYPT_IV: {type: STRING, desc: Decryption IV}
81
82DRM_COMMON_FAILURE:
83  __BASE: {type: FAULT, level: CRITICAL, desc: DRM common fault}
84  APP_NAME: {type: STRING, desc: Caller app name}
85  INSTANCE_ID: {type: STRING, desc: Distinct player id}
86  ERROR_CODE: {type: INT32, desc: Enum of error type}
87  ERROR_MESG: {type: STRING, desc: Fault description}
88  EXTRA_MESG: {type: STRING, desc: Extra associated DRM response info}
89
90AUDIO_CODEC_FAILURE:
91  __BASE: {type: FAULT, level: CRITICAL, desc: AudioCodec fault}
92  APP_NAME: {type: STRING, desc: Caller app name}
93  INSTANCE_ID: {type: STRING, desc: Distinct player id}
94  CALLER_TYPE: {type: STRING, desc: Caller is App or player_framework}
95  AUDIO_CODEC: {type: STRING, desc: Audio mime type}
96  ERROR_MESG: {type: STRING, desc: Fault description}
97
98VIDEO_CODEC_FAILURE:
99  __BASE: {type: FAULT, level: CRITICAL, desc: VideoCodec fault}
100  APP_NAME: {type: STRING, desc: Caller app name}
101  INSTANCE_ID: {type: STRING, desc: Distinct player id}
102  CALLER_TYPE: {type: STRING, desc: Caller is App or player_framework}
103  VIDEO_CODEC: {type: STRING, desc: Video mime type}
104  ERROR_MESG: {type: STRING, desc: Fault description}
105
106MUXER_FAILURE:
107  __BASE: {type: FAULT, level: CRITICAL, desc: Muxer fault}
108  APP_NAME: {type: STRING, desc: Caller app name}
109  INSTANCE_ID: {type: STRING, desc: Distinct player id}
110  CALLER_TYPE: {type: STRING, desc: Caller is App or player_framework}
111  VIDEO_CODEC: {type: STRING, desc: Video mime type}
112  AUDIO_CODEC: {type: STRING, desc: Audio mime type}
113  CONTAINER_FORMAT: {type: STRING, desc: Container format}
114  ERROR_MESG: {type: STRING, desc: Fault description}
115
116DRM_SERVICE_INFO:
117  __BASE: {type: BEHAVIOR, level: MINOR, desc: DRM service start or end information}
118  MODULE: {type: STRING, desc: Module name}
119  SERVICE_NAME: {type: STRING, desc: Service name}
120  ACTION: {type: STRING, desc: Current Action}
121  MEMORY: {type: UINT32, desc: Service use memory kb}
122
123DRM_LICENSE_DOWNLOAD_INFO:
124  __BASE: {type: BEHAVIOR, level: MINOR, desc: DRM system provision}
125  MODULE: {type: STRING, desc: Module name}
126  APP_NAME: {type: STRING, desc: Caller app name}
127  INSTANCE_ID: {type: STRING, desc: Distinct player id}
128  DRM_NAME: {type: STRING, desc: DRM schema name}
129  DRM_UUID: {type: STRING, desc: DRM Universally Unique Identifier}
130  CLIENT_VERSION: {type: STRING, desc: DRM client version}
131  LICENSE_TYPE: {type: STRING, desc: DRM license type}
132  GENERATION_DURATION: {type: UINT32, desc: License request generation costs ms}
133  GENERATION_RESULT: {type: STRING, desc: License generation result}
134  PROCESS_DURATION: {type: UINT32, desc: License process costs ms}
135  PROCESS_RESULT: {type: STRING, desc: License process result}
136
137DRM_CERTIFICATE_DOWNLOAD_INFO:
138  __BASE: {type: BEHAVIOR, level: CRITICAL, desc: DRM system provision}
139  MODULE: {type: STRING, desc: Module name}
140  APP_NAME: {type: STRING, desc: Caller app name}
141  INSTANCE_ID: {type: STRING, desc: Distinct player id}
142  DRM_NAME: {type: STRING, desc: DRM schema name}
143  DRM_UUID: {type: STRING, desc: DRM Universally Unique Identifier}
144  CLIENT_VERSION: {type: STRING, desc: DRM client version}
145  GENERATION_DURATION: {type: UINT32, desc: License request generation costs ms}
146  GENERATION_RESULT: {type: STRING, desc: License generation result}
147  PROCESS_DURATION: {type: UINT32, desc: License process costs ms}
148  PROCESS_RESULT: {type: STRING, desc: License process result}
149  CALL_SERVER_TIME: {type: UINT32, desc: Call server time}
150  SERVER_COST_DURATION: {type: UINT32, desc: Processing time of the server}
151  SERVER_RESULT: {type: STRING, desc: Server result}
152PLAYER_COMMON_STATISTICS:
153  __BASE: {type: STATISTIC, level: MINOR, desc: Player all info statistics}
154  EVENTS: {type: STRING, arrsize: 100, desc: Group of player events}
155
156RECORDER_STATISTICS:
157  __BASE: {type: STATISTIC, level: MINOR, desc: Recorder statistics}
158  EVENTS: {type: STRING, arrsize: 100, desc: Group of recorder events}
159
160SCREEN_CAPTURE_STATISTICS:
161  __BASE: {type: STATISTIC, level: MINOR, desc: Screen capture statistics}
162  EVENTS: {type: STRING, arrsize: 100, desc: Group of screen capture events}
163
164DRM_STATISTICS:
165  __BASE: {type: STATISTIC, level: MINOR, desc: DRM statistics}
166  EVENTS: {type: STRING, arrsize: 100, desc: Group of DRM events}
167
168PLAYER_LAG:
169  __BASE: {type: FAULT, level: CRITICAL, desc: playback lag event}
170  APP_NAME: {type: STRING, desc: Caller app name}
171  INSTANCE_ID: {type: STRING, desc: Distinct player id}
172  SOURCE_TYPE: {type: UINT8, desc: Enum of source type}
173  LAG_DURATION: {type: INT32, desc: Lag duration}
174  MSG: {type: STRING, desc: Lag info message}
175