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 TIME: {type: UINT32, desc: Service start or end time us} 120 SERVICE_NAME: {type: STRING, desc: Service name} 121 ACTION: {type: STRING, desc: Start or end} 122 MEMORY: {type: UINT32, desc: Service used memory kb} 123 124DRM_LICENSE_DOWNLOAD_INFO: 125 __BASE: {type: BEHAVIOR, level: MINOR, desc: DRM system provision} 126 MODULE: {type: STRING, desc: Module name} 127 TIME: {type: UINT32, desc: Service start or end time us} 128 APP_NAME: {type: STRING, desc: Caller app name} 129 INSTANCE_ID: {type: STRING, desc: Distinct player id} 130 DRM_NAME: {type: STRING, desc: DRM schema name} 131 DRM_UUID: {type: STRING, desc: DRM universial unique identifier} 132 CLIENT_VERSION: {type: STRING, desc: DRM client version} 133 LICENSE_TYPE: {type: STRING, desc: Online of offline} 134 GENERATION_DURATION: {type: UINT32, desc: License request generation costs ms} 135 GENERATION_RESULT: {type: STRING, desc: Success or fail} 136 PROCESS_DURATION: {type: UINT32, desc: License process costs ms} 137 PROCESS_RESULT: {type: STRING, desc: License process result} 138 139DRM_CERTIFICATE_DOWNLOAD_INFO: 140 __BASE: {type: BEHAVIOR, level: MINOR, desc: DRM system provision} 141 MODULE: {type: STRING, desc: Module name} 142 TIME: {type: UINT32, desc: Service start or end time us} 143 APP_NAME: {type: STRING, desc: Caller app name} 144 INSTANCE_ID: {type: STRING, desc: Distinct player id} 145 DRM_NAME: {type: STRING, desc: DRM schema name} 146 DRM_UUID: {type: STRING, desc: DRM universial unique identifier} 147 CLIENT_VERSION: {type: STRING, desc: DRM client version} 148 GENERATION_DURATION: {type: UINT32, desc: License request generation costs ms} 149 GENERATION_RESULT: {type: STRING, desc: Success or fail} 150 PROCESS_DURATION: {type: UINT32, desc: License process costs ms} 151 PROCESS_RESULT: {type: STRING, desc: License process result} 152 CALL_SERVER_TIME: {type: UINT32, desc: Call time} 153 SERVER_COST_DURATION: {type: UINT32, desc: Processing time of the server} 154 SERVER_RESULT: {type: STRING, desc: Result} 155PLAYER_COMMON_STATISTICS: 156 __BASE: {type: STATISTIC, level: MINOR, desc: Player all info statistics} 157 EVENTS: {type: STRING, arrsize: 100, desc: Group of player events} 158 159RECORDER_STATISTICS: 160 __BASE: {type: STATISTIC, level: MINOR, desc: Recorder statistics} 161 EVENTS: {type: STRING, arrsize: 100, desc: Group of recorder events} 162 163SCREEN_CAPTURE_STATISTICS: 164 __BASE: {type: STATISTIC, level: MINOR, desc: Screen capture statistics} 165 EVENTS: {type: STRING, arrsize: 100, desc: Group of screen capture events} 166 167DRM_STATISTICS: 168 __BASE: {type: STATISTIC, level: MINOR, desc: DRM common statistics} 169 EVENTS: {type: STRING, arrsize: 100, desc: Group of DRM common events} 170 171PLAYER_LAG: 172 __BASE: {type: FAULT, level: CRITICAL, desc: playback lag event} 173 APP_NAME: {type: STRING, desc: Caller app name} 174 INSTANCE_ID: {type: STRING, desc: Distinct player id} 175 SOURCE_TYPE: {type: UINT8, desc: Enum of source type} 176 LAG_DURATION: {type: INT32, desc: Lag duration} 177 MSG: {type: STRING, desc: Lag info message} 178 179EOS_SEEK_0: 180 __BASE: {type: STATISTIC, level: CRITICAL, desc: eos seek 0, preserve: true} 181 APP_NAME: {type: STRING, desc: app name} 182 APP_UID: {type: INT32, desc: app uid}