@volcengine/veplayer 2.7.1-rc.1 → 2.7.1-rc.3
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 +35 -5
- package/esm/veplayer.biz.live.production.js +1 -1
- package/esm/veplayer.d.ts +531 -212
- package/esm/veplayer.development.js +42 -12
- package/esm/veplayer.live.d.ts +531 -212
- package/esm/veplayer.live.development.js +42 -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 +6 -6
- package/esm/veplayer.vod.production.js +2 -2
- package/package.json +1 -1
- package/umd/index.d.ts +155 -121
- package/umd/veplayer.biz.live.development.js +35 -5
- package/umd/veplayer.biz.live.production.js +1 -1
- package/umd/veplayer.d.ts +531 -212
- package/umd/veplayer.development.js +42 -12
- package/umd/veplayer.live.d.ts +531 -212
- package/umd/veplayer.live.development.js +42 -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 +6 -6
- package/umd/veplayer.vod.production.js +1 -1
- package/veplayer.d.ts +531 -212
- package/veplayer.live.d.ts +531 -212
- package/veplayer.vod.d.ts +155 -121
package/esm/index.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
|
}
|
|
@@ -1487,8 +1499,7 @@ interface CommonStyle {
|
|
|
1487
1499
|
* @brief 缓存部分进度条底色。
|
|
1488
1500
|
*/
|
|
1489
1501
|
/** {en}
|
|
1490
|
-
* @brief
|
|
1491
|
-
* @brief The background color of the progress bar for the cached portion of video playback.
|
|
1502
|
+
* @brief The background color of the buffered portion of the progress bar.
|
|
1492
1503
|
*/
|
|
1493
1504
|
cachedColor?: string;
|
|
1494
1505
|
/** {zh}
|
|
@@ -1869,11 +1880,15 @@ declare class VePlayerBase {
|
|
|
1869
1880
|
*/
|
|
1870
1881
|
fallbackToFirstDefinition?: boolean;
|
|
1871
1882
|
/** {zh}
|
|
1872
|
-
* @brief
|
|
1883
|
+
* @brief 是否启用无缝切换。
|
|
1884
|
+
* - `true`:启用无缝切换,保证播放过程中不中断。
|
|
1885
|
+
* - `false`:不启用无缝切换,可能会出现播放中断。
|
|
1873
1886
|
* @default false
|
|
1874
1887
|
*/
|
|
1875
1888
|
/** {en}
|
|
1876
|
-
* @brief Whether seamless switching
|
|
1889
|
+
* @brief Whether seamless switching is enabled.
|
|
1890
|
+
* - `true`: Enables seamless switching, ensuring no interruption during playback.
|
|
1891
|
+
* - `false`: Disables seamless switching, which may cause interruptions during playback.
|
|
1877
1892
|
*/
|
|
1878
1893
|
seamless?: boolean;
|
|
1879
1894
|
}): Promise<ExposedDefinition>;
|
|
@@ -1958,7 +1973,7 @@ declare class VePlayerBase {
|
|
|
1958
1973
|
*/
|
|
1959
1974
|
on(event: string, callback: (data?: any) => any): void;
|
|
1960
1975
|
/** {zh}
|
|
1961
|
-
* @brief
|
|
1976
|
+
* @brief 调用此方法开始播放。
|
|
1962
1977
|
*/
|
|
1963
1978
|
/** {en}
|
|
1964
1979
|
* @brief Starts playback.
|
|
@@ -2002,20 +2017,24 @@ declare class VePlayerBase {
|
|
|
2002
2017
|
*/
|
|
2003
2018
|
focus(data?: {
|
|
2004
2019
|
/** {zh}
|
|
2005
|
-
* @brief
|
|
2020
|
+
* @brief 是否需要自动失焦。
|
|
2021
|
+
* - `true`:启用自动失焦,经过指定的延迟时间后,自动调用 `blur()` 方法进行失焦。
|
|
2022
|
+
* - `false`:禁用自动失焦,不会在延迟时间后自动调用 `blur()` 方法。
|
|
2006
2023
|
* @default true
|
|
2007
2024
|
*/
|
|
2008
2025
|
/** {en}
|
|
2009
|
-
* @brief Whether
|
|
2026
|
+
* @brief Whether auto-blur is enabled.
|
|
2027
|
+
* - `true`: Enables auto-blur, meaning `blur()` will be automatically called after the specified delay time.
|
|
2028
|
+
* - `false`: Disables auto-blur, meaning `blur()` will not be automatically called after the delay.
|
|
2010
2029
|
* @default true
|
|
2011
2030
|
*/
|
|
2012
2031
|
autoHide?: boolean;
|
|
2013
2032
|
/** {zh}
|
|
2014
|
-
* @brief
|
|
2033
|
+
* @brief 自动失焦的延迟时间,单位为毫秒。在 `autoHide` 为 `true` 时生效。
|
|
2015
2034
|
* @default 3000
|
|
2016
2035
|
*/
|
|
2017
2036
|
/** {en}
|
|
2018
|
-
* @brief
|
|
2037
|
+
* @brief Delay duration (in milliseconds) before auto-blur is triggered. This takes effect only when `autoHide` is set to `true`.
|
|
2019
2038
|
* @default 3000
|
|
2020
2039
|
*/
|
|
2021
2040
|
delay?: number;
|
|
@@ -2030,11 +2049,11 @@ declare class VePlayerBase {
|
|
|
2030
2049
|
*/
|
|
2031
2050
|
blur(data?: {
|
|
2032
2051
|
/** {zh}
|
|
2033
|
-
* @brief
|
|
2052
|
+
* @brief 播放器在暂停时是否保留焦点状态。默认值为 `true`,即播放器暂停时不会自动失焦。
|
|
2034
2053
|
* @default false
|
|
2035
2054
|
*/
|
|
2036
2055
|
/** {en}
|
|
2037
|
-
* @brief Whether
|
|
2056
|
+
* @brief Whether the player retains focus when paused. The default is `true`, meaning the player will not automatically lose focus during pause.
|
|
2038
2057
|
* @default false
|
|
2039
2058
|
*/
|
|
2040
2059
|
ignorePaused?: boolean;
|
|
@@ -2429,6 +2448,14 @@ declare namespace strategy {
|
|
|
2429
2448
|
*
|
|
2430
2449
|
*/
|
|
2431
2450
|
fallbackUrls?: string[];
|
|
2451
|
+
/** {zh}
|
|
2452
|
+
* @hidden
|
|
2453
|
+
* @brief 自定义播放地址类型标识。可用于区分不同来源的播放地址。
|
|
2454
|
+
*/
|
|
2455
|
+
/** {en}
|
|
2456
|
+
* @hidden
|
|
2457
|
+
* @brief Custom identifier for the playback address type. Can be used to distinguish different stream sources.
|
|
2458
|
+
*/
|
|
2432
2459
|
type?: string;
|
|
2433
2460
|
}
|
|
2434
2461
|
/** {zh}
|
|
@@ -2688,6 +2715,12 @@ declare namespace strategy {
|
|
|
2688
2715
|
*/
|
|
2689
2716
|
Warn = "Warn"
|
|
2690
2717
|
}
|
|
2718
|
+
/** {zh}
|
|
2719
|
+
* @id ErrorCodeRaw
|
|
2720
|
+
*/
|
|
2721
|
+
/** {en}
|
|
2722
|
+
* @id ErrorCodeRaw
|
|
2723
|
+
*/
|
|
2691
2724
|
enum ErrorCode {
|
|
2692
2725
|
/** {zh}
|
|
2693
2726
|
* @brief 视频解析错误
|
|
@@ -2695,7 +2728,7 @@ declare namespace strategy {
|
|
|
2695
2728
|
*/
|
|
2696
2729
|
/** {en}
|
|
2697
2730
|
* @brief Video parsing error.
|
|
2698
|
-
* @solution Please contact
|
|
2731
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2699
2732
|
*/
|
|
2700
2733
|
MANIFEST_HLS_ERROR = 1100,
|
|
2701
2734
|
/** {zh}
|
|
@@ -2704,7 +2737,7 @@ declare namespace strategy {
|
|
|
2704
2737
|
*/
|
|
2705
2738
|
/** {en}
|
|
2706
2739
|
* @brief Video parsing error.
|
|
2707
|
-
* @solution Please contact
|
|
2740
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2708
2741
|
*/
|
|
2709
2742
|
MANIFEST_DASH_ERROR = 1200,
|
|
2710
2743
|
/** {zh}
|
|
@@ -2758,7 +2791,7 @@ declare namespace strategy {
|
|
|
2758
2791
|
*/
|
|
2759
2792
|
/** {en}
|
|
2760
2793
|
* @brief Video parsing error.
|
|
2761
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2794
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2762
2795
|
*/
|
|
2763
2796
|
DEMUX_FLV_ERROR = 3100,
|
|
2764
2797
|
/** {zh}
|
|
@@ -2767,7 +2800,7 @@ declare namespace strategy {
|
|
|
2767
2800
|
*/
|
|
2768
2801
|
/** {en}
|
|
2769
2802
|
* @brief Video parsing error.
|
|
2770
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2803
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2771
2804
|
*/
|
|
2772
2805
|
DEMUX_HLS_ERROR = 3200,
|
|
2773
2806
|
/** {zh}
|
|
@@ -2777,8 +2810,7 @@ declare namespace strategy {
|
|
|
2777
2810
|
*/
|
|
2778
2811
|
/** {en}
|
|
2779
2812
|
* @brief Video parsing error.
|
|
2780
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2781
|
-
*
|
|
2813
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2782
2814
|
*/
|
|
2783
2815
|
DEMUX_MP4_ERROR = 3300,
|
|
2784
2816
|
/** {zh}
|
|
@@ -2788,8 +2820,7 @@ declare namespace strategy {
|
|
|
2788
2820
|
*/
|
|
2789
2821
|
/** {en}
|
|
2790
2822
|
* @brief Video parsing error.
|
|
2791
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2792
|
-
*
|
|
2823
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2793
2824
|
*/
|
|
2794
2825
|
DEMUX_FMP4_ERROR = 3400,
|
|
2795
2826
|
/** {zh}
|
|
@@ -2799,8 +2830,7 @@ declare namespace strategy {
|
|
|
2799
2830
|
*/
|
|
2800
2831
|
/** {en}
|
|
2801
2832
|
* @brief Video parsing error.
|
|
2802
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2803
|
-
*
|
|
2833
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2804
2834
|
*/
|
|
2805
2835
|
DEMUX_SIDX_ERROR = 3410,
|
|
2806
2836
|
/** {zh}
|
|
@@ -2810,8 +2840,7 @@ declare namespace strategy {
|
|
|
2810
2840
|
*/
|
|
2811
2841
|
/** {en}
|
|
2812
2842
|
* @brief Video parsing error.
|
|
2813
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2814
|
-
*
|
|
2843
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2815
2844
|
*/
|
|
2816
2845
|
REMUX_FMP4_ERROR = 4100,
|
|
2817
2846
|
/** {zh}
|
|
@@ -2821,8 +2850,7 @@ declare namespace strategy {
|
|
|
2821
2850
|
*/
|
|
2822
2851
|
/** {en}
|
|
2823
2852
|
* @brief Video parsing error.
|
|
2824
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
2825
|
-
*
|
|
2853
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2826
2854
|
*/
|
|
2827
2855
|
REMUX_MP4_ERROR = 4200,
|
|
2828
2856
|
/** {zh}
|
|
@@ -2852,10 +2880,9 @@ declare namespace strategy {
|
|
|
2852
2880
|
*/
|
|
2853
2881
|
/** {en}
|
|
2854
2882
|
* @brief An error occurred to the browser while decoding the media resources.
|
|
2855
|
-
* @solution
|
|
2856
|
-
*
|
|
2857
|
-
*
|
|
2858
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
2883
|
+
* @solution 1. Check whether there is any issue with the original video.
|
|
2884
|
+
* 2. Re-transcode the video and play it again.
|
|
2885
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2859
2886
|
*/
|
|
2860
2887
|
MEDIA_ERR_DECODE = 5103,
|
|
2861
2888
|
/** {zh}
|
|
@@ -2867,10 +2894,9 @@ declare namespace strategy {
|
|
|
2867
2894
|
*/
|
|
2868
2895
|
/** {en}
|
|
2869
2896
|
* @brief The video cannot be loaded due to unsupported video format or server or network issues.
|
|
2870
|
-
* @solution
|
|
2871
|
-
*
|
|
2872
|
-
*
|
|
2873
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
2897
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
2898
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
2899
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2874
2900
|
*/
|
|
2875
2901
|
MEDIA_ERR_SRC_NOT_SUPPORTED = 5104,
|
|
2876
2902
|
/** {zh}
|
|
@@ -2882,10 +2908,9 @@ declare namespace strategy {
|
|
|
2882
2908
|
*/
|
|
2883
2909
|
/** {en}
|
|
2884
2910
|
* @brief The current browser does not support video decoding.
|
|
2885
|
-
* @solution
|
|
2886
|
-
*
|
|
2887
|
-
*
|
|
2888
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
2911
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
2912
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
2913
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2889
2914
|
*/
|
|
2890
2915
|
MEDIA_ERR_CODEC_NOT_SUPPORTED = 5105,
|
|
2891
2916
|
/** {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_ADD_SB = 5200,
|
|
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_APPEND_BUFFER = 5201,
|
|
2918
2943
|
/** {zh}
|
|
@@ -2921,7 +2946,7 @@ 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_MSE_OTHER = 5202,
|
|
2927
2952
|
/** {zh}
|
|
@@ -2930,7 +2955,7 @@ declare namespace strategy {
|
|
|
2930
2955
|
*/
|
|
2931
2956
|
/** {en}
|
|
2932
2957
|
* @brief A playback issue occurred.
|
|
2933
|
-
* @solution Check the live stream source or contact
|
|
2958
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2934
2959
|
*/
|
|
2935
2960
|
MEDIA_MSE_FULL = 5203,
|
|
2936
2961
|
/** {zh}
|
|
@@ -2939,7 +2964,7 @@ declare namespace strategy {
|
|
|
2939
2964
|
*/
|
|
2940
2965
|
/** {en}
|
|
2941
2966
|
* @brief A playback issue occurred.
|
|
2942
|
-
* @solution Check the live stream source or contact
|
|
2967
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2943
2968
|
*/
|
|
2944
2969
|
MEDIA_MSE_HIJACK = 5204,
|
|
2945
2970
|
/** {zh}
|
|
@@ -2948,25 +2973,29 @@ declare namespace strategy {
|
|
|
2948
2973
|
*/
|
|
2949
2974
|
/** {en}
|
|
2950
2975
|
* @brief A playback issue occurred.
|
|
2951
|
-
* @solution Check the live stream source or contact
|
|
2976
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2952
2977
|
*/
|
|
2953
2978
|
MEDIA_EME_HIJACK = 5301,
|
|
2954
2979
|
/** {zh}
|
|
2955
2980
|
* @brief DRM 权限校验失败
|
|
2956
2981
|
* @hidden
|
|
2982
|
+
* @solution 请检查权限配置,确保播放权限正确。
|
|
2957
2983
|
*/
|
|
2958
2984
|
/** {en}
|
|
2959
2985
|
* @brief DRM authentication failed.
|
|
2960
2986
|
* @hidden
|
|
2987
|
+
* @solution Verify the authentication and ensure proper playback permissions.
|
|
2961
2988
|
*/
|
|
2962
2989
|
DRM_LICENSE = 7100,
|
|
2963
2990
|
/** {zh}
|
|
2964
2991
|
* @brief DRM 权限校验失败
|
|
2965
2992
|
* @hidden
|
|
2993
|
+
* @solution 请检查自定义 DRM 权限。
|
|
2966
2994
|
*/
|
|
2967
2995
|
/** {en}
|
|
2968
2996
|
* @brief DRM authentication failed.
|
|
2969
2997
|
* @hidden
|
|
2998
|
+
* @solution Please check the custom DRM authentication.
|
|
2970
2999
|
*/
|
|
2971
3000
|
DRM_CUSTOM_LICENSE = 7200,
|
|
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
|
OTHER = 8000,
|
|
2981
3010
|
/** {zh}
|
|
@@ -2984,7 +3013,7 @@ declare namespace strategy {
|
|
|
2984
3013
|
*/
|
|
2985
3014
|
/** {en}
|
|
2986
3015
|
* @brief A playback issue occurred.
|
|
2987
|
-
* @solution Check the live stream source or contact
|
|
3016
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2988
3017
|
*/
|
|
2989
3018
|
RUNTIME_NO_CANPLAY_ERROR = 9001,
|
|
2990
3019
|
/** {zh}
|
|
@@ -2993,7 +3022,7 @@ declare namespace strategy {
|
|
|
2993
3022
|
*/
|
|
2994
3023
|
/** {en}
|
|
2995
3024
|
* @brief A playback issue occurred.
|
|
2996
|
-
* @solution Check the live stream source or contact
|
|
3025
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
2997
3026
|
*/
|
|
2998
3027
|
RUNTIME_BUFFERBREAK_ERROR = 9002,
|
|
2999
3028
|
/** {zh}
|
|
@@ -3002,7 +3031,7 @@ declare namespace strategy {
|
|
|
3002
3031
|
*/
|
|
3003
3032
|
/** {en}
|
|
3004
3033
|
* @brief A playback issue occurred.
|
|
3005
|
-
* @solution Check the live stream source or contact
|
|
3034
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
3006
3035
|
*/
|
|
3007
3036
|
RUNTIME_BWAITING_TIMEOUT_ERROR = 9002,
|
|
3008
3037
|
// veplayer 报错
|
|
@@ -3019,9 +3048,11 @@ declare namespace strategy {
|
|
|
3019
3048
|
MODULE_LOAD_ERROR = 110,
|
|
3020
3049
|
/** {zh}
|
|
3021
3050
|
* @hidden
|
|
3051
|
+
* @solution 请重试操作,如仍未解决,请联系[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
|
|
3022
3052
|
*/
|
|
3023
3053
|
/** {en}
|
|
3024
3054
|
* @hidden
|
|
3055
|
+
* @solution Please retry the operation. If the issue persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
3025
3056
|
*/
|
|
3026
3057
|
UNKNOWN = "UNKNOWN"
|
|
3027
3058
|
}
|
|
@@ -3822,8 +3853,7 @@ declare namespace strategy {
|
|
|
3822
3853
|
* @brief 缓存部分进度条底色。
|
|
3823
3854
|
*/
|
|
3824
3855
|
/** {en}
|
|
3825
|
-
* @brief
|
|
3826
|
-
* @brief The background color of the progress bar for the cached portion of video playback.
|
|
3856
|
+
* @brief The background color of the buffered portion of the progress bar.
|
|
3827
3857
|
*/
|
|
3828
3858
|
cachedColor?: string;
|
|
3829
3859
|
/** {zh}
|
|
@@ -4202,6 +4232,12 @@ declare namespace error {
|
|
|
4202
4232
|
*/
|
|
4203
4233
|
Warn = "Warn"
|
|
4204
4234
|
}
|
|
4235
|
+
/** {zh}
|
|
4236
|
+
* @id ErrorCodeRaw
|
|
4237
|
+
*/
|
|
4238
|
+
/** {en}
|
|
4239
|
+
* @id ErrorCodeRaw
|
|
4240
|
+
*/
|
|
4205
4241
|
enum ErrorCode {
|
|
4206
4242
|
/** {zh}
|
|
4207
4243
|
* @brief 视频解析错误
|
|
@@ -4209,7 +4245,7 @@ declare namespace error {
|
|
|
4209
4245
|
*/
|
|
4210
4246
|
/** {en}
|
|
4211
4247
|
* @brief Video parsing error.
|
|
4212
|
-
* @solution Please contact
|
|
4248
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4213
4249
|
*/
|
|
4214
4250
|
MANIFEST_HLS_ERROR = 1100,
|
|
4215
4251
|
/** {zh}
|
|
@@ -4218,7 +4254,7 @@ declare namespace error {
|
|
|
4218
4254
|
*/
|
|
4219
4255
|
/** {en}
|
|
4220
4256
|
* @brief Video parsing error.
|
|
4221
|
-
* @solution Please contact
|
|
4257
|
+
* @solution Please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4222
4258
|
*/
|
|
4223
4259
|
MANIFEST_DASH_ERROR = 1200,
|
|
4224
4260
|
/** {zh}
|
|
@@ -4272,7 +4308,7 @@ declare namespace error {
|
|
|
4272
4308
|
*/
|
|
4273
4309
|
/** {en}
|
|
4274
4310
|
* @brief Video parsing error.
|
|
4275
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4311
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4276
4312
|
*/
|
|
4277
4313
|
DEMUX_FLV_ERROR = 3100,
|
|
4278
4314
|
/** {zh}
|
|
@@ -4281,7 +4317,7 @@ declare namespace error {
|
|
|
4281
4317
|
*/
|
|
4282
4318
|
/** {en}
|
|
4283
4319
|
* @brief Video parsing error.
|
|
4284
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4320
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4285
4321
|
*/
|
|
4286
4322
|
DEMUX_HLS_ERROR = 3200,
|
|
4287
4323
|
/** {zh}
|
|
@@ -4291,8 +4327,7 @@ declare namespace error {
|
|
|
4291
4327
|
*/
|
|
4292
4328
|
/** {en}
|
|
4293
4329
|
* @brief Video parsing error.
|
|
4294
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4295
|
-
*
|
|
4330
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4296
4331
|
*/
|
|
4297
4332
|
DEMUX_MP4_ERROR = 3300,
|
|
4298
4333
|
/** {zh}
|
|
@@ -4302,8 +4337,7 @@ declare namespace error {
|
|
|
4302
4337
|
*/
|
|
4303
4338
|
/** {en}
|
|
4304
4339
|
* @brief Video parsing error.
|
|
4305
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4306
|
-
*
|
|
4340
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4307
4341
|
*/
|
|
4308
4342
|
DEMUX_FMP4_ERROR = 3400,
|
|
4309
4343
|
/** {zh}
|
|
@@ -4313,8 +4347,7 @@ declare namespace error {
|
|
|
4313
4347
|
*/
|
|
4314
4348
|
/** {en}
|
|
4315
4349
|
* @brief Video parsing error.
|
|
4316
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4317
|
-
*
|
|
4350
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4318
4351
|
*/
|
|
4319
4352
|
DEMUX_SIDX_ERROR = 3410,
|
|
4320
4353
|
/** {zh}
|
|
@@ -4324,8 +4357,7 @@ declare namespace error {
|
|
|
4324
4357
|
*/
|
|
4325
4358
|
/** {en}
|
|
4326
4359
|
* @brief Video parsing error.
|
|
4327
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4328
|
-
*
|
|
4360
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4329
4361
|
*/
|
|
4330
4362
|
REMUX_FMP4_ERROR = 4100,
|
|
4331
4363
|
/** {zh}
|
|
@@ -4335,8 +4367,7 @@ declare namespace error {
|
|
|
4335
4367
|
*/
|
|
4336
4368
|
/** {en}
|
|
4337
4369
|
* @brief Video parsing error.
|
|
4338
|
-
* @solution Check whether the pull stream address is valid, or contact
|
|
4339
|
-
*
|
|
4370
|
+
* @solution Check whether the pull stream address is valid, or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4340
4371
|
*/
|
|
4341
4372
|
REMUX_MP4_ERROR = 4200,
|
|
4342
4373
|
/** {zh}
|
|
@@ -4366,10 +4397,9 @@ declare namespace error {
|
|
|
4366
4397
|
*/
|
|
4367
4398
|
/** {en}
|
|
4368
4399
|
* @brief An error occurred to the browser while decoding the media resources.
|
|
4369
|
-
* @solution
|
|
4370
|
-
*
|
|
4371
|
-
*
|
|
4372
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
4400
|
+
* @solution 1. Check whether there is any issue with the original video.
|
|
4401
|
+
* 2. Re-transcode the video and play it again.
|
|
4402
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4373
4403
|
*/
|
|
4374
4404
|
MEDIA_ERR_DECODE = 5103,
|
|
4375
4405
|
/** {zh}
|
|
@@ -4381,10 +4411,9 @@ declare namespace error {
|
|
|
4381
4411
|
*/
|
|
4382
4412
|
/** {en}
|
|
4383
4413
|
* @brief The video cannot be loaded due to unsupported video format or server or network issues.
|
|
4384
|
-
* @solution
|
|
4385
|
-
*
|
|
4386
|
-
*
|
|
4387
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
4414
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
4415
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
4416
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4388
4417
|
*/
|
|
4389
4418
|
MEDIA_ERR_SRC_NOT_SUPPORTED = 5104,
|
|
4390
4419
|
/** {zh}
|
|
@@ -4396,10 +4425,9 @@ declare namespace error {
|
|
|
4396
4425
|
*/
|
|
4397
4426
|
/** {en}
|
|
4398
4427
|
* @brief The current browser does not support video decoding.
|
|
4399
|
-
* @solution
|
|
4400
|
-
*
|
|
4401
|
-
*
|
|
4402
|
-
* 3. If the error persists, please contact your [technical support](https://www.byteplus.com/en/support).
|
|
4428
|
+
* @solution 1. Check whether there is any issue with the browser's request.
|
|
4429
|
+
* 2. Check whether the browser and the current page support the video format.
|
|
4430
|
+
* 3. If the error persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4403
4431
|
*/
|
|
4404
4432
|
MEDIA_ERR_CODEC_NOT_SUPPORTED = 5105,
|
|
4405
4433
|
/** {zh}
|
|
@@ -4417,7 +4445,7 @@ declare namespace error {
|
|
|
4417
4445
|
*/
|
|
4418
4446
|
/** {en}
|
|
4419
4447
|
* @brief A playback issue occurred.
|
|
4420
|
-
* @solution Check the live stream source or contact
|
|
4448
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4421
4449
|
*/
|
|
4422
4450
|
MEDIA_MSE_ADD_SB = 5200,
|
|
4423
4451
|
/** {zh}
|
|
@@ -4426,7 +4454,7 @@ declare namespace error {
|
|
|
4426
4454
|
*/
|
|
4427
4455
|
/** {en}
|
|
4428
4456
|
* @brief A playback issue occurred.
|
|
4429
|
-
* @solution Check the live stream source or contact
|
|
4457
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4430
4458
|
*/
|
|
4431
4459
|
MEDIA_MSE_APPEND_BUFFER = 5201,
|
|
4432
4460
|
/** {zh}
|
|
@@ -4435,7 +4463,7 @@ declare namespace error {
|
|
|
4435
4463
|
*/
|
|
4436
4464
|
/** {en}
|
|
4437
4465
|
* @brief A playback issue occurred.
|
|
4438
|
-
* @solution Check the live stream source or contact
|
|
4466
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4439
4467
|
*/
|
|
4440
4468
|
MEDIA_MSE_OTHER = 5202,
|
|
4441
4469
|
/** {zh}
|
|
@@ -4444,7 +4472,7 @@ declare namespace error {
|
|
|
4444
4472
|
*/
|
|
4445
4473
|
/** {en}
|
|
4446
4474
|
* @brief A playback issue occurred.
|
|
4447
|
-
* @solution Check the live stream source or contact
|
|
4475
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4448
4476
|
*/
|
|
4449
4477
|
MEDIA_MSE_FULL = 5203,
|
|
4450
4478
|
/** {zh}
|
|
@@ -4453,7 +4481,7 @@ declare namespace error {
|
|
|
4453
4481
|
*/
|
|
4454
4482
|
/** {en}
|
|
4455
4483
|
* @brief A playback issue occurred.
|
|
4456
|
-
* @solution Check the live stream source or contact
|
|
4484
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4457
4485
|
*/
|
|
4458
4486
|
MEDIA_MSE_HIJACK = 5204,
|
|
4459
4487
|
/** {zh}
|
|
@@ -4462,25 +4490,29 @@ declare namespace error {
|
|
|
4462
4490
|
*/
|
|
4463
4491
|
/** {en}
|
|
4464
4492
|
* @brief A playback issue occurred.
|
|
4465
|
-
* @solution Check the live stream source or contact
|
|
4493
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4466
4494
|
*/
|
|
4467
4495
|
MEDIA_EME_HIJACK = 5301,
|
|
4468
4496
|
/** {zh}
|
|
4469
4497
|
* @brief DRM 权限校验失败
|
|
4470
4498
|
* @hidden
|
|
4499
|
+
* @solution 请检查权限配置,确保播放权限正确。
|
|
4471
4500
|
*/
|
|
4472
4501
|
/** {en}
|
|
4473
4502
|
* @brief DRM authentication failed.
|
|
4474
4503
|
* @hidden
|
|
4504
|
+
* @solution Verify the authentication and ensure proper playback permissions.
|
|
4475
4505
|
*/
|
|
4476
4506
|
DRM_LICENSE = 7100,
|
|
4477
4507
|
/** {zh}
|
|
4478
4508
|
* @brief DRM 权限校验失败
|
|
4479
4509
|
* @hidden
|
|
4510
|
+
* @solution 请检查自定义 DRM 权限。
|
|
4480
4511
|
*/
|
|
4481
4512
|
/** {en}
|
|
4482
4513
|
* @brief DRM authentication failed.
|
|
4483
4514
|
* @hidden
|
|
4515
|
+
* @solution Please check the custom DRM authentication.
|
|
4484
4516
|
*/
|
|
4485
4517
|
DRM_CUSTOM_LICENSE = 7200,
|
|
4486
4518
|
/** {zh}
|
|
@@ -4489,7 +4521,7 @@ declare namespace error {
|
|
|
4489
4521
|
*/
|
|
4490
4522
|
/** {en}
|
|
4491
4523
|
* @brief A playback issue occurred.
|
|
4492
|
-
* @solution Check the live stream source or contact
|
|
4524
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4493
4525
|
*/
|
|
4494
4526
|
OTHER = 8000,
|
|
4495
4527
|
/** {zh}
|
|
@@ -4498,7 +4530,7 @@ declare namespace error {
|
|
|
4498
4530
|
*/
|
|
4499
4531
|
/** {en}
|
|
4500
4532
|
* @brief A playback issue occurred.
|
|
4501
|
-
* @solution Check the live stream source or contact
|
|
4533
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4502
4534
|
*/
|
|
4503
4535
|
RUNTIME_NO_CANPLAY_ERROR = 9001,
|
|
4504
4536
|
/** {zh}
|
|
@@ -4507,7 +4539,7 @@ declare namespace error {
|
|
|
4507
4539
|
*/
|
|
4508
4540
|
/** {en}
|
|
4509
4541
|
* @brief A playback issue occurred.
|
|
4510
|
-
* @solution Check the live stream source or contact
|
|
4542
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4511
4543
|
*/
|
|
4512
4544
|
RUNTIME_BUFFERBREAK_ERROR = 9002,
|
|
4513
4545
|
/** {zh}
|
|
@@ -4516,7 +4548,7 @@ declare namespace error {
|
|
|
4516
4548
|
*/
|
|
4517
4549
|
/** {en}
|
|
4518
4550
|
* @brief A playback issue occurred.
|
|
4519
|
-
* @solution Check the live stream source or contact
|
|
4551
|
+
* @solution Check the live stream source or [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4520
4552
|
*/
|
|
4521
4553
|
RUNTIME_BWAITING_TIMEOUT_ERROR = 9002,
|
|
4522
4554
|
// veplayer 报错
|
|
@@ -4533,9 +4565,11 @@ declare namespace error {
|
|
|
4533
4565
|
MODULE_LOAD_ERROR = 110,
|
|
4534
4566
|
/** {zh}
|
|
4535
4567
|
* @hidden
|
|
4568
|
+
* @solution 请重试操作,如仍未解决,请联系[技术支持](https://console.volcengine.com/workorder/create?step=2&SubProductID=P00000076)。
|
|
4536
4569
|
*/
|
|
4537
4570
|
/** {en}
|
|
4538
4571
|
* @hidden
|
|
4572
|
+
* @solution Please retry the operation. If the issue persists, please [contact support](https://console.byteplus.com/auth/login?redirectURI=%2Fworkorder%2Fcreate).
|
|
4539
4573
|
*/
|
|
4540
4574
|
UNKNOWN = "UNKNOWN"
|
|
4541
4575
|
}
|