-
Notifications
You must be signed in to change notification settings - Fork 114
/
1-0-0
143 lines (143 loc) · 3.71 KB
/
1-0-0
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
{
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#",
"description": "Context Schema for a Roku video event (reflects the Video node: https://developer.roku.com/en-gb/docs/references/scenegraph/media-playback-nodes/video.md)",
"self": {
"format": "jsonschema",
"name": "video",
"vendor": "com.roku",
"version": "1-0-0"
},
"type": "object",
"properties": {
"videoId": {
"type": "string",
"description": "ID generated when video tracking of the video node was initialized.",
"maxLength": 255
},
"contentId": {
"type": [
"string",
"null"
],
"description": "ID of video provided in content metadata.",
"maxLength": 255
},
"contentTitle": {
"description": "Title of video provided in content metadata.",
"type": [
"string",
"null"
],
"maxLength": 65535
},
"contentUrl": {
"description": "URL of video provided in content metadata.",
"type": [
"string",
"null"
],
"maxLength": 65535,
"format": "uri"
},
"contentType": {
"description": "Category of video (e.g., movie, season, series) provided in content metadata.",
"type": [
"string",
"null"
],
"maxLength": 255
},
"streamFormat": {
"description": "Container format of video (e.g., mp4, wma, mkv) provided in content metadata.",
"type": [
"string",
"null"
],
"maxLength": 255
},
"streamUrl": {
"type": [
"string",
"null"
],
"description": "URL of the current stream.",
"maxLength": 65535,
"format": "uri"
},
"measuredBitrate": {
"type": [
"integer",
"null"
],
"description": "Measured bitrate (bps) of the network when the stream was selected.",
"minimum": 0,
"maximum": 2147483647
},
"streamBitrate": {
"type": [
"integer",
"null"
],
"description": "Current bitrate of the stream.",
"minimum": 0,
"maximum": 2147483647
},
"isUnderrun": {
"type": [
"boolean",
"null"
],
"description": "Indicates whether the stream was downloaded due to an underrun."
},
"isResumed": {
"type": [
"boolean",
"null"
],
"description": "Indicates whether the playback was resumed after trickplay."
},
"videoFormat": {
"type": [
"string",
"null"
],
"description": "Video codec of the currently playing video stream (e.g., hevc, mpeg2, mpeg4_15).",
"maxLength": 255
},
"timeToStartStreaming": {
"type": [
"number",
"null"
],
"description": "Time in seconds from playback being started until the video actually began playing.",
"minimum": 0,
"maximum": 9007199254740991
},
"width": {
"type": "integer",
"description": "Width of the video play window in pixels. 0 if the play window is set to the width of the entire display screen.",
"minimum": 0,
"maximum": 65535
},
"height": {
"type": "integer",
"description": "Height of the video play window in pixels. 0 if the play window is set to the height of the entire display screen.",
"minimum": 0,
"maximum": 65535
},
"errorStr": {
"type": [
"string",
"null"
],
"description": "A diagnostic message indicating a video play error. Refer to the Roku Video documentation for the format of the string.",
"maxLength": 65535
}
},
"required": [
"videoId",
"width",
"height"
],
"additionalProperties": false
}