/
category.ts
48 lines (33 loc) · 907 Bytes
/
category.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
type CategoryType = {[category: string]: number};
const Category: CategoryType = {
/** Errors from the network stack. */
NETWORK: 1,
/** Errors parsing text streams. */
TEXT: 2,
/** Errors parsing or processing audio or video streams. */
MEDIA: 3,
/** Errors parsing the Manifest. */
MANIFEST: 4,
/** Errors related to streaming. */
STREAMING: 5,
/** Errors related to DRM. */
DRM: 6,
/** Miscellaneous errors from the player. */
PLAYER: 7,
/** Errors related to ads. */
ADS: 8,
/** Errors in the database storage (offline). */
STORAGE: 9,
/** Errors related to cast. */
CAST: 10,
/** Errors from VR plugin. */
VR: 11,
/** Media is not ready error. */
MEDIA_NOT_READY: 12,
/** Geolocation restriction error. */
GEO_LOCATION: 13,
/** Media is unavailable error. */
MEDIA_UNAVAILABLE: 14
};
export {Category};
export type {CategoryType};