Error
Player emits error event to notify user
error
type
| Error type | Description |
|---|
| media | Request to media resource was interrupted by user |
| network | Request to media resource caused network error |
| decoder | Decoding error |
| format | Format of media resource is not supported by Platform |
| demux | Error occurs in demuxing process |
| remux | Error occurs in remuxing process |
| hls | Error occurs in HLS parsing process or content recognition failed |
| mse | Error from MediaSource |
code
| Error code | Description | Error type | Remark |
|---|
| 5101 | Request to media resource was interrupted by user | media | v3.0.2+ |
| 5102 | Request to media resource caused network error | network | v3.0.2+ |
| 5103 | Decoding error | decoder | v3.0.2+ |
| 5104 | Format of media resource is not supported by Platform | format | v3.0.2+ |
| 5105 | current browser can`t decode video | format | v3.0.2+ |
| 5106 | src empty | format | v3.0.2+ |
| 1 | Request to media resource was interrupted by user | media | v3.0.2+Deprecated |
| 2 | Request to media resource caused network error | network | v3.0.2+Deprecated |
| 3 | Decoding error | decoder | v3.0.2+Deprecated |
| 4 | Format of media resource is not supported by Platform | format | v3.0.2+Deprecated |
| 600 | HTTP request failed due to CDN or resource issues, you can get error code from httpCode | network | |
| 601 | HTTP request timeout | network | |
| 602 | HTTP request failed due to network or CORS issues | network | |
| 603 | Other request errors caused by StreamReader or Fetch API | network | |
| 700 | Error occurs in demuxing process | demux | |
| 800 | Error occurs in remuxing process | remux | |
| 900 | Error occurs in HLS parsing process | hls | |
| 901 | M3u8 content recognition failed | hls | |
| 1000 | Error occurs when invoking addSourceBuffer | mse | |