ovenplayer 0.10.46 → 0.10.48
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +22 -22
- package/dist/ovenplayer.js +1 -1
- package/dist/ovenplayer.js.map +1 -1
- package/package.json +4 -4
- package/src/js/api/Configurator.js +272 -270
- package/src/js/api/caption/Loader.js +67 -67
- package/src/js/api/caption/Manager.js +143 -141
- package/src/js/api/constants.js +622 -621
- package/src/js/api/provider/html5/Provider.js +570 -563
- package/src/js/api/provider/html5/providers/WebRTCLoader.js +1 -1
- package/src/js/view/components/controls/settingPanel/captionPanel.js +42 -42
- package/src/js/view/components/controls/settingPanel/main.js +321 -321
- package/src/js/view/components/helpers/contextPanel.js +44 -38
- package/src/js/view/components/helpers/contextPanelTemplate.js +19 -9
package/src/js/api/constants.js
CHANGED
|
@@ -1,621 +1,622 @@
|
|
|
1
|
-
// STATE
|
|
2
|
-
export const STATE_BUFFERING = "buffering";
|
|
3
|
-
export const STATE_IDLE = "idle";
|
|
4
|
-
export const STATE_COMPLETE = "complete";
|
|
5
|
-
export const STATE_PAUSED = "paused";
|
|
6
|
-
export const STATE_PLAYING = "playing";
|
|
7
|
-
export const STATE_ERROR = "error";
|
|
8
|
-
export const STATE_LOADING = "loading";
|
|
9
|
-
export const STATE_STALLED = "stalled";
|
|
10
|
-
|
|
11
|
-
export const STATE_AD_LOADING = "adLoading";
|
|
12
|
-
export const STATE_AD_LOADED = "adLoaded";
|
|
13
|
-
export const STATE_AD_PLAYING = "adPlaying";
|
|
14
|
-
export const STATE_AD_PAUSED = "adPaused";
|
|
15
|
-
export const STATE_AD_COMPLETE = "adComplete";
|
|
16
|
-
export const STATE_AD_ERROR = "adError";
|
|
17
|
-
export const PLAYER_AD_CLICK = "adclick";
|
|
18
|
-
|
|
19
|
-
// PROVIDER
|
|
20
|
-
export const PROVIDER_HTML5 = "html5";
|
|
21
|
-
export const PROVIDER_WEBRTC = "webrtc";
|
|
22
|
-
export const PROVIDER_DASH = "dash";
|
|
23
|
-
export const PROVIDER_HLS = "hls";
|
|
24
|
-
export const PROVIDER_RTMP = "rtmp";
|
|
25
|
-
|
|
26
|
-
// EVENTS
|
|
27
|
-
export const CONTENT_COMPLETE = STATE_COMPLETE;
|
|
28
|
-
export const READY = "ready";
|
|
29
|
-
export const DESTROY = "destroy";
|
|
30
|
-
export const CONTENT_SEEK = "seek";
|
|
31
|
-
export const CONTENT_BUFFER_FULL = "bufferFull";
|
|
32
|
-
export const DISPLAY_CLICK = "displayClick";
|
|
33
|
-
export const CONTENT_LOADED = "loaded";
|
|
34
|
-
export const PLAYLIST_CHANGED = "playlistChanged";
|
|
35
|
-
export const CONTENT_SEEKED = "seeked";
|
|
36
|
-
export const ALL_PLAYLIST_ENDED = "allPlaylistEnded";
|
|
37
|
-
export const NETWORK_UNSTABLED = "unstableNetwork";
|
|
38
|
-
export const HLS_PREPARED = "hlsPrepared";
|
|
39
|
-
export const HLS_DESTROYED = "hlsDestroyed";
|
|
40
|
-
export const DASH_PREPARED = "dashPrepared";
|
|
41
|
-
export const DASH_DESTROYED = "dashDestroyed";
|
|
42
|
-
export const PEER_CONNECTION_PREPARED = "peerConnectionPrepared";
|
|
43
|
-
export const PEER_CONNECTION_DESTROYED = "peerConnectionDestroyed";
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
export const
|
|
52
|
-
export const
|
|
53
|
-
export const
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
export const
|
|
57
|
-
export const
|
|
58
|
-
export const
|
|
59
|
-
export const
|
|
60
|
-
export const
|
|
61
|
-
export const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
export const
|
|
65
|
-
export const
|
|
66
|
-
export const
|
|
67
|
-
export const
|
|
68
|
-
export const
|
|
69
|
-
export const
|
|
70
|
-
export const
|
|
71
|
-
export const
|
|
72
|
-
export const
|
|
73
|
-
export const
|
|
74
|
-
export const
|
|
75
|
-
export const
|
|
76
|
-
export const
|
|
77
|
-
export const
|
|
78
|
-
export const
|
|
79
|
-
export const
|
|
80
|
-
export const
|
|
81
|
-
export const
|
|
82
|
-
export const
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
export const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
export const
|
|
91
|
-
export const
|
|
92
|
-
export const
|
|
93
|
-
export const
|
|
94
|
-
export const
|
|
95
|
-
export const
|
|
96
|
-
export const
|
|
97
|
-
export const
|
|
98
|
-
export const
|
|
99
|
-
export const
|
|
100
|
-
export const
|
|
101
|
-
export const
|
|
102
|
-
export const
|
|
103
|
-
export const
|
|
104
|
-
export const
|
|
105
|
-
export const
|
|
106
|
-
export const
|
|
107
|
-
export const
|
|
108
|
-
export const
|
|
109
|
-
export const
|
|
110
|
-
export const
|
|
111
|
-
export const
|
|
112
|
-
export const
|
|
113
|
-
export const
|
|
114
|
-
export const
|
|
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
|
-
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
"
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
"
|
|
168
|
-
"
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
"
|
|
173
|
-
"
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
"
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
"
|
|
188
|
-
"
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
"
|
|
193
|
-
"
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"
|
|
198
|
-
"
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
"
|
|
203
|
-
"
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
"
|
|
208
|
-
"
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
"
|
|
213
|
-
"
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
"
|
|
218
|
-
"
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
"
|
|
223
|
-
"
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
"
|
|
228
|
-
"
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
"
|
|
233
|
-
"
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
"
|
|
243
|
-
"
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
"
|
|
248
|
-
"
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
"
|
|
253
|
-
"
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
"
|
|
258
|
-
"
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
"
|
|
263
|
-
"
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
"
|
|
268
|
-
"
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
"
|
|
273
|
-
"
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
"
|
|
278
|
-
"
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
"
|
|
283
|
-
"
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
"
|
|
288
|
-
"
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
"
|
|
296
|
-
|
|
297
|
-
"
|
|
298
|
-
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
"
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
"
|
|
309
|
-
"
|
|
310
|
-
"
|
|
311
|
-
"
|
|
312
|
-
"
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
"
|
|
327
|
-
"
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
"
|
|
337
|
-
"
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
"
|
|
342
|
-
"
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
"
|
|
357
|
-
"
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
"
|
|
362
|
-
"
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
"
|
|
367
|
-
"
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
"
|
|
372
|
-
"
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
"
|
|
382
|
-
"
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
"
|
|
387
|
-
"
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
"
|
|
397
|
-
"
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
"
|
|
402
|
-
"
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
"
|
|
407
|
-
"
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
"
|
|
412
|
-
"
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
"
|
|
422
|
-
"
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
"
|
|
427
|
-
"
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
"
|
|
432
|
-
"
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
"
|
|
442
|
-
"
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
"
|
|
447
|
-
"
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
"
|
|
452
|
-
"
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
"
|
|
460
|
-
|
|
461
|
-
"
|
|
462
|
-
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
"
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
"
|
|
473
|
-
"
|
|
474
|
-
"
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
"
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
"
|
|
491
|
-
"
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
"
|
|
496
|
-
"
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
"
|
|
501
|
-
"
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
"
|
|
506
|
-
"
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
"
|
|
511
|
-
"
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
"
|
|
516
|
-
"
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
"
|
|
521
|
-
"
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
"
|
|
526
|
-
"
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
"
|
|
536
|
-
"
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
"
|
|
541
|
-
"
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
"
|
|
546
|
-
"
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
"
|
|
551
|
-
"
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
"
|
|
556
|
-
"
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
"
|
|
561
|
-
"
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
"
|
|
566
|
-
"
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
"
|
|
571
|
-
"
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
"
|
|
576
|
-
"
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
"
|
|
581
|
-
"
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
"
|
|
591
|
-
"
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
"
|
|
596
|
-
"
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
"
|
|
601
|
-
"
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
"
|
|
606
|
-
"
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
"
|
|
611
|
-
"
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
"
|
|
616
|
-
"
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
1
|
+
// STATE
|
|
2
|
+
export const STATE_BUFFERING = "buffering";
|
|
3
|
+
export const STATE_IDLE = "idle";
|
|
4
|
+
export const STATE_COMPLETE = "complete";
|
|
5
|
+
export const STATE_PAUSED = "paused";
|
|
6
|
+
export const STATE_PLAYING = "playing";
|
|
7
|
+
export const STATE_ERROR = "error";
|
|
8
|
+
export const STATE_LOADING = "loading";
|
|
9
|
+
export const STATE_STALLED = "stalled";
|
|
10
|
+
|
|
11
|
+
export const STATE_AD_LOADING = "adLoading";
|
|
12
|
+
export const STATE_AD_LOADED = "adLoaded";
|
|
13
|
+
export const STATE_AD_PLAYING = "adPlaying";
|
|
14
|
+
export const STATE_AD_PAUSED = "adPaused";
|
|
15
|
+
export const STATE_AD_COMPLETE = "adComplete";
|
|
16
|
+
export const STATE_AD_ERROR = "adError";
|
|
17
|
+
export const PLAYER_AD_CLICK = "adclick";
|
|
18
|
+
|
|
19
|
+
// PROVIDER
|
|
20
|
+
export const PROVIDER_HTML5 = "html5";
|
|
21
|
+
export const PROVIDER_WEBRTC = "webrtc";
|
|
22
|
+
export const PROVIDER_DASH = "dash";
|
|
23
|
+
export const PROVIDER_HLS = "hls";
|
|
24
|
+
export const PROVIDER_RTMP = "rtmp";
|
|
25
|
+
|
|
26
|
+
// EVENTS
|
|
27
|
+
export const CONTENT_COMPLETE = STATE_COMPLETE;
|
|
28
|
+
export const READY = "ready";
|
|
29
|
+
export const DESTROY = "destroy";
|
|
30
|
+
export const CONTENT_SEEK = "seek";
|
|
31
|
+
export const CONTENT_BUFFER_FULL = "bufferFull";
|
|
32
|
+
export const DISPLAY_CLICK = "displayClick";
|
|
33
|
+
export const CONTENT_LOADED = "loaded";
|
|
34
|
+
export const PLAYLIST_CHANGED = "playlistChanged";
|
|
35
|
+
export const CONTENT_SEEKED = "seeked";
|
|
36
|
+
export const ALL_PLAYLIST_ENDED = "allPlaylistEnded";
|
|
37
|
+
export const NETWORK_UNSTABLED = "unstableNetwork";
|
|
38
|
+
export const HLS_PREPARED = "hlsPrepared";
|
|
39
|
+
export const HLS_DESTROYED = "hlsDestroyed";
|
|
40
|
+
export const DASH_PREPARED = "dashPrepared";
|
|
41
|
+
export const DASH_DESTROYED = "dashDestroyed";
|
|
42
|
+
export const PEER_CONNECTION_PREPARED = "peerConnectionPrepared";
|
|
43
|
+
export const PEER_CONNECTION_DESTROYED = "peerConnectionDestroyed";
|
|
44
|
+
export const CONTEXT_ITEM_CLICKED = 'contextItemClicked';
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
export const ERROR = "error";
|
|
49
|
+
|
|
50
|
+
// STATE OF PLAYER
|
|
51
|
+
export const PLAYER_STATE = "stateChanged";
|
|
52
|
+
export const PLAYER_COMPLETE = STATE_COMPLETE;
|
|
53
|
+
export const PLAYER_PAUSE = "pause";
|
|
54
|
+
export const PLAYER_PLAY = "play";
|
|
55
|
+
|
|
56
|
+
export const PLAYER_CLICKED = "clicked";
|
|
57
|
+
export const PLAYER_RESIZED = "resized";
|
|
58
|
+
export const PLAYER_LOADING = "loading";
|
|
59
|
+
export const PLAYER_FULLSCREEN_REQUEST = "fullscreenRequested";
|
|
60
|
+
export const PLAYER_FULLSCREEN_CHANGED = "fullscreenChanged";
|
|
61
|
+
export const PLAYER_WARNING = "warning";
|
|
62
|
+
export const PLAYER_ZOOM_CHANGED = "zoomChanged";
|
|
63
|
+
|
|
64
|
+
export const AD_CHANGED = "adChanged";
|
|
65
|
+
export const AD_TIME = "adTime";
|
|
66
|
+
export const CONTENT_BUFFER = "bufferChanged";
|
|
67
|
+
export const CONTENT_TIME = "time";
|
|
68
|
+
export const CONTENT_RATE_CHANGE = "ratechange";
|
|
69
|
+
export const CONTENT_VOLUME = "volumeChanged";
|
|
70
|
+
export const CONTENT_MUTE = "mute";
|
|
71
|
+
export const CONTENT_META = "metaChanged";
|
|
72
|
+
export const CONTENT_META_DATA = "metaData";
|
|
73
|
+
export const CONTENT_META_DATA_TYPE_SEI = "sei";
|
|
74
|
+
export const CONTENT_SOURCE_CHANGED = "sourceChanged";
|
|
75
|
+
export const CONTENT_LEVEL_CHANGED = "qualityLevelChanged";
|
|
76
|
+
export const CONTENT_DURATION_CHANGED = "durationChanged";
|
|
77
|
+
export const PLAYBACK_RATE_CHANGED = "playbackRateChanged";
|
|
78
|
+
export const CONTENT_CAPTION_CUE_CHANGED = "cueChanged";
|
|
79
|
+
export const CONTENT_CAPTION_CHANGED = "captionChanged";
|
|
80
|
+
export const CONTENT_TIME_MODE_CHANGED = "timeDisplayModeChanged";
|
|
81
|
+
export const OME_P2P_MODE = "p2pMode";
|
|
82
|
+
export const AUDIO_TRACK_CHANGED = "audioTrackChanged";
|
|
83
|
+
export const SUBTITLE_TRACK_CHANGED = "subtitleTrackChanged";
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
export const AD_CLIENT_GOOGLEIMA = "googleima";
|
|
87
|
+
export const AD_CLIENT_VAST = "vast";
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
export const INIT_UNKNWON_ERROR = 100;
|
|
91
|
+
export const INIT_UNSUPPORT_ERROR = 101;
|
|
92
|
+
export const INIT_RTMP_SETUP_ERROR = 102;
|
|
93
|
+
export const INIT_DASH_UNSUPPORT = 103;
|
|
94
|
+
export const INIT_ADS_ERROR = 104;
|
|
95
|
+
export const INIT_DASH_FAIL = 105;
|
|
96
|
+
export const INIT_HLSJS_FAIL = 106;
|
|
97
|
+
export const INIT_DRM_FAIL = 107;
|
|
98
|
+
export const PLAYER_UNKNWON_ERROR = 300;
|
|
99
|
+
export const PLAYER_UNKNWON_OPERATION_ERROR = 301;
|
|
100
|
+
export const PLAYER_UNKNWON_NETWORK_ERROR = 302;
|
|
101
|
+
export const PLAYER_UNKNWON_DECODE_ERROR = 303;
|
|
102
|
+
export const PLAYER_FILE_ERROR = 304;
|
|
103
|
+
export const PLAYER_CAPTION_ERROR = 305;
|
|
104
|
+
export const PLAYER_BAD_REQUEST_ERROR = 306;
|
|
105
|
+
export const PLAYER_AUTH_FAILED_ERROR = 307;
|
|
106
|
+
export const PLAYER_NOT_ACCEPTABLE_ERROR = 308;
|
|
107
|
+
export const PLAYER_WEBRTC_WS_ERROR = 501;
|
|
108
|
+
export const PLAYER_WEBRTC_ADD_ICECANDIDATE_ERROR = 502;
|
|
109
|
+
export const PLAYER_WEBRTC_SET_REMOTE_DESC_ERROR = 503;
|
|
110
|
+
export const PLAYER_WEBRTC_CREATE_ANSWER_ERROR = 504;
|
|
111
|
+
export const PLAYER_WEBRTC_SET_LOCAL_DESC_ERROR = 505;
|
|
112
|
+
export const PLAYER_WEBRTC_INTERNAL_ERROR = 506;
|
|
113
|
+
export const PLAYER_WEBRTC_NETWORK_SLOW = 510;
|
|
114
|
+
export const PLAYER_WEBRTC_UNEXPECTED_DISCONNECT = 511;
|
|
115
|
+
export const PLAYER_WEBRTC_TIMEOUT = 512;
|
|
116
|
+
|
|
117
|
+
export const WARN_MSG_MUTEDPLAY = "Please touch here to turn on the sound.";
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
export const UI_ICONS = {
|
|
121
|
+
volume_mute: "volume-mute",
|
|
122
|
+
op_warning: "op-warning"
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
export const ERRORS = { codes: "" };
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
export const SYSTEM_TEXT = [
|
|
130
|
+
{
|
|
131
|
+
"lang": "en",
|
|
132
|
+
"ui": {
|
|
133
|
+
"context": "About OvenPlayer",
|
|
134
|
+
"controls": {
|
|
135
|
+
"live": "Live Streaming",
|
|
136
|
+
"low_latency_live": "Sub-Second Latency Streaming",
|
|
137
|
+
"low_latency_p2p": "Sub-Second Latency P2P",
|
|
138
|
+
},
|
|
139
|
+
"playlist": "Playlist",
|
|
140
|
+
"quality": {
|
|
141
|
+
"auto": "Auto"
|
|
142
|
+
},
|
|
143
|
+
"setting": {
|
|
144
|
+
"title": "Settings",
|
|
145
|
+
"speed": "Speed",
|
|
146
|
+
"speedUnit": "x",
|
|
147
|
+
"source": "Source",
|
|
148
|
+
"quality": "Quality",
|
|
149
|
+
"audioTrack": "Audio",
|
|
150
|
+
"caption": "Caption",
|
|
151
|
+
"display": "Display",
|
|
152
|
+
"zoom": "Zoom",
|
|
153
|
+
"subtitleTrack": "Subtitle"
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
"api": {
|
|
157
|
+
"message": {
|
|
158
|
+
"muted_play": "Please touch here to turn on the sound."
|
|
159
|
+
},
|
|
160
|
+
"error": {
|
|
161
|
+
100: {
|
|
162
|
+
"code": 100,
|
|
163
|
+
"message": "Can not load due to unknown reasons.",
|
|
164
|
+
"reason": "Can not load due to unknown reasons."
|
|
165
|
+
},
|
|
166
|
+
101: {
|
|
167
|
+
"code": 101,
|
|
168
|
+
"message": "Can not load due to playable media not found.",
|
|
169
|
+
"reason": "Can not load due to playable media not found."
|
|
170
|
+
},
|
|
171
|
+
102: {
|
|
172
|
+
"code": 102,
|
|
173
|
+
"message": "Flash fetching process aborted. </br><a href='http://www.adobe.com/go/getflashplayer' target='_self'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player'></a>",
|
|
174
|
+
"reason": "It looks like not found swf or your environment is localhost."
|
|
175
|
+
},
|
|
176
|
+
103: {
|
|
177
|
+
"code": 103,
|
|
178
|
+
"message": "Can not load due to dash.js. Please use the latest dash.js.",
|
|
179
|
+
"reason": "dash.js version is old."
|
|
180
|
+
},
|
|
181
|
+
104: {
|
|
182
|
+
"code": 104,
|
|
183
|
+
"message": "Can not load due to google ima for Ads. ",
|
|
184
|
+
"reason": "Please check the google ima library."
|
|
185
|
+
},
|
|
186
|
+
105: {
|
|
187
|
+
"code": 105,
|
|
188
|
+
"message": "Error initializing DASH.",
|
|
189
|
+
"reason": "Error initializing DASH."
|
|
190
|
+
},
|
|
191
|
+
106: {
|
|
192
|
+
"code": 106,
|
|
193
|
+
"message": "Error initializing HLS.",
|
|
194
|
+
"reason": "Error initializing HLS."
|
|
195
|
+
},
|
|
196
|
+
107: {
|
|
197
|
+
"code": 107,
|
|
198
|
+
"message": "Error initializing DRM.",
|
|
199
|
+
"reason": "Error initializing DRM."
|
|
200
|
+
},
|
|
201
|
+
300: {
|
|
202
|
+
"code": 300,
|
|
203
|
+
"message": "Can not play due to unknown reasons.",
|
|
204
|
+
"reason": "Can not play due to unknown reasons."
|
|
205
|
+
},
|
|
206
|
+
301: {
|
|
207
|
+
"code": 301,
|
|
208
|
+
"message": "Fetching process aborted by user.",
|
|
209
|
+
"reason": "Fetching process aborted by user."
|
|
210
|
+
},
|
|
211
|
+
302: {
|
|
212
|
+
"code": 302,
|
|
213
|
+
"message": "Some of the media could not be downloaded due to a network error.",
|
|
214
|
+
"reason": "Error occurred when downloading."
|
|
215
|
+
},
|
|
216
|
+
303: {
|
|
217
|
+
"code": 303,
|
|
218
|
+
"message": "Unable to load media. This may be due to a server or network error, or due to an unsupported format.",
|
|
219
|
+
"reason": "Error occurred when decoding."
|
|
220
|
+
},
|
|
221
|
+
304: {
|
|
222
|
+
"code": 304,
|
|
223
|
+
"message": "Media playback has been canceled. It looks like your media is corrupted or your browser does not support the features your media uses.",
|
|
224
|
+
"reason": "Media playback not supported."
|
|
225
|
+
},
|
|
226
|
+
305: {
|
|
227
|
+
"code": 305,
|
|
228
|
+
"message": "Can not load captions due to unknown reasons.",
|
|
229
|
+
"reason": "Can not load captions due to unknown reasons."
|
|
230
|
+
},
|
|
231
|
+
306: {
|
|
232
|
+
"code": 306,
|
|
233
|
+
"message": "Unable to load media. This may be due to a server or network error, or due to an unsupported format.",
|
|
234
|
+
"reason": "The server cannot or will not process the request."
|
|
235
|
+
},
|
|
236
|
+
307: {
|
|
237
|
+
"code": 307,
|
|
238
|
+
"message": "Unable to load media. This may be due to a server or network error, or due to an unsupported format.",
|
|
239
|
+
"reason": "The server refused the request."
|
|
240
|
+
},
|
|
241
|
+
308: {
|
|
242
|
+
"code": 308,
|
|
243
|
+
"message": "Unable to load media. This may be due to a server or network error, or due to an unsupported format.",
|
|
244
|
+
"reason": "The server do not accept the request."
|
|
245
|
+
},
|
|
246
|
+
501: {
|
|
247
|
+
"code": 501,
|
|
248
|
+
"message": "Connection with low-latency(OME) server failed.",
|
|
249
|
+
"reason": "WebSocket connection failed."
|
|
250
|
+
},
|
|
251
|
+
502: {
|
|
252
|
+
"code": 502,
|
|
253
|
+
"message": "Connection with low-latency(OME) server failed.",
|
|
254
|
+
"reason": "WebRTC addIceCandidate failed."
|
|
255
|
+
},
|
|
256
|
+
503: {
|
|
257
|
+
"code": 503,
|
|
258
|
+
"message": "Connection with low-latency(OME) server failed.",
|
|
259
|
+
"reason": "WebRTC setRemoteDescription failed."
|
|
260
|
+
},
|
|
261
|
+
504: {
|
|
262
|
+
"code": 504,
|
|
263
|
+
"message": "Connection with low-latency(OME) server failed.",
|
|
264
|
+
"reason": "WebRTC peer createOffer failed."
|
|
265
|
+
},
|
|
266
|
+
505: {
|
|
267
|
+
"code": 505,
|
|
268
|
+
"message": "Connection with low-latency(OME) server failed.",
|
|
269
|
+
"reason": "WebRTC setLocalDescription failed."
|
|
270
|
+
},
|
|
271
|
+
506: {
|
|
272
|
+
"code": 506,
|
|
273
|
+
"message": "Connection with low-latency(OME) server failed.",
|
|
274
|
+
"reason": "WebRTC internal error."
|
|
275
|
+
},
|
|
276
|
+
510: {
|
|
277
|
+
"code": 510,
|
|
278
|
+
"message": "Network connection is unstable. Check the network connection.",
|
|
279
|
+
"reason": "Network is slow."
|
|
280
|
+
},
|
|
281
|
+
511: {
|
|
282
|
+
"code": 511,
|
|
283
|
+
"message": "Connection with low-latency(OME) terminated unexpectedly.",
|
|
284
|
+
"reason": "Unexpected end of connection."
|
|
285
|
+
},
|
|
286
|
+
512: {
|
|
287
|
+
"code": 512,
|
|
288
|
+
"message": "Connection with low-latency(OME) server failed.",
|
|
289
|
+
"reason": "Connection timeout."
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"lang": "ko",
|
|
296
|
+
"ui": {
|
|
297
|
+
"context": "오븐플레이어에 관하여",
|
|
298
|
+
"controls": {
|
|
299
|
+
"live": "라이브",
|
|
300
|
+
"low_latency_live": "초저지연 라이브",
|
|
301
|
+
"low_latency_p2p": "초저지연 P2P",
|
|
302
|
+
},
|
|
303
|
+
"playlist": "플레이리스트",
|
|
304
|
+
"quality": {
|
|
305
|
+
"auto": "자동"
|
|
306
|
+
},
|
|
307
|
+
"setting": {
|
|
308
|
+
"title": "설정",
|
|
309
|
+
"speed": "재생 속도",
|
|
310
|
+
"speedUnit": "x",
|
|
311
|
+
"source": "소스",
|
|
312
|
+
"quality": "품질",
|
|
313
|
+
"audioTrack": "오디오",
|
|
314
|
+
"caption": "자막",
|
|
315
|
+
"display": "표시",
|
|
316
|
+
"zoom": "줌",
|
|
317
|
+
"subtitleTrack": "자막"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
320
|
+
"api": {
|
|
321
|
+
"message": {
|
|
322
|
+
"muted_play": "눌러서 소리 켜기"
|
|
323
|
+
},
|
|
324
|
+
"error": {
|
|
325
|
+
100: {
|
|
326
|
+
"code": 100,
|
|
327
|
+
"message": "알 수 없는 이유로 로드 할 수 없습니다.",
|
|
328
|
+
"reason": "알 수 없는 이유로 로드 할 수 없습니다."
|
|
329
|
+
},
|
|
330
|
+
101: {
|
|
331
|
+
"code": 101,
|
|
332
|
+
"message": "지원되는 미디어를 찾지 못해 로드 할 수 없습니다.",
|
|
333
|
+
"reason": "Can not load due to playable media not found."
|
|
334
|
+
},
|
|
335
|
+
102: {
|
|
336
|
+
"code": 102,
|
|
337
|
+
"message": "플레시 로드가 중단 되었습니다. </br><a href='http://www.adobe.com/go/getflashplayer' target='_self'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player'></a>",
|
|
338
|
+
"reason": "It looks like not found swf or your environment is localhost."
|
|
339
|
+
},
|
|
340
|
+
103: {
|
|
341
|
+
"code": 103,
|
|
342
|
+
"message": "DashJS로 인해 로드 할 수 없습니다. 최신 dash.js를 사용해 주세요.",
|
|
343
|
+
"reason": "dash.js version is old."
|
|
344
|
+
},
|
|
345
|
+
104: {
|
|
346
|
+
"code": 104,
|
|
347
|
+
"message": "Google IMA 라이브러리가 없어 로드 할 수 없습니다.",
|
|
348
|
+
"reason": "Please check the google ima library."
|
|
349
|
+
},
|
|
350
|
+
105: {
|
|
351
|
+
"code": 105,
|
|
352
|
+
"message": "DASH 초기화 중 오류가 발생했습니다.",
|
|
353
|
+
"reason": "Error initializing DASH."
|
|
354
|
+
},
|
|
355
|
+
106: {
|
|
356
|
+
"code": 106,
|
|
357
|
+
"message": "HLS 초기화 중 오류가 발생했습니다.",
|
|
358
|
+
"reason": "Error initializing HLS."
|
|
359
|
+
},
|
|
360
|
+
107: {
|
|
361
|
+
"code": 107,
|
|
362
|
+
"message": "DRM 초기화 중 오류가 발생했습니다.",
|
|
363
|
+
"reason": "Error initializing DRM."
|
|
364
|
+
},
|
|
365
|
+
300: {
|
|
366
|
+
"code": 300,
|
|
367
|
+
"message": "알 수 없는 이유로 재생할 수 없습니다.",
|
|
368
|
+
"reason": "Can not play due to unknown reasons."
|
|
369
|
+
},
|
|
370
|
+
301: {
|
|
371
|
+
"code": 301,
|
|
372
|
+
"message": "사용자에 의한 프로세스 중단.",
|
|
373
|
+
"reason": "Fetching process aborted by user."
|
|
374
|
+
},
|
|
375
|
+
302: {
|
|
376
|
+
"code": 302,
|
|
377
|
+
"message": "네트워크 오류로 인해 일부 미디어를 다운로드 할 수 없습니다.",
|
|
378
|
+
"reason": "Error occurred when downloading."
|
|
379
|
+
},
|
|
380
|
+
303: {
|
|
381
|
+
"code": 303,
|
|
382
|
+
"message": "미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.",
|
|
383
|
+
"reason": "Error occurred when decoding."
|
|
384
|
+
},
|
|
385
|
+
304: {
|
|
386
|
+
"code": 304,
|
|
387
|
+
"message": "미디어 재생이 취소되었습니다. 미디어가 손상되었거나 브라우저가 미디어에서 사용하는 기능을 지원하지 않는 것 같습니다.",
|
|
388
|
+
"reason": "Media playback not supported."
|
|
389
|
+
},
|
|
390
|
+
305: {
|
|
391
|
+
"code": 305,
|
|
392
|
+
"message": "알 수 없는 이유로 자막을 로드 할 수 없습니다.",
|
|
393
|
+
"reason": "Can not load captions due to unknown reasons."
|
|
394
|
+
},
|
|
395
|
+
306: {
|
|
396
|
+
"code": 306,
|
|
397
|
+
"message": "미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.",
|
|
398
|
+
"reason": "The server cannot or will not process the request."
|
|
399
|
+
},
|
|
400
|
+
307: {
|
|
401
|
+
"code": 307,
|
|
402
|
+
"message": "미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.",
|
|
403
|
+
"reason": "The server refused the request."
|
|
404
|
+
},
|
|
405
|
+
308: {
|
|
406
|
+
"code": 308,
|
|
407
|
+
"message": "미디어를 로드 할 수 없습니다. 서버 또는 네트워크 오류 또는 지원되지 않는 형식으로 인해 발생할 수 있습니다.",
|
|
408
|
+
"reason": "The server do not accept the request."
|
|
409
|
+
},
|
|
410
|
+
501: {
|
|
411
|
+
"code": 501,
|
|
412
|
+
"message": "웹소켓 연결 실패",
|
|
413
|
+
"reason": "WebSocket connection failed."
|
|
414
|
+
},
|
|
415
|
+
502: {
|
|
416
|
+
"code": 502,
|
|
417
|
+
"message": "저지연(OME) 서버와 연결에 실패했습니다.",
|
|
418
|
+
"reason": "WebRTC addIceCandidate failed."
|
|
419
|
+
},
|
|
420
|
+
503: {
|
|
421
|
+
"code": 503,
|
|
422
|
+
"message": "저지연(OME) 서버와 연결에 실패했습니다.",
|
|
423
|
+
"reason": "WebRTC setRemoteDescription failed."
|
|
424
|
+
},
|
|
425
|
+
504: {
|
|
426
|
+
"code": 504,
|
|
427
|
+
"message": "저지연(OME) 서버와 연결에 실패했습니다.",
|
|
428
|
+
"reason": "WebRTC peer createOffer failed."
|
|
429
|
+
},
|
|
430
|
+
505: {
|
|
431
|
+
"code": 505,
|
|
432
|
+
"message": "저지연(OME) 서버와 연결에 실패했습니다.",
|
|
433
|
+
"reason": "WebRTC setLocalDescription failed."
|
|
434
|
+
},
|
|
435
|
+
506: {
|
|
436
|
+
"code": 506,
|
|
437
|
+
"message": "저지연(OME) 서버와 연결에 실패했습니다.",
|
|
438
|
+
"reason": "WebRTC internal error."
|
|
439
|
+
},
|
|
440
|
+
510: {
|
|
441
|
+
"code": 510,
|
|
442
|
+
"message": "네트워크 연결이 불안정합니다. 네트워크 연결을 확인하십시오.",
|
|
443
|
+
"reason": "Network is slow."
|
|
444
|
+
},
|
|
445
|
+
511: {
|
|
446
|
+
"code": 511,
|
|
447
|
+
"message": "저지연(OME) 서버와 연결에 실패했습니다.",
|
|
448
|
+
"reason": "Unexpected end of connection."
|
|
449
|
+
},
|
|
450
|
+
512: {
|
|
451
|
+
"code": 512,
|
|
452
|
+
"message": "저지연(OME) 서버와 연결에 실패했습니다.",
|
|
453
|
+
"reason": "Connection timeout."
|
|
454
|
+
}
|
|
455
|
+
}
|
|
456
|
+
}
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
"lang": "pl",
|
|
460
|
+
"ui": {
|
|
461
|
+
"context": "O OvenPlayer",
|
|
462
|
+
"controls": {
|
|
463
|
+
"live": "Transmisja na żywo",
|
|
464
|
+
"low_latency_live": "Transmisja z niskim opóźnieniem",
|
|
465
|
+
"low_latency_p2p": "Transmisja z niskim opóźnieniem P2P",
|
|
466
|
+
},
|
|
467
|
+
"playlist": "Playlista",
|
|
468
|
+
"quality": {
|
|
469
|
+
"auto": "Auto"
|
|
470
|
+
},
|
|
471
|
+
"setting": {
|
|
472
|
+
"title": "Ustawienia",
|
|
473
|
+
"speed": "Prędkość",
|
|
474
|
+
"speedUnit": "x",
|
|
475
|
+
"source": "Źrodło",
|
|
476
|
+
"quality": "Jakość",
|
|
477
|
+
"audioTrack": "Audio",
|
|
478
|
+
"caption": "Podtytuł",
|
|
479
|
+
"display": "Wyświetlacz",
|
|
480
|
+
"zoom": "Zbliżenie",
|
|
481
|
+
"subtitleTrack": "Napisy"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"api": {
|
|
485
|
+
"message": {
|
|
486
|
+
"muted_play": "Naciśnij tutaj, aby aktywować dźwięk"
|
|
487
|
+
},
|
|
488
|
+
"error": {
|
|
489
|
+
100: {
|
|
490
|
+
"code": 100,
|
|
491
|
+
"message": "Nie można załadować z nieznanego powodu.",
|
|
492
|
+
"reason": "Can not load due to unknown reasons."
|
|
493
|
+
},
|
|
494
|
+
101: {
|
|
495
|
+
"code": 101,
|
|
496
|
+
"message": "Nie można załadować, ponieważ nie znaleziono multimediów, który można odtworzyć.",
|
|
497
|
+
"reason": "Can not load due to playable media not found."
|
|
498
|
+
},
|
|
499
|
+
102: {
|
|
500
|
+
"code": 102,
|
|
501
|
+
"message": "Flash fetching process aborted. </br><a href='http://www.adobe.com/go/getflashplayer' target='_self'><img src='http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif' alt='Get Adobe Flash player'></a>",
|
|
502
|
+
"reason": "It looks like not found swf or your environment is localhost."
|
|
503
|
+
},
|
|
504
|
+
103: {
|
|
505
|
+
"code": 103,
|
|
506
|
+
"message": "Nie można załadować, ponieważ wersja dash.js jest za stara.",
|
|
507
|
+
"reason": "dash.js version is old."
|
|
508
|
+
},
|
|
509
|
+
104: {
|
|
510
|
+
"code": 104,
|
|
511
|
+
"message": "Can not load due to google ima for Ads. ",
|
|
512
|
+
"reason": "Please check the google ima library."
|
|
513
|
+
},
|
|
514
|
+
105: {
|
|
515
|
+
"code": 105,
|
|
516
|
+
"message": "Nie można załadować, nie znaleziono DASH.",
|
|
517
|
+
"reason": "Error initializing DASH."
|
|
518
|
+
},
|
|
519
|
+
106: {
|
|
520
|
+
"code": 106,
|
|
521
|
+
"message": "Nie można załadować, nie znaleziono hlsjs.",
|
|
522
|
+
"reason": "Error initializing HLS"
|
|
523
|
+
},
|
|
524
|
+
107: {
|
|
525
|
+
"code": 107,
|
|
526
|
+
"message": "Nie można załadować, nie znaleziono DRM.",
|
|
527
|
+
"reason": "Error initializing DRM"
|
|
528
|
+
},
|
|
529
|
+
300: {
|
|
530
|
+
"code": 300,
|
|
531
|
+
"message": "Nie można odtworzyć z nieznanego powodu.",
|
|
532
|
+
"reason": "Can not play due to unknown reasons."
|
|
533
|
+
},
|
|
534
|
+
301: {
|
|
535
|
+
"code": 301,
|
|
536
|
+
"message": "Proces pobierania przerwany przez użytkownika.",
|
|
537
|
+
"reason": "Fetching process aborted by user."
|
|
538
|
+
},
|
|
539
|
+
302: {
|
|
540
|
+
"code": 302,
|
|
541
|
+
"message": "Nie udało się pobrać niektórych multimediów z powodu błędu sieci.",
|
|
542
|
+
"reason": "Error occurred when downloading."
|
|
543
|
+
},
|
|
544
|
+
303: {
|
|
545
|
+
"code": 303,
|
|
546
|
+
"message": "Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.",
|
|
547
|
+
"reason": "Error occurred when decoding."
|
|
548
|
+
},
|
|
549
|
+
304: {
|
|
550
|
+
"code": 304,
|
|
551
|
+
"message": "Odtwarzanie zostało anulowane. Wygląda na to, że plik jest uszkodzony lub Twoja przeglądarka nie obsługuje tego pliku.",
|
|
552
|
+
"reason": "Media playback not supported."
|
|
553
|
+
},
|
|
554
|
+
305: {
|
|
555
|
+
"code": 305,
|
|
556
|
+
"message": "Nie można wczytać napisów z nieznanego powodu.",
|
|
557
|
+
"reason": "Can not load captions due to unknown reasons."
|
|
558
|
+
},
|
|
559
|
+
306: {
|
|
560
|
+
"code": 306,
|
|
561
|
+
"message": "Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.",
|
|
562
|
+
"reason": "The server cannot or will not process the request."
|
|
563
|
+
},
|
|
564
|
+
307: {
|
|
565
|
+
"code": 307,
|
|
566
|
+
"message": "Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.",
|
|
567
|
+
"reason": "The server refused the request."
|
|
568
|
+
},
|
|
569
|
+
308: {
|
|
570
|
+
"code": 308,
|
|
571
|
+
"message": "Nie udało się załadować niektórych multimediów. Może być to spowodowane problemem z serwerem, siecią lub niewspieranym formatem.",
|
|
572
|
+
"reason": "The server do not accept the request."
|
|
573
|
+
},
|
|
574
|
+
501: {
|
|
575
|
+
"code": 501,
|
|
576
|
+
"message": "Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.",
|
|
577
|
+
"reason": "WebSocket connection failed."
|
|
578
|
+
},
|
|
579
|
+
502: {
|
|
580
|
+
"code": 502,
|
|
581
|
+
"message": "Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.",
|
|
582
|
+
"reason": "WebRTC addIceCandidate failed."
|
|
583
|
+
},
|
|
584
|
+
503: {
|
|
585
|
+
"code": 503,
|
|
586
|
+
"message": "Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.",
|
|
587
|
+
"reason": "WebRTC setRemoteDescription failed."
|
|
588
|
+
},
|
|
589
|
+
504: {
|
|
590
|
+
"code": 504,
|
|
591
|
+
"message": "Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.",
|
|
592
|
+
"reason": "WebRTC peer createOffer failed."
|
|
593
|
+
},
|
|
594
|
+
505: {
|
|
595
|
+
"code": 505,
|
|
596
|
+
"message": "Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.",
|
|
597
|
+
"reason": "WebRTC setLocalDescription failed."
|
|
598
|
+
},
|
|
599
|
+
506: {
|
|
600
|
+
"code": 506,
|
|
601
|
+
"message": "Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.",
|
|
602
|
+
"reason": "WebRTC internal error."
|
|
603
|
+
},
|
|
604
|
+
510: {
|
|
605
|
+
"code": 510,
|
|
606
|
+
"message": "Połączenie sieciowe jest niestabilne. Sprawdź swoją sieć.",
|
|
607
|
+
"reason": "Network is slow."
|
|
608
|
+
},
|
|
609
|
+
511: {
|
|
610
|
+
"code": 511,
|
|
611
|
+
"message": "Połączenie z serwerem niskiego opóźnienia (OME) nieoczekiwanie zakończone.",
|
|
612
|
+
"reason": "Unexpected end of connection."
|
|
613
|
+
},
|
|
614
|
+
512: {
|
|
615
|
+
"code": 512,
|
|
616
|
+
"message": "Połączenie z serwerem niskiego opóźnienia (OME) nie powiodło się.",
|
|
617
|
+
"reason": "Connection timeout."
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
];
|