• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Media Error Codes
2
3> **NOTE**
4>
5> This topic describes only module-specific error codes. For details about universal error codes, see [Universal Error Codes](../errorcode-universal.md).
6
7## 5400101 Memory Allocation Failed
8
9**Error Message**
10
11No memory.
12
13**Description**
14
15Failed to allocate memory.
16
17**Possible Causes**
18
191. The number of instances exceeds 16.
202. The new or malloc process fails, causing a null pointer.
21
22**Solution**
23
24Destroy this instance and re-create it. If the re-creation fails, stop related operations.
25
26## 5400102 Unsupported Operation
27
28**Error Message**
29
30Operation not allowed.
31
32**Description**
33
34This operation is not allowed.
35
36**Possible Causes**
37
38This operation is not allowed in the current state.
39
40**Solution**
41
42Switch the instance to the correct state and perform the operation.
43
44## 5400103 I/O Error
45
46**Error Message**
47
48I/O error.
49
50**Description**
51
52An I/O error occurs.
53
54**Possible Causes**
55
56The data interaction between the media and other modules (graphics, audio, network, HDI, and camera) is abnormal.
57
58**Solution**
59
60Ensure that the network is normal, destroy this instance, and re-create it. If the re-creation fails, stop related operations.
61
62## 5400104 Operation Timeout
63
64**Error Message**
65
66Operation timeout.
67
68**Description**
69
70The operation timed out.
71
72**Possible Causes**
73
741. The network connection times out. (The default network timeout period is 15 seconds, and the timer starts after the buffered event is reported.)
752. Accessing other modules times out.
76
77**Solution**
78
791. Check whether the network is normal.
802. Destroy this instance and re-create it. If the re-creation fails, stop related operations.
81
82## 5400105 Play Service Dead
83
84**Error Message**
85
86Service died.
87
88**Description**
89
90The playback service is dead.
91
92**Possible Causes**
93
94The playback service is dead.
95
96**Solution**
97
98Destroy this instance and re-create it. If the re-creation fails, stop related operations.
99
100## 5400106 Format Not Supported
101
102**Error Message**
103
104Unsupported format.
105
106**Description**
107
108The format is not supported.
109
110**Possible Causes**
111
112The file format is not supported.
113
114**Solution**
115
116Use a supported format.
117
118## 5400107 Audio Focus Conflict
119
120**Error Message**
121
122Audio interrupted.
123
124**Description**
125
126Recording fails due to audio focus conflicts.
127
128**Possible Causes**
129
130Another process occupies the audio focus.
131
132**Solution**
133
134Destroy the current instance and check whether another process is recording. If you can stop the other process, you can create the current instance again.
135