@vtx/player 1.7.13 → 1.7.14
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/README.md +2 -2
- package/lib/api/fetch.js +62 -91
- package/lib/api/fetch.js.map +1 -1
- package/lib/api/index.js +18 -63
- package/lib/api/index.js.map +1 -1
- package/lib/api/types.d.ts +5 -5
- package/lib/bd/PlayerManager.js +38 -68
- package/lib/bd/PlayerManager.js.map +1 -1
- package/lib/bill-player/index.d.ts +1 -1
- package/lib/bill-player/index.js +66 -121
- package/lib/bill-player/index.js.map +1 -1
- package/lib/bill-player/style/css.js +0 -9
- package/lib/bill-player/style/css.js.map +1 -1
- package/lib/bill-player/style/index.js +0 -9
- package/lib/bill-player/style/index.js.map +1 -1
- package/lib/bill-player/style/index.less +297 -297
- package/lib/components/set-tag-video/index.js +6 -34
- package/lib/components/set-tag-video/index.js.map +1 -1
- package/lib/components/set-tag-video/style/css.js.map +1 -1
- package/lib/components/set-tag-video/style/index.js.map +1 -1
- package/lib/components/set-tag-video/style/index.less +125 -125
- package/lib/components/split-screen/index.d.ts +1 -1
- package/lib/components/split-screen/index.js +3 -14
- package/lib/components/split-screen/index.js.map +1 -1
- package/lib/components/split-screen/style/css.js.map +1 -1
- package/lib/components/split-screen/style/index.js.map +1 -1
- package/lib/components/tag-video/index.js +10 -38
- package/lib/components/tag-video/index.js.map +1 -1
- package/lib/components/tag-video/style/css.js.map +1 -1
- package/lib/components/tag-video/style/index.js.map +1 -1
- package/lib/components/tag-video/style/index.less +69 -69
- package/lib/components/video-scale/index.d.ts +1 -1
- package/lib/components/video-scale/index.js +2 -9
- package/lib/components/video-scale/index.js.map +1 -1
- package/lib/components/video-scale/style/css.js.map +1 -1
- package/lib/components/video-scale/style/index.js.map +1 -1
- package/lib/context/index.js +0 -4
- package/lib/context/index.js.map +1 -1
- package/lib/controls/index.d.ts +11 -11
- package/lib/controls/index.js +34 -99
- package/lib/controls/index.js.map +1 -1
- package/lib/controls/style/css.js +0 -5
- package/lib/controls/style/css.js.map +1 -1
- package/lib/controls/style/index.js +0 -5
- package/lib/controls/style/index.js.map +1 -1
- package/lib/controls/style/index.less +188 -188
- package/lib/h264/PlayerManager.js +18 -27
- package/lib/h264/PlayerManager.js.map +1 -1
- package/lib/history-control/index.d.ts +2 -2
- package/lib/history-control/index.js +61 -121
- package/lib/history-control/index.js.map +1 -1
- package/lib/history-control/style/css.js +0 -6
- package/lib/history-control/style/css.js.map +1 -1
- package/lib/history-control/style/index.js +0 -6
- package/lib/history-control/style/index.js.map +1 -1
- package/lib/history-control/style/index.less +252 -252
- package/lib/history-control-v2/components/grid-item/index.js +38 -77
- package/lib/history-control-v2/components/grid-item/index.js.map +1 -1
- package/lib/history-control-v2/components/panel/index.js +44 -114
- package/lib/history-control-v2/components/panel/index.js.map +1 -1
- package/lib/history-control-v2/context.js +0 -2
- package/lib/history-control-v2/context.js.map +1 -1
- package/lib/history-control-v2/index.d.ts +4 -4
- package/lib/history-control-v2/index.js +97 -166
- package/lib/history-control-v2/index.js.map +1 -1
- package/lib/history-control-v2/style/css.js +0 -10
- package/lib/history-control-v2/style/css.js.map +1 -1
- package/lib/history-control-v2/style/index.js +0 -10
- package/lib/history-control-v2/style/index.js.map +1 -1
- package/lib/history-control-v2/style/index.less +437 -437
- package/lib/history-control-v2/utils.js +1 -21
- package/lib/history-control-v2/utils.js.map +1 -1
- package/lib/history-player/index.d.ts +1 -1
- package/lib/history-player/index.js +146 -205
- package/lib/history-player/index.js.map +1 -1
- package/lib/history-player/style/css.js +0 -3
- package/lib/history-player/style/css.js.map +1 -1
- package/lib/history-player/style/index.js +0 -3
- package/lib/history-player/style/index.js.map +1 -1
- package/lib/history-player/style/index.less +102 -102
- package/lib/hooks/useSettings.js +1 -6
- package/lib/hooks/useSettings.js.map +1 -1
- package/lib/icc/PlayerManager.js +26 -57
- package/lib/icc/PlayerManager.js.map +1 -1
- package/lib/icc/api.d.ts +0 -68
- package/lib/icc/api.js +2 -16
- package/lib/icc/api.js.map +1 -1
- package/lib/icons/index.d.ts +36 -36
- package/lib/icons/index.js +23 -171
- package/lib/icons/index.js.map +1 -1
- package/lib/icons/index.less +32 -32
- package/lib/index.js +0 -10
- package/lib/index.js.map +1 -1
- package/lib/live-channel-player/index.d.ts +1 -1
- package/lib/live-channel-player/index.js +31 -67
- package/lib/live-channel-player/index.js.map +1 -1
- package/lib/live-channel-player/style/css.js +0 -1
- package/lib/live-channel-player/style/css.js.map +1 -1
- package/lib/live-channel-player/style/index.js +0 -1
- package/lib/live-channel-player/style/index.js.map +1 -1
- package/lib/live-control/index.d.ts +2 -2
- package/lib/live-control/index.js +35 -86
- package/lib/live-control/index.js.map +1 -1
- package/lib/live-control/style/css.js +0 -4
- package/lib/live-control/style/css.js.map +1 -1
- package/lib/live-control/style/index.js +0 -4
- package/lib/live-control/style/index.js.map +1 -1
- package/lib/live-control/style/index.less +99 -99
- package/lib/live-control-v2/index.d.ts +3 -3
- package/lib/live-control-v2/index.js +108 -141
- package/lib/live-control-v2/index.js.map +1 -1
- package/lib/live-control-v2/style/css.js +0 -7
- package/lib/live-control-v2/style/css.js.map +1 -1
- package/lib/live-control-v2/style/index.js +0 -7
- package/lib/live-control-v2/style/index.js.map +1 -1
- package/lib/live-control-v2/style/index.less +192 -192
- package/lib/live-player/index.js +95 -136
- package/lib/live-player/index.js.map +1 -1
- package/lib/live-player/style/css.js +0 -2
- package/lib/live-player/style/css.js.map +1 -1
- package/lib/live-player/style/index.js +0 -2
- package/lib/live-player/style/index.js.map +1 -1
- package/lib/live-player/style/index.less +75 -75
- package/lib/player/index.d.ts +1 -1
- package/lib/player/index.js +79 -244
- package/lib/player/index.js.map +1 -1
- package/lib/rsl/PlayerManager.js +18 -64
- package/lib/rsl/PlayerManager.js.map +1 -1
- package/lib/typings/@vtx/utils/index.d.ts +28 -28
- package/lib/typings/h5player.d.ts +146 -146
- package/lib/typings/webrtcplayer.d.ts +56 -56
- package/lib/typings/wsplayer.d.ts +99 -99
- package/lib/utils/index.d.ts +1 -1
- package/lib/utils/index.js +12 -91
- package/lib/utils/index.js.map +1 -1
- package/lib/vite-env.d.ts +1 -1
- package/lib/vtxHls/PlayerManager.js +6 -20
- package/lib/vtxHls/PlayerManager.js.map +1 -1
- package/lib/vtxHls/WhepManager.js +9 -72
- package/lib/vtxHls/WhepManager.js.map +1 -1
- package/lib/webrtc/PlayerManager.js +28 -41
- package/lib/webrtc/PlayerManager.js.map +1 -1
- package/package.json +125 -125
package/lib/icons/index.d.ts
CHANGED
|
@@ -9,75 +9,75 @@ interface ActiveIconProps extends IconProps {
|
|
|
9
9
|
active?: boolean;
|
|
10
10
|
}
|
|
11
11
|
/** 暂停Icon */
|
|
12
|
-
export declare const PauseIcon: (props: IconProps) => JSX.Element;
|
|
12
|
+
export declare const PauseIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
/** 播放Icon */
|
|
14
|
-
export declare const PlayIcon: (props: IconProps) => JSX.Element;
|
|
14
|
+
export declare const PlayIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
/** 截图Icon */
|
|
16
|
-
export declare const CaptureIcon: (props: IconProps) => JSX.Element;
|
|
16
|
+
export declare const CaptureIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
17
17
|
/** 全屏Icon */
|
|
18
|
-
export declare const FullScreenIcon: (props: IconProps) => JSX.Element;
|
|
18
|
+
export declare const FullScreenIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
19
19
|
/** 退出全屏Icon */
|
|
20
|
-
export declare const ExitFullScreenIcon: (props: IconProps) => JSX.Element;
|
|
20
|
+
export declare const ExitFullScreenIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
21
21
|
/** 音量低Icon */
|
|
22
|
-
export declare const VolumeSmallIcon: (props: IconProps) => JSX.Element;
|
|
22
|
+
export declare const VolumeSmallIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
/** 音量高Icon */
|
|
24
|
-
export declare const VolumeLargeIcon: (props: IconProps) => JSX.Element;
|
|
24
|
+
export declare const VolumeLargeIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
25
25
|
/** 静音Icon */
|
|
26
|
-
export declare const VolumeMutedIcon: (props: IconProps) => JSX.Element;
|
|
26
|
+
export declare const VolumeMutedIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
/** 设置Icon */
|
|
28
|
-
export declare const SettingsIcon: (props: IconProps) => JSX.Element;
|
|
28
|
+
export declare const SettingsIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
/** 关闭全部Icon */
|
|
30
|
-
export declare const CloseAllIcon: (props: IconProps) => JSX.Element;
|
|
30
|
+
export declare const CloseAllIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
/** 展开Icon */
|
|
32
|
-
export declare const ExpandIcon: (props: IconProps) => JSX.Element;
|
|
32
|
+
export declare const ExpandIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
/** 收缩Icon */
|
|
34
|
-
export declare const FoldIcon: (props: IconProps) => JSX.Element;
|
|
34
|
+
export declare const FoldIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
/** 添加标签Icon */
|
|
36
|
-
export declare const SetTagIcon: (props: ActiveIconProps) => JSX.Element;
|
|
36
|
+
export declare const SetTagIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
/** 停止对讲Icon */
|
|
38
|
-
export declare const TalkDisableIcon: (props: ActiveIconProps) => JSX.Element;
|
|
38
|
+
export declare const TalkDisableIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
/** 对讲Icon */
|
|
40
|
-
export declare const TalkIcon: (props: ActiveIconProps) => JSX.Element;
|
|
40
|
+
export declare const TalkIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
41
41
|
/** 云台控制 */
|
|
42
|
-
export declare const CloudControlIcon: (props: ActiveIconProps) => JSX.Element;
|
|
42
|
+
export declare const CloudControlIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
43
43
|
/** 屏幕占比Icon */
|
|
44
|
-
export declare const OccupyingScreenIcon: (props: ActiveIconProps) => JSX.Element;
|
|
44
|
+
export declare const OccupyingScreenIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
45
45
|
/** 网格Icon */
|
|
46
|
-
export declare const GridIcon: (props: ActiveIconProps) => JSX.Element;
|
|
46
|
+
export declare const GridIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
47
47
|
/** 1x1网格Icon */
|
|
48
|
-
export declare const Grid1x1Icon: (props: ActiveIconProps) => JSX.Element;
|
|
48
|
+
export declare const Grid1x1Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
49
49
|
/** 2x2网格Icon */
|
|
50
|
-
export declare const Grid2x2Icon: (props: ActiveIconProps) => JSX.Element;
|
|
50
|
+
export declare const Grid2x2Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
51
|
/** 3x3网格Icon */
|
|
52
|
-
export declare const Grid3x3Icon: (props: ActiveIconProps) => JSX.Element;
|
|
52
|
+
export declare const Grid3x3Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
53
53
|
/** 4x4网格Icon */
|
|
54
|
-
export declare const Grid4x4Icon: (props: ActiveIconProps) => JSX.Element;
|
|
54
|
+
export declare const Grid4x4Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
55
55
|
/** 5x5网格Icon */
|
|
56
|
-
export declare const Grid5x5Icon: (props: ActiveIconProps) => JSX.Element;
|
|
56
|
+
export declare const Grid5x5Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
57
57
|
/** 1x5网格Icon */
|
|
58
|
-
export declare const Grid1x5Icon: (props: ActiveIconProps) => JSX.Element;
|
|
58
|
+
export declare const Grid1x5Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
59
59
|
/** 1x7网格Icon */
|
|
60
|
-
export declare const Grid1x7Icon: (props: ActiveIconProps) => JSX.Element;
|
|
60
|
+
export declare const Grid1x7Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
61
61
|
/** 1x9网格Icon */
|
|
62
|
-
export declare const Grid1x9Icon: (props: ActiveIconProps) => JSX.Element;
|
|
62
|
+
export declare const Grid1x9Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
63
63
|
/** 1x12网格Icon */
|
|
64
|
-
export declare const Grid1x12Icon: (props: ActiveIconProps) => JSX.Element;
|
|
64
|
+
export declare const Grid1x12Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
65
65
|
/** 1x13网格Icon */
|
|
66
|
-
export declare const Grid1x13Icon: (props: ActiveIconProps) => JSX.Element;
|
|
66
|
+
export declare const Grid1x13Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
67
67
|
/** 1x16网格Icon */
|
|
68
|
-
export declare const Grid1x16Icon: (props: ActiveIconProps) => JSX.Element;
|
|
68
|
+
export declare const Grid1x16Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
69
69
|
/** 1x21网格Icon */
|
|
70
|
-
export declare const Grid1x21Icon: (props: ActiveIconProps) => JSX.Element;
|
|
70
|
+
export declare const Grid1x21Icon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
71
71
|
/** 标签Icon */
|
|
72
|
-
export declare const TagIcon: (props: ActiveIconProps) => JSX.Element;
|
|
72
|
+
export declare const TagIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
73
73
|
/** 关闭Icon */
|
|
74
|
-
export declare const CloseIcon: (props: IconProps) => JSX.Element;
|
|
74
|
+
export declare const CloseIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
75
75
|
/** 视频播放Icon */
|
|
76
|
-
export declare const VideoPlayIcon: (props: ActiveIconProps) => JSX.Element;
|
|
76
|
+
export declare const VideoPlayIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
77
77
|
/** 视频关闭Icon */
|
|
78
|
-
export declare const VideoCloseIcon: (props: ActiveIconProps) => JSX.Element;
|
|
78
|
+
export declare const VideoCloseIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
79
79
|
/** 时间刻度Icon */
|
|
80
|
-
export declare const TimePositionIcon: (props: IconProps) => JSX.Element;
|
|
80
|
+
export declare const TimePositionIcon: (props: IconProps) => import("react/jsx-runtime").JSX.Element;
|
|
81
81
|
/** 播放视频Icon */
|
|
82
|
-
export declare const PlayVideoBlueIcon: (props: ActiveIconProps) => JSX.Element;
|
|
82
|
+
export declare const PlayVideoBlueIcon: (props: ActiveIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
83
83
|
export {};
|