@volcengine/veplayer 2.8.0-rc.0 → 2.8.0-rc.2
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/esm/index.d.ts +155 -121
- package/esm/veplayer.biz.live.development.js +36 -6
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +513 -212
- package/esm/veplayer.development.js +40 -12
- package/esm/veplayer.live.d.ts +513 -212
- package/esm/veplayer.live.development.js +40 -12
- package/esm/veplayer.live.production.js +2 -2
- package/esm/veplayer.production.js +2 -2
- package/esm/veplayer.vod.d.ts +155 -121
- package/esm/veplayer.vod.development.js +3 -5
- package/esm/veplayer.vod.production.js +1 -1
- package/package.json +1 -1
- package/umd/index.d.ts +155 -121
- package/umd/veplayer.biz.live.development.js +36 -6
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +513 -212
- package/umd/veplayer.development.js +40 -12
- package/umd/veplayer.live.d.ts +513 -212
- package/umd/veplayer.live.development.js +40 -12
- package/umd/veplayer.live.production.js +1 -1
- package/umd/veplayer.production.js +1 -1
- package/umd/veplayer.vod.d.ts +155 -121
- package/umd/veplayer.vod.development.js +3 -5
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +513 -212
- package/veplayer.live.d.ts +513 -212
- package/veplayer.vod.d.ts +155 -121
package/esm/veplayer.vod.d.ts
CHANGED
|
@@ -154,6 +154,14 @@ interface ExposedDefinition {
|
|
|
154
154
|
*
|
|
155
155
|
*/
|
|
156
156
|
fallbackUrls?: string[];
|
|
157
|
+
/** {zh}
|
|
158
|
+
* @hidden
|
|
159
|
+
* @brief 自定义播放地址类型标识。可用于区分不同来源的播放地址。
|
|
160
|
+
*/
|
|
161
|
+
/** {en}
|
|
162
|
+
* @hidden
|
|
163
|
+
* @brief Custom identifier for the playback address type. Can be used to distinguish different stream sources.
|
|
164
|
+
*/
|
|
157
165
|
type?: string;
|
|
158
166
|
}
|
|
159
167
|
/** {zh}
|
|
@@ -416,6 +424,12 @@ declare enum Level {
|
|
|
416
424
|
*/
|
|
417
425
|
Warn = "Warn"
|
|
418
426
|
}
|
|
427
|
+
/** {zh}
|
|
428
|
+
* @id ErrorCodeRaw
|
|
429
|
+
*/
|
|
430
|
+
/** {en}
|
|
431
|
+
* @id ErrorCodeRaw
|
|
432
|
+
*/
|
|
419
433
|
declare enum ErrorCode {
|
|
420
434
|
/** {zh}
|
|
421
435
|
* @brief 视频解析错误
|
|
@@ -423,7 +437,7 @@ declare enum ErrorCode {
|
|
|
423
437
|
*/
|
|
424
438
|
/** {en}
|
|
425
439
|
* @brief Video parsing error.
|
|
426
|
-
* @solution Please contact
|
|
440
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
427
441
|
*/
|
|
428
442
|
MANIFEST_HLS_ERROR = 1100,
|
|
429
443
|
/** {zh}
|
|
@@ -432,7 +446,7 @@ declare enum ErrorCode {
|
|
|
432
446
|
*/
|
|
433
447
|
/** {en}
|
|
434
448
|
* @brief Video parsing error.
|
|
435
|
-
* @solution Please contact
|
|
449
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
436
450
|
*/
|
|
437
451
|
MANIFEST_DASH_ERROR = 1200,
|
|
438
452
|
/** {zh}
|
|
@@ -486,7 +500,7 @@ declare enum ErrorCode {
|
|
|
486
500
|
*/
|
|
487
501
|
/** {en}
|
|
488
502
|
* @brief Video parsing error.
|
|
489
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
503
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
490
504
|
*/
|
|
491
505
|
DEMUX_FLV_ERROR = 3100,
|
|
492
506
|
/** {zh}
|
|
@@ -495,7 +509,7 @@ declare enum ErrorCode {
|
|
|
495
509
|
*/
|
|
496
510
|
/** {en}
|
|
497
511
|
* @brief Video parsing error.
|
|
498
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
512
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
499
513
|
*/
|
|
500
514
|
DEMUX_HLS_ERROR = 3200,
|
|
501
515
|
/** {zh}
|
|
@@ -505,8 +519,7 @@ declare enum ErrorCode {
|
|
|
505
519
|
*/
|
|
506
520
|
/** {en}
|
|
507
521
|
* @brief Video parsing error.
|
|
508
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
509
|
-
*
|
|
522
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
510
523
|
*/
|
|
511
524
|
DEMUX_MP4_ERROR = 3300,
|
|
512
525
|
/** {zh}
|
|
@@ -516,8 +529,7 @@ declare enum ErrorCode {
|
|
|
516
529
|
*/
|
|
517
530
|
/** {en}
|
|
518
531
|
* @brief Video parsing error.
|
|
519
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
520
|
-
*
|
|
532
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
521
533
|
*/
|
|
522
534
|
DEMUX_FMP4_ERROR = 3400,
|
|
523
535
|
/** {zh}
|
|
@@ -527,8 +539,7 @@ declare enum ErrorCode {
|
|
|
527
539
|
*/
|
|
528
540
|
/** {en}
|
|
529
541
|
* @brief Video parsing error.
|
|
530
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
531
|
-
*
|
|
542
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
532
543
|
*/
|
|
533
544
|
DEMUX_SIDX_ERROR = 3410,
|
|
534
545
|
/** {zh}
|
|
@@ -538,8 +549,7 @@ declare enum ErrorCode {
|
|
|
538
549
|
*/
|
|
539
550
|
/** {en}
|
|
540
551
|
* @brief Video parsing error.
|
|
541
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
542
|
-
*
|
|
552
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
543
553
|
*/
|
|
544
554
|
REMUX_FMP4_ERROR = 4100,
|
|
545
555
|
/** {zh}
|
|
@@ -549,8 +559,7 @@ declare enum ErrorCode {
|
|
|
549
559
|
*/
|
|
550
560
|
/** {en}
|
|
551
561
|
* @brief Video parsing error.
|
|
552
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
553
|
-
*
|
|
562
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
554
563
|
*/
|
|
555
564
|
REMUX_MP4_ERROR = 4200,
|
|
556
565
|
/** {zh}
|
|
@@ -580,10 +589,9 @@ declare enum ErrorCode {
|
|
|
580
589
|
*/
|
|
581
590
|
/** {en}
|
|
582
591
|
* @brief An error occurred to the browser while decoding the media resources.
|
|
583
|
-
* @solution
|
|
584
|
-
*
|
|
585
|
-
*
|
|
586
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
592
|
+
* @solution 1. Check whether there is any issue with the original video.
|
|
593
|
+
* 2. Re-transcode the video and play it again.
|
|
594
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
587
595
|
*/
|
|
588
596
|
MEDIA_ERR_DECODE = 5103,
|
|
589
597
|
/** {zh}
|
|
@@ -595,10 +603,9 @@ declare enum ErrorCode {
|
|
|
595
603
|
*/
|
|
596
604
|
/** {en}
|
|
597
605
|
* @brief The video cannot be loaded due to unsupported video format or server or network issues.
|
|
598
|
-
* @solution
|
|
599
|
-
*
|
|
600
|
-
*
|
|
601
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
606
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
607
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
608
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
602
609
|
*/
|
|
603
610
|
MEDIA_ERR_SRC_NOT_SUPPORTED = 5104,
|
|
604
611
|
/** {zh}
|
|
@@ -610,10 +617,9 @@ declare enum ErrorCode {
|
|
|
610
617
|
*/
|
|
611
618
|
/** {en}
|
|
612
619
|
* @brief The current browser does not support video decoding.
|
|
613
|
-
* @solution
|
|
614
|
-
*
|
|
615
|
-
*
|
|
616
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
620
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
621
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
622
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
617
623
|
*/
|
|
618
624
|
MEDIA_ERR_CODEC_NOT_SUPPORTED = 5105,
|
|
619
625
|
/** {zh}
|
|
@@ -631,7 +637,7 @@ declare enum ErrorCode {
|
|
|
631
637
|
*/
|
|
632
638
|
/** {en}
|
|
633
639
|
* @brief A playback issue occurred.
|
|
634
|
-
* @solution Check the live stream source or contact
|
|
640
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
635
641
|
*/
|
|
636
642
|
MEDIA_MSE_ADD_SB = 5200,
|
|
637
643
|
/** {zh}
|
|
@@ -640,7 +646,7 @@ declare enum ErrorCode {
|
|
|
640
646
|
*/
|
|
641
647
|
/** {en}
|
|
642
648
|
* @brief A playback issue occurred.
|
|
643
|
-
* @solution Check the live stream source or contact
|
|
649
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
644
650
|
*/
|
|
645
651
|
MEDIA_MSE_APPEND_BUFFER = 5201,
|
|
646
652
|
/** {zh}
|
|
@@ -649,7 +655,7 @@ declare enum ErrorCode {
|
|
|
649
655
|
*/
|
|
650
656
|
/** {en}
|
|
651
657
|
* @brief A playback issue occurred.
|
|
652
|
-
* @solution Check the live stream source or contact
|
|
658
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
653
659
|
*/
|
|
654
660
|
MEDIA_MSE_OTHER = 5202,
|
|
655
661
|
/** {zh}
|
|
@@ -658,7 +664,7 @@ declare enum ErrorCode {
|
|
|
658
664
|
*/
|
|
659
665
|
/** {en}
|
|
660
666
|
* @brief A playback issue occurred.
|
|
661
|
-
* @solution Check the live stream source or contact
|
|
667
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
662
668
|
*/
|
|
663
669
|
MEDIA_MSE_FULL = 5203,
|
|
664
670
|
/** {zh}
|
|
@@ -667,7 +673,7 @@ declare enum ErrorCode {
|
|
|
667
673
|
*/
|
|
668
674
|
/** {en}
|
|
669
675
|
* @brief A playback issue occurred.
|
|
670
|
-
* @solution Check the live stream source or contact
|
|
676
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
671
677
|
*/
|
|
672
678
|
MEDIA_MSE_HIJACK = 5204,
|
|
673
679
|
/** {zh}
|
|
@@ -676,25 +682,29 @@ declare enum ErrorCode {
|
|
|
676
682
|
*/
|
|
677
683
|
/** {en}
|
|
678
684
|
* @brief A playback issue occurred.
|
|
679
|
-
* @solution Check the live stream source or contact
|
|
685
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
680
686
|
*/
|
|
681
687
|
MEDIA_EME_HIJACK = 5301,
|
|
682
688
|
/** {zh}
|
|
683
689
|
* @brief DRM 权限校验失败
|
|
684
690
|
* @hidden
|
|
691
|
+
* @solution 请检查权限配置,确保播放权限正确。
|
|
685
692
|
*/
|
|
686
693
|
/** {en}
|
|
687
694
|
* @brief DRM authentication failed.
|
|
688
695
|
* @hidden
|
|
696
|
+
* @solution Verify the authentication and ensure proper playback permissions.
|
|
689
697
|
*/
|
|
690
698
|
DRM_LICENSE = 7100,
|
|
691
699
|
/** {zh}
|
|
692
700
|
* @brief DRM 权限校验失败
|
|
693
701
|
* @hidden
|
|
702
|
+
* @solution 请检查自定义 DRM 权限。
|
|
694
703
|
*/
|
|
695
704
|
/** {en}
|
|
696
705
|
* @brief DRM authentication failed.
|
|
697
706
|
* @hidden
|
|
707
|
+
* @solution Please check the custom DRM authentication.
|
|
698
708
|
*/
|
|
699
709
|
DRM_CUSTOM_LICENSE = 7200,
|
|
700
710
|
/** {zh}
|
|
@@ -703,7 +713,7 @@ declare enum ErrorCode {
|
|
|
703
713
|
*/
|
|
704
714
|
/** {en}
|
|
705
715
|
* @brief A playback issue occurred.
|
|
706
|
-
* @solution Check the live stream source or contact
|
|
716
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
707
717
|
*/
|
|
708
718
|
OTHER = 8000,
|
|
709
719
|
/** {zh}
|
|
@@ -712,7 +722,7 @@ declare enum ErrorCode {
|
|
|
712
722
|
*/
|
|
713
723
|
/** {en}
|
|
714
724
|
* @brief A playback issue occurred.
|
|
715
|
-
* @solution Check the live stream source or contact
|
|
725
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
716
726
|
*/
|
|
717
727
|
RUNTIME_NO_CANPLAY_ERROR = 9001,
|
|
718
728
|
/** {zh}
|
|
@@ -721,7 +731,7 @@ declare enum ErrorCode {
|
|
|
721
731
|
*/
|
|
722
732
|
/** {en}
|
|
723
733
|
* @brief A playback issue occurred.
|
|
724
|
-
* @solution Check the live stream source or contact
|
|
734
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
725
735
|
*/
|
|
726
736
|
RUNTIME_BUFFERBREAK_ERROR = 9002,
|
|
727
737
|
/** {zh}
|
|
@@ -730,7 +740,7 @@ declare enum ErrorCode {
|
|
|
730
740
|
*/
|
|
731
741
|
/** {en}
|
|
732
742
|
* @brief A playback issue occurred.
|
|
733
|
-
* @solution Check the live stream source or contact
|
|
743
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
734
744
|
*/
|
|
735
745
|
RUNTIME_BWAITING_TIMEOUT_ERROR = 9002,
|
|
736
746
|
// veplayer 报错
|
|
@@ -747,9 +757,11 @@ declare enum ErrorCode {
|
|
|
747
757
|
MODULE_LOAD_ERROR = 110,
|
|
748
758
|
/** {zh}
|
|
749
759
|
* @hidden
|
|
760
|
+
* @solution 请重试操作,如仍未解决,请联系[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
|
|
750
761
|
*/
|
|
751
762
|
/** {en}
|
|
752
763
|
* @hidden
|
|
764
|
+
* @solution Please retry the operation. If the issue persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
753
765
|
*/
|
|
754
766
|
UNKNOWN = "UNKNOWN"
|
|
755
767
|
}
|
|
@@ -1456,8 +1468,7 @@ interface CommonStyle {
|
|
|
1456
1468
|
* @brief 缓存部分进度条底色。
|
|
1457
1469
|
*/
|
|
1458
1470
|
/** {en}
|
|
1459
|
-
* @brief
|
|
1460
|
-
* @brief The background color of the progress bar for the cached portion of video playback.
|
|
1471
|
+
* @brief The background color of the buffered portion of the progress bar.
|
|
1461
1472
|
*/
|
|
1462
1473
|
cachedColor?: string;
|
|
1463
1474
|
/** {zh}
|
|
@@ -1838,11 +1849,15 @@ declare class VePlayerBase {
|
|
|
1838
1849
|
*/
|
|
1839
1850
|
fallbackToFirstDefinition?: boolean;
|
|
1840
1851
|
/** {zh}
|
|
1841
|
-
* @brief
|
|
1852
|
+
* @brief 是否启用无缝切换。
|
|
1853
|
+
* - `true`:启用无缝切换,保证播放过程中不中断。
|
|
1854
|
+
* - `false`:不启用无缝切换,可能会出现播放中断。
|
|
1842
1855
|
* @default false
|
|
1843
1856
|
*/
|
|
1844
1857
|
/** {en}
|
|
1845
|
-
* @brief Whether seamless switching
|
|
1858
|
+
* @brief Whether seamless switching is enabled.
|
|
1859
|
+
* - `true`: Enables seamless switching, ensuring no interruption during playback.
|
|
1860
|
+
* - `false`: Disables seamless switching, which may cause interruptions during playback.
|
|
1846
1861
|
*/
|
|
1847
1862
|
seamless?: boolean;
|
|
1848
1863
|
}): Promise<ExposedDefinition>;
|
|
@@ -1927,7 +1942,7 @@ declare class VePlayerBase {
|
|
|
1927
1942
|
*/
|
|
1928
1943
|
on(event: string, callback: (data?: any) => any): void;
|
|
1929
1944
|
/** {zh}
|
|
1930
|
-
* @brief
|
|
1945
|
+
* @brief 调用此方法开始播放。
|
|
1931
1946
|
*/
|
|
1932
1947
|
/** {en}
|
|
1933
1948
|
* @brief Starts playback.
|
|
@@ -1971,20 +1986,24 @@ declare class VePlayerBase {
|
|
|
1971
1986
|
*/
|
|
1972
1987
|
focus(data?: {
|
|
1973
1988
|
/** {zh}
|
|
1974
|
-
* @brief
|
|
1989
|
+
* @brief 是否需要自动失焦。
|
|
1990
|
+
* - `true`:启用自动失焦,经过指定的延迟时间后,自动调用 `blur()` 方法进行失焦。
|
|
1991
|
+
* - `false`:禁用自动失焦,不会在延迟时间后自动调用 `blur()` 方法。
|
|
1975
1992
|
* @default true
|
|
1976
1993
|
*/
|
|
1977
1994
|
/** {en}
|
|
1978
|
-
* @brief Whether
|
|
1995
|
+
* @brief Whether auto-blur is enabled.
|
|
1996
|
+
* - `true`: Enables auto-blur, meaning `blur()` will be automatically called after the specified delay time.
|
|
1997
|
+
* - `false`: Disables auto-blur, meaning `blur()` will not be automatically called after the delay.
|
|
1979
1998
|
* @default true
|
|
1980
1999
|
*/
|
|
1981
2000
|
autoHide?: boolean;
|
|
1982
2001
|
/** {zh}
|
|
1983
|
-
* @brief
|
|
2002
|
+
* @brief 自动失焦的延迟时间,单位为毫秒。在 `autoHide` 为 `true` 时生效。
|
|
1984
2003
|
* @default 3000
|
|
1985
2004
|
*/
|
|
1986
2005
|
/** {en}
|
|
1987
|
-
* @brief
|
|
2006
|
+
* @brief Delay duration (in milliseconds) before auto-blur is triggered. This takes effect only when `autoHide` is set to `true`.
|
|
1988
2007
|
* @default 3000
|
|
1989
2008
|
*/
|
|
1990
2009
|
delay?: number;
|
|
@@ -1999,11 +2018,11 @@ declare class VePlayerBase {
|
|
|
1999
2018
|
*/
|
|
2000
2019
|
blur(data?: {
|
|
2001
2020
|
/** {zh}
|
|
2002
|
-
* @brief
|
|
2021
|
+
* @brief 播放器在暂停时是否保留焦点状态。默认值为 `true`,即播放器暂停时不会自动失焦。
|
|
2003
2022
|
* @default false
|
|
2004
2023
|
*/
|
|
2005
2024
|
/** {en}
|
|
2006
|
-
* @brief Whether
|
|
2025
|
+
* @brief Whether the player retains focus when paused. The default is `true`, meaning the player will not automatically lose focus during pause.
|
|
2007
2026
|
* @default false
|
|
2008
2027
|
*/
|
|
2009
2028
|
ignorePaused?: boolean;
|
|
@@ -2402,6 +2421,14 @@ declare namespace strategy {
|
|
|
2402
2421
|
*
|
|
2403
2422
|
*/
|
|
2404
2423
|
fallbackUrls?: string[];
|
|
2424
|
+
/** {zh}
|
|
2425
|
+
* @hidden
|
|
2426
|
+
* @brief 自定义播放地址类型标识。可用于区分不同来源的播放地址。
|
|
2427
|
+
*/
|
|
2428
|
+
/** {en}
|
|
2429
|
+
* @hidden
|
|
2430
|
+
* @brief Custom identifier for the playback address type. Can be used to distinguish different stream sources.
|
|
2431
|
+
*/
|
|
2405
2432
|
type?: string;
|
|
2406
2433
|
}
|
|
2407
2434
|
/** {zh}
|
|
@@ -2661,6 +2688,12 @@ declare namespace strategy {
|
|
|
2661
2688
|
*/
|
|
2662
2689
|
Warn = "Warn"
|
|
2663
2690
|
}
|
|
2691
|
+
/** {zh}
|
|
2692
|
+
* @id ErrorCodeRaw
|
|
2693
|
+
*/
|
|
2694
|
+
/** {en}
|
|
2695
|
+
* @id ErrorCodeRaw
|
|
2696
|
+
*/
|
|
2664
2697
|
enum ErrorCode {
|
|
2665
2698
|
/** {zh}
|
|
2666
2699
|
* @brief 视频解析错误
|
|
@@ -2668,7 +2701,7 @@ declare namespace strategy {
|
|
|
2668
2701
|
*/
|
|
2669
2702
|
/** {en}
|
|
2670
2703
|
* @brief Video parsing error.
|
|
2671
|
-
* @solution Please contact
|
|
2704
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2672
2705
|
*/
|
|
2673
2706
|
MANIFEST_HLS_ERROR = 1100,
|
|
2674
2707
|
/** {zh}
|
|
@@ -2677,7 +2710,7 @@ declare namespace strategy {
|
|
|
2677
2710
|
*/
|
|
2678
2711
|
/** {en}
|
|
2679
2712
|
* @brief Video parsing error.
|
|
2680
|
-
* @solution Please contact
|
|
2713
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2681
2714
|
*/
|
|
2682
2715
|
MANIFEST_DASH_ERROR = 1200,
|
|
2683
2716
|
/** {zh}
|
|
@@ -2731,7 +2764,7 @@ declare namespace strategy {
|
|
|
2731
2764
|
*/
|
|
2732
2765
|
/** {en}
|
|
2733
2766
|
* @brief Video parsing error.
|
|
2734
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2767
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2735
2768
|
*/
|
|
2736
2769
|
DEMUX_FLV_ERROR = 3100,
|
|
2737
2770
|
/** {zh}
|
|
@@ -2740,7 +2773,7 @@ declare namespace strategy {
|
|
|
2740
2773
|
*/
|
|
2741
2774
|
/** {en}
|
|
2742
2775
|
* @brief Video parsing error.
|
|
2743
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2776
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2744
2777
|
*/
|
|
2745
2778
|
DEMUX_HLS_ERROR = 3200,
|
|
2746
2779
|
/** {zh}
|
|
@@ -2750,8 +2783,7 @@ declare namespace strategy {
|
|
|
2750
2783
|
*/
|
|
2751
2784
|
/** {en}
|
|
2752
2785
|
* @brief Video parsing error.
|
|
2753
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2754
|
-
*
|
|
2786
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2755
2787
|
*/
|
|
2756
2788
|
DEMUX_MP4_ERROR = 3300,
|
|
2757
2789
|
/** {zh}
|
|
@@ -2761,8 +2793,7 @@ declare namespace strategy {
|
|
|
2761
2793
|
*/
|
|
2762
2794
|
/** {en}
|
|
2763
2795
|
* @brief Video parsing error.
|
|
2764
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2765
|
-
*
|
|
2796
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2766
2797
|
*/
|
|
2767
2798
|
DEMUX_FMP4_ERROR = 3400,
|
|
2768
2799
|
/** {zh}
|
|
@@ -2772,8 +2803,7 @@ declare namespace strategy {
|
|
|
2772
2803
|
*/
|
|
2773
2804
|
/** {en}
|
|
2774
2805
|
* @brief Video parsing error.
|
|
2775
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2776
|
-
*
|
|
2806
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2777
2807
|
*/
|
|
2778
2808
|
DEMUX_SIDX_ERROR = 3410,
|
|
2779
2809
|
/** {zh}
|
|
@@ -2783,8 +2813,7 @@ declare namespace strategy {
|
|
|
2783
2813
|
*/
|
|
2784
2814
|
/** {en}
|
|
2785
2815
|
* @brief Video parsing error.
|
|
2786
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2787
|
-
*
|
|
2816
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2788
2817
|
*/
|
|
2789
2818
|
REMUX_FMP4_ERROR = 4100,
|
|
2790
2819
|
/** {zh}
|
|
@@ -2794,8 +2823,7 @@ declare namespace strategy {
|
|
|
2794
2823
|
*/
|
|
2795
2824
|
/** {en}
|
|
2796
2825
|
* @brief Video parsing error.
|
|
2797
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2798
|
-
*
|
|
2826
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2799
2827
|
*/
|
|
2800
2828
|
REMUX_MP4_ERROR = 4200,
|
|
2801
2829
|
/** {zh}
|
|
@@ -2825,10 +2853,9 @@ declare namespace strategy {
|
|
|
2825
2853
|
*/
|
|
2826
2854
|
/** {en}
|
|
2827
2855
|
* @brief An error occurred to the browser while decoding the media resources.
|
|
2828
|
-
* @solution
|
|
2829
|
-
*
|
|
2830
|
-
*
|
|
2831
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
2856
|
+
* @solution 1. Check whether there is any issue with the original video.
|
|
2857
|
+
* 2. Re-transcode the video and play it again.
|
|
2858
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2832
2859
|
*/
|
|
2833
2860
|
MEDIA_ERR_DECODE = 5103,
|
|
2834
2861
|
/** {zh}
|
|
@@ -2840,10 +2867,9 @@ declare namespace strategy {
|
|
|
2840
2867
|
*/
|
|
2841
2868
|
/** {en}
|
|
2842
2869
|
* @brief The video cannot be loaded due to unsupported video format or server or network issues.
|
|
2843
|
-
* @solution
|
|
2844
|
-
*
|
|
2845
|
-
*
|
|
2846
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
2870
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
2871
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
2872
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2847
2873
|
*/
|
|
2848
2874
|
MEDIA_ERR_SRC_NOT_SUPPORTED = 5104,
|
|
2849
2875
|
/** {zh}
|
|
@@ -2855,10 +2881,9 @@ declare namespace strategy {
|
|
|
2855
2881
|
*/
|
|
2856
2882
|
/** {en}
|
|
2857
2883
|
* @brief The current browser does not support video decoding.
|
|
2858
|
-
* @solution
|
|
2859
|
-
*
|
|
2860
|
-
*
|
|
2861
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
2884
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
2885
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
2886
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2862
2887
|
*/
|
|
2863
2888
|
MEDIA_ERR_CODEC_NOT_SUPPORTED = 5105,
|
|
2864
2889
|
/** {zh}
|
|
@@ -2876,7 +2901,7 @@ declare namespace strategy {
|
|
|
2876
2901
|
*/
|
|
2877
2902
|
/** {en}
|
|
2878
2903
|
* @brief A playback issue occurred.
|
|
2879
|
-
* @solution Check the live stream source or contact
|
|
2904
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2880
2905
|
*/
|
|
2881
2906
|
MEDIA_MSE_ADD_SB = 5200,
|
|
2882
2907
|
/** {zh}
|
|
@@ -2885,7 +2910,7 @@ declare namespace strategy {
|
|
|
2885
2910
|
*/
|
|
2886
2911
|
/** {en}
|
|
2887
2912
|
* @brief A playback issue occurred.
|
|
2888
|
-
* @solution Check the live stream source or contact
|
|
2913
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2889
2914
|
*/
|
|
2890
2915
|
MEDIA_MSE_APPEND_BUFFER = 5201,
|
|
2891
2916
|
/** {zh}
|
|
@@ -2894,7 +2919,7 @@ declare namespace strategy {
|
|
|
2894
2919
|
*/
|
|
2895
2920
|
/** {en}
|
|
2896
2921
|
* @brief A playback issue occurred.
|
|
2897
|
-
* @solution Check the live stream source or contact
|
|
2922
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2898
2923
|
*/
|
|
2899
2924
|
MEDIA_MSE_OTHER = 5202,
|
|
2900
2925
|
/** {zh}
|
|
@@ -2903,7 +2928,7 @@ declare namespace strategy {
|
|
|
2903
2928
|
*/
|
|
2904
2929
|
/** {en}
|
|
2905
2930
|
* @brief A playback issue occurred.
|
|
2906
|
-
* @solution Check the live stream source or contact
|
|
2931
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2907
2932
|
*/
|
|
2908
2933
|
MEDIA_MSE_FULL = 5203,
|
|
2909
2934
|
/** {zh}
|
|
@@ -2912,7 +2937,7 @@ declare namespace strategy {
|
|
|
2912
2937
|
*/
|
|
2913
2938
|
/** {en}
|
|
2914
2939
|
* @brief A playback issue occurred.
|
|
2915
|
-
* @solution Check the live stream source or contact
|
|
2940
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2916
2941
|
*/
|
|
2917
2942
|
MEDIA_MSE_HIJACK = 5204,
|
|
2918
2943
|
/** {zh}
|
|
@@ -2921,25 +2946,29 @@ declare namespace strategy {
|
|
|
2921
2946
|
*/
|
|
2922
2947
|
/** {en}
|
|
2923
2948
|
* @brief A playback issue occurred.
|
|
2924
|
-
* @solution Check the live stream source or contact
|
|
2949
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2925
2950
|
*/
|
|
2926
2951
|
MEDIA_EME_HIJACK = 5301,
|
|
2927
2952
|
/** {zh}
|
|
2928
2953
|
* @brief DRM 权限校验失败
|
|
2929
2954
|
* @hidden
|
|
2955
|
+
* @solution 请检查权限配置,确保播放权限正确。
|
|
2930
2956
|
*/
|
|
2931
2957
|
/** {en}
|
|
2932
2958
|
* @brief DRM authentication failed.
|
|
2933
2959
|
* @hidden
|
|
2960
|
+
* @solution Verify the authentication and ensure proper playback permissions.
|
|
2934
2961
|
*/
|
|
2935
2962
|
DRM_LICENSE = 7100,
|
|
2936
2963
|
/** {zh}
|
|
2937
2964
|
* @brief DRM 权限校验失败
|
|
2938
2965
|
* @hidden
|
|
2966
|
+
* @solution 请检查自定义 DRM 权限。
|
|
2939
2967
|
*/
|
|
2940
2968
|
/** {en}
|
|
2941
2969
|
* @brief DRM authentication failed.
|
|
2942
2970
|
* @hidden
|
|
2971
|
+
* @solution Please check the custom DRM authentication.
|
|
2943
2972
|
*/
|
|
2944
2973
|
DRM_CUSTOM_LICENSE = 7200,
|
|
2945
2974
|
/** {zh}
|
|
@@ -2948,7 +2977,7 @@ declare namespace strategy {
|
|
|
2948
2977
|
*/
|
|
2949
2978
|
/** {en}
|
|
2950
2979
|
* @brief A playback issue occurred.
|
|
2951
|
-
* @solution Check the live stream source or contact
|
|
2980
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2952
2981
|
*/
|
|
2953
2982
|
OTHER = 8000,
|
|
2954
2983
|
/** {zh}
|
|
@@ -2957,7 +2986,7 @@ declare namespace strategy {
|
|
|
2957
2986
|
*/
|
|
2958
2987
|
/** {en}
|
|
2959
2988
|
* @brief A playback issue occurred.
|
|
2960
|
-
* @solution Check the live stream source or contact
|
|
2989
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2961
2990
|
*/
|
|
2962
2991
|
RUNTIME_NO_CANPLAY_ERROR = 9001,
|
|
2963
2992
|
/** {zh}
|
|
@@ -2966,7 +2995,7 @@ declare namespace strategy {
|
|
|
2966
2995
|
*/
|
|
2967
2996
|
/** {en}
|
|
2968
2997
|
* @brief A playback issue occurred.
|
|
2969
|
-
* @solution Check the live stream source or contact
|
|
2998
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2970
2999
|
*/
|
|
2971
3000
|
RUNTIME_BUFFERBREAK_ERROR = 9002,
|
|
2972
3001
|
/** {zh}
|
|
@@ -2975,7 +3004,7 @@ declare namespace strategy {
|
|
|
2975
3004
|
*/
|
|
2976
3005
|
/** {en}
|
|
2977
3006
|
* @brief A playback issue occurred.
|
|
2978
|
-
* @solution Check the live stream source or contact
|
|
3007
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2979
3008
|
*/
|
|
2980
3009
|
RUNTIME_BWAITING_TIMEOUT_ERROR = 9002,
|
|
2981
3010
|
// veplayer 报错
|
|
@@ -2992,9 +3021,11 @@ declare namespace strategy {
|
|
|
2992
3021
|
MODULE_LOAD_ERROR = 110,
|
|
2993
3022
|
/** {zh}
|
|
2994
3023
|
* @hidden
|
|
3024
|
+
* @solution 请重试操作,如仍未解决,请联系[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
|
|
2995
3025
|
*/
|
|
2996
3026
|
/** {en}
|
|
2997
3027
|
* @hidden
|
|
3028
|
+
* @solution Please retry the operation. If the issue persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2998
3029
|
*/
|
|
2999
3030
|
UNKNOWN = "UNKNOWN"
|
|
3000
3031
|
}
|
|
@@ -3764,8 +3795,7 @@ declare namespace strategy {
|
|
|
3764
3795
|
* @brief 缓存部分进度条底色。
|
|
3765
3796
|
*/
|
|
3766
3797
|
/** {en}
|
|
3767
|
-
* @brief
|
|
3768
|
-
* @brief The background color of the progress bar for the cached portion of video playback.
|
|
3798
|
+
* @brief The background color of the buffered portion of the progress bar.
|
|
3769
3799
|
*/
|
|
3770
3800
|
cachedColor?: string;
|
|
3771
3801
|
/** {zh}
|
|
@@ -4150,6 +4180,12 @@ declare namespace error {
|
|
|
4150
4180
|
*/
|
|
4151
4181
|
Warn = "Warn"
|
|
4152
4182
|
}
|
|
4183
|
+
/** {zh}
|
|
4184
|
+
* @id ErrorCodeRaw
|
|
4185
|
+
*/
|
|
4186
|
+
/** {en}
|
|
4187
|
+
* @id ErrorCodeRaw
|
|
4188
|
+
*/
|
|
4153
4189
|
enum ErrorCode {
|
|
4154
4190
|
/** {zh}
|
|
4155
4191
|
* @brief 视频解析错误
|
|
@@ -4157,7 +4193,7 @@ declare namespace error {
|
|
|
4157
4193
|
*/
|
|
4158
4194
|
/** {en}
|
|
4159
4195
|
* @brief Video parsing error.
|
|
4160
|
-
* @solution Please contact
|
|
4196
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4161
4197
|
*/
|
|
4162
4198
|
MANIFEST_HLS_ERROR = 1100,
|
|
4163
4199
|
/** {zh}
|
|
@@ -4166,7 +4202,7 @@ declare namespace error {
|
|
|
4166
4202
|
*/
|
|
4167
4203
|
/** {en}
|
|
4168
4204
|
* @brief Video parsing error.
|
|
4169
|
-
* @solution Please contact
|
|
4205
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4170
4206
|
*/
|
|
4171
4207
|
MANIFEST_DASH_ERROR = 1200,
|
|
4172
4208
|
/** {zh}
|
|
@@ -4220,7 +4256,7 @@ declare namespace error {
|
|
|
4220
4256
|
*/
|
|
4221
4257
|
/** {en}
|
|
4222
4258
|
* @brief Video parsing error.
|
|
4223
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4259
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4224
4260
|
*/
|
|
4225
4261
|
DEMUX_FLV_ERROR = 3100,
|
|
4226
4262
|
/** {zh}
|
|
@@ -4229,7 +4265,7 @@ declare namespace error {
|
|
|
4229
4265
|
*/
|
|
4230
4266
|
/** {en}
|
|
4231
4267
|
* @brief Video parsing error.
|
|
4232
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4268
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4233
4269
|
*/
|
|
4234
4270
|
DEMUX_HLS_ERROR = 3200,
|
|
4235
4271
|
/** {zh}
|
|
@@ -4239,8 +4275,7 @@ declare namespace error {
|
|
|
4239
4275
|
*/
|
|
4240
4276
|
/** {en}
|
|
4241
4277
|
* @brief Video parsing error.
|
|
4242
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4243
|
-
*
|
|
4278
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4244
4279
|
*/
|
|
4245
4280
|
DEMUX_MP4_ERROR = 3300,
|
|
4246
4281
|
/** {zh}
|
|
@@ -4250,8 +4285,7 @@ declare namespace error {
|
|
|
4250
4285
|
*/
|
|
4251
4286
|
/** {en}
|
|
4252
4287
|
* @brief Video parsing error.
|
|
4253
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4254
|
-
*
|
|
4288
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4255
4289
|
*/
|
|
4256
4290
|
DEMUX_FMP4_ERROR = 3400,
|
|
4257
4291
|
/** {zh}
|
|
@@ -4261,8 +4295,7 @@ declare namespace error {
|
|
|
4261
4295
|
*/
|
|
4262
4296
|
/** {en}
|
|
4263
4297
|
* @brief Video parsing error.
|
|
4264
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4265
|
-
*
|
|
4298
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4266
4299
|
*/
|
|
4267
4300
|
DEMUX_SIDX_ERROR = 3410,
|
|
4268
4301
|
/** {zh}
|
|
@@ -4272,8 +4305,7 @@ declare namespace error {
|
|
|
4272
4305
|
*/
|
|
4273
4306
|
/** {en}
|
|
4274
4307
|
* @brief Video parsing error.
|
|
4275
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4276
|
-
*
|
|
4308
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4277
4309
|
*/
|
|
4278
4310
|
REMUX_FMP4_ERROR = 4100,
|
|
4279
4311
|
/** {zh}
|
|
@@ -4283,8 +4315,7 @@ declare namespace error {
|
|
|
4283
4315
|
*/
|
|
4284
4316
|
/** {en}
|
|
4285
4317
|
* @brief Video parsing error.
|
|
4286
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4287
|
-
*
|
|
4318
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4288
4319
|
*/
|
|
4289
4320
|
REMUX_MP4_ERROR = 4200,
|
|
4290
4321
|
/** {zh}
|
|
@@ -4314,10 +4345,9 @@ declare namespace error {
|
|
|
4314
4345
|
*/
|
|
4315
4346
|
/** {en}
|
|
4316
4347
|
* @brief An error occurred to the browser while decoding the media resources.
|
|
4317
|
-
* @solution
|
|
4318
|
-
*
|
|
4319
|
-
*
|
|
4320
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
4348
|
+
* @solution 1. Check whether there is any issue with the original video.
|
|
4349
|
+
* 2. Re-transcode the video and play it again.
|
|
4350
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4321
4351
|
*/
|
|
4322
4352
|
MEDIA_ERR_DECODE = 5103,
|
|
4323
4353
|
/** {zh}
|
|
@@ -4329,10 +4359,9 @@ declare namespace error {
|
|
|
4329
4359
|
*/
|
|
4330
4360
|
/** {en}
|
|
4331
4361
|
* @brief The video cannot be loaded due to unsupported video format or server or network issues.
|
|
4332
|
-
* @solution
|
|
4333
|
-
*
|
|
4334
|
-
*
|
|
4335
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
4362
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
4363
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
4364
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4336
4365
|
*/
|
|
4337
4366
|
MEDIA_ERR_SRC_NOT_SUPPORTED = 5104,
|
|
4338
4367
|
/** {zh}
|
|
@@ -4344,10 +4373,9 @@ declare namespace error {
|
|
|
4344
4373
|
*/
|
|
4345
4374
|
/** {en}
|
|
4346
4375
|
* @brief The current browser does not support video decoding.
|
|
4347
|
-
* @solution
|
|
4348
|
-
*
|
|
4349
|
-
*
|
|
4350
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
4376
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
4377
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
4378
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4351
4379
|
*/
|
|
4352
4380
|
MEDIA_ERR_CODEC_NOT_SUPPORTED = 5105,
|
|
4353
4381
|
/** {zh}
|
|
@@ -4365,7 +4393,7 @@ declare namespace error {
|
|
|
4365
4393
|
*/
|
|
4366
4394
|
/** {en}
|
|
4367
4395
|
* @brief A playback issue occurred.
|
|
4368
|
-
* @solution Check the live stream source or contact
|
|
4396
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4369
4397
|
*/
|
|
4370
4398
|
MEDIA_MSE_ADD_SB = 5200,
|
|
4371
4399
|
/** {zh}
|
|
@@ -4374,7 +4402,7 @@ declare namespace error {
|
|
|
4374
4402
|
*/
|
|
4375
4403
|
/** {en}
|
|
4376
4404
|
* @brief A playback issue occurred.
|
|
4377
|
-
* @solution Check the live stream source or contact
|
|
4405
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4378
4406
|
*/
|
|
4379
4407
|
MEDIA_MSE_APPEND_BUFFER = 5201,
|
|
4380
4408
|
/** {zh}
|
|
@@ -4383,7 +4411,7 @@ declare namespace error {
|
|
|
4383
4411
|
*/
|
|
4384
4412
|
/** {en}
|
|
4385
4413
|
* @brief A playback issue occurred.
|
|
4386
|
-
* @solution Check the live stream source or contact
|
|
4414
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4387
4415
|
*/
|
|
4388
4416
|
MEDIA_MSE_OTHER = 5202,
|
|
4389
4417
|
/** {zh}
|
|
@@ -4392,7 +4420,7 @@ declare namespace error {
|
|
|
4392
4420
|
*/
|
|
4393
4421
|
/** {en}
|
|
4394
4422
|
* @brief A playback issue occurred.
|
|
4395
|
-
* @solution Check the live stream source or contact
|
|
4423
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4396
4424
|
*/
|
|
4397
4425
|
MEDIA_MSE_FULL = 5203,
|
|
4398
4426
|
/** {zh}
|
|
@@ -4401,7 +4429,7 @@ declare namespace error {
|
|
|
4401
4429
|
*/
|
|
4402
4430
|
/** {en}
|
|
4403
4431
|
* @brief A playback issue occurred.
|
|
4404
|
-
* @solution Check the live stream source or contact
|
|
4432
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4405
4433
|
*/
|
|
4406
4434
|
MEDIA_MSE_HIJACK = 5204,
|
|
4407
4435
|
/** {zh}
|
|
@@ -4410,25 +4438,29 @@ declare namespace error {
|
|
|
4410
4438
|
*/
|
|
4411
4439
|
/** {en}
|
|
4412
4440
|
* @brief A playback issue occurred.
|
|
4413
|
-
* @solution Check the live stream source or contact
|
|
4441
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4414
4442
|
*/
|
|
4415
4443
|
MEDIA_EME_HIJACK = 5301,
|
|
4416
4444
|
/** {zh}
|
|
4417
4445
|
* @brief DRM 权限校验失败
|
|
4418
4446
|
* @hidden
|
|
4447
|
+
* @solution 请检查权限配置,确保播放权限正确。
|
|
4419
4448
|
*/
|
|
4420
4449
|
/** {en}
|
|
4421
4450
|
* @brief DRM authentication failed.
|
|
4422
4451
|
* @hidden
|
|
4452
|
+
* @solution Verify the authentication and ensure proper playback permissions.
|
|
4423
4453
|
*/
|
|
4424
4454
|
DRM_LICENSE = 7100,
|
|
4425
4455
|
/** {zh}
|
|
4426
4456
|
* @brief DRM 权限校验失败
|
|
4427
4457
|
* @hidden
|
|
4458
|
+
* @solution 请检查自定义 DRM 权限。
|
|
4428
4459
|
*/
|
|
4429
4460
|
/** {en}
|
|
4430
4461
|
* @brief DRM authentication failed.
|
|
4431
4462
|
* @hidden
|
|
4463
|
+
* @solution Please check the custom DRM authentication.
|
|
4432
4464
|
*/
|
|
4433
4465
|
DRM_CUSTOM_LICENSE = 7200,
|
|
4434
4466
|
/** {zh}
|
|
@@ -4437,7 +4469,7 @@ declare namespace error {
|
|
|
4437
4469
|
*/
|
|
4438
4470
|
/** {en}
|
|
4439
4471
|
* @brief A playback issue occurred.
|
|
4440
|
-
* @solution Check the live stream source or contact
|
|
4472
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4441
4473
|
*/
|
|
4442
4474
|
OTHER = 8000,
|
|
4443
4475
|
/** {zh}
|
|
@@ -4446,7 +4478,7 @@ declare namespace error {
|
|
|
4446
4478
|
*/
|
|
4447
4479
|
/** {en}
|
|
4448
4480
|
* @brief A playback issue occurred.
|
|
4449
|
-
* @solution Check the live stream source or contact
|
|
4481
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4450
4482
|
*/
|
|
4451
4483
|
RUNTIME_NO_CANPLAY_ERROR = 9001,
|
|
4452
4484
|
/** {zh}
|
|
@@ -4455,7 +4487,7 @@ declare namespace error {
|
|
|
4455
4487
|
*/
|
|
4456
4488
|
/** {en}
|
|
4457
4489
|
* @brief A playback issue occurred.
|
|
4458
|
-
* @solution Check the live stream source or contact
|
|
4490
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4459
4491
|
*/
|
|
4460
4492
|
RUNTIME_BUFFERBREAK_ERROR = 9002,
|
|
4461
4493
|
/** {zh}
|
|
@@ -4464,7 +4496,7 @@ declare namespace error {
|
|
|
4464
4496
|
*/
|
|
4465
4497
|
/** {en}
|
|
4466
4498
|
* @brief A playback issue occurred.
|
|
4467
|
-
* @solution Check the live stream source or contact
|
|
4499
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4468
4500
|
*/
|
|
4469
4501
|
RUNTIME_BWAITING_TIMEOUT_ERROR = 9002,
|
|
4470
4502
|
// veplayer 报错
|
|
@@ -4481,9 +4513,11 @@ declare namespace error {
|
|
|
4481
4513
|
MODULE_LOAD_ERROR = 110,
|
|
4482
4514
|
/** {zh}
|
|
4483
4515
|
* @hidden
|
|
4516
|
+
* @solution 请重试操作,如仍未解决,请联系[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
|
|
4484
4517
|
*/
|
|
4485
4518
|
/** {en}
|
|
4486
4519
|
* @hidden
|
|
4520
|
+
* @solution Please retry the operation. If the issue persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4487
4521
|
*/
|
|
4488
4522
|
UNKNOWN = "UNKNOWN"
|
|
4489
4523
|
}
|