@vtx/player 0.0.7 → 0.0.10

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.
Files changed (89) hide show
  1. package/dist/index.d.ts +221 -0
  2. package/dist/index.es.js +533 -0
  3. package/dist/index.es.js.map +1 -0
  4. package/dist/index.umd.js +533 -0
  5. package/dist/index.umd.js.map +1 -0
  6. package/dist/types/api/fetch.d.ts +12 -0
  7. package/dist/types/api/index.d.ts +15 -0
  8. package/{src/api/types.ts → dist/types/api/types.d.ts} +5 -29
  9. package/dist/types/components/bill-player/index.d.ts +21 -0
  10. package/dist/types/components/controls/index.d.ts +52 -0
  11. package/dist/types/components/history-control/index.d.ts +39 -0
  12. package/dist/types/components/history-player/index.d.ts +31 -0
  13. package/dist/types/components/live-channel-player/index.d.ts +16 -0
  14. package/dist/types/components/live-control/index.d.ts +35 -0
  15. package/dist/types/components/live-player/index.d.ts +22 -0
  16. package/dist/types/components/player/index.d.ts +84 -0
  17. package/dist/types/context/index.d.ts +8 -0
  18. package/dist/types/hooks/useSettings.d.ts +9 -0
  19. package/dist/types/icons/index.d.ts +54 -0
  20. package/{src/main.ts → dist/types/main.d.ts} +0 -1
  21. package/dist/types/utils/index.d.ts +67 -0
  22. package/package.json +2 -2
  23. package/.eslintignore +0 -11
  24. package/.eslintrc.js +0 -31
  25. package/.prettierignore +0 -10
  26. package/.prettierrc.js +0 -22
  27. package/.storybook/main.js +0 -58
  28. package/.storybook/manager.js +0 -7
  29. package/.storybook/preview-head.html +0 -5
  30. package/.storybook/preview.js +0 -9
  31. package/.storybook/proxy.js +0 -6
  32. package/.storybook/theme.js +0 -8
  33. package/.stylelintrc.json +0 -13
  34. package/.vscode/extensions.json +0 -10
  35. package/.vscode/settings.json +0 -16
  36. package/commitlint.config.js +0 -10
  37. package/public/h5player.min.js +0 -311
  38. package/public/playctrl1/AudioRenderer.js +0 -225
  39. package/public/playctrl1/DecodeWorker.js +0 -711
  40. package/public/playctrl1/Decoder.js +0 -1
  41. package/public/playctrl1/SuperRender_10.js +0 -396
  42. package/public/playctrl2/Decoder.js +0 -21
  43. package/public/playctrl2/Decoder.wasm +0 -0
  44. package/public/playctrl2/Decoder.worker.js +0 -1
  45. package/public/playctrl3/Decoder.js +0 -21
  46. package/public/playctrl3/Decoder.wasm +0 -0
  47. package/public/playctrl3/Decoder.worker.js +0 -1
  48. package/rollup.config.js +0 -52
  49. package/src/api/fetch.ts +0 -55
  50. package/src/api/index.ts +0 -43
  51. package/src/components/bill-player/index.less +0 -58
  52. package/src/components/bill-player/index.stories.mdx +0 -24
  53. package/src/components/bill-player/index.stories.tsx +0 -13
  54. package/src/components/bill-player/index.tsx +0 -267
  55. package/src/components/controls/images/arrow.png +0 -0
  56. package/src/components/controls/images/error.png +0 -0
  57. package/src/components/controls/index.less +0 -182
  58. package/src/components/controls/index.tsx +0 -312
  59. package/src/components/history-control/images/collapse.png +0 -0
  60. package/src/components/history-control/index.less +0 -211
  61. package/src/components/history-control/index.stories.mdx +0 -62
  62. package/src/components/history-control/index.stories.tsx +0 -130
  63. package/src/components/history-control/index.tsx +0 -368
  64. package/src/components/history-player/index.less +0 -98
  65. package/src/components/history-player/index.stories.mdx +0 -38
  66. package/src/components/history-player/index.stories.tsx +0 -12
  67. package/src/components/history-player/index.tsx +0 -206
  68. package/src/components/live-channel-player/index.stories.mdx +0 -29
  69. package/src/components/live-channel-player/index.stories.tsx +0 -11
  70. package/src/components/live-channel-player/index.tsx +0 -75
  71. package/src/components/live-control/index.less +0 -65
  72. package/src/components/live-control/index.stories.mdx +0 -64
  73. package/src/components/live-control/index.stories.tsx +0 -61
  74. package/src/components/live-control/index.tsx +0 -274
  75. package/src/components/live-player/index.less +0 -71
  76. package/src/components/live-player/index.stories.mdx +0 -35
  77. package/src/components/live-player/index.stories.tsx +0 -12
  78. package/src/components/live-player/index.tsx +0 -118
  79. package/src/components/player/index.ts +0 -318
  80. package/src/context/index.ts +0 -13
  81. package/src/hooks/useSettings.tsx +0 -14
  82. package/src/icons/index.less +0 -27
  83. package/src/icons/index.tsx +0 -518
  84. package/src/stories/intro.stories.mdx +0 -16
  85. package/src/typings/@vtx/utils/index.d.ts +0 -27
  86. package/src/typings/h5player.d.ts +0 -133
  87. package/src/utils/index.ts +0 -215
  88. package/src/vite-env.d.ts +0 -1
  89. package/tsconfig.json +0 -24
Binary file
@@ -1 +0,0 @@
1
- "use strict";var Module={};var initializedJS=false;function threadPrintErr(){var text=Array.prototype.slice.call(arguments).join(" ");console.error(text)}function threadAlert(){var text=Array.prototype.slice.call(arguments).join(" ");postMessage({cmd:"alert",text:text,threadId:Module["_pthread_self"]()})}var err=threadPrintErr;self.alert=threadAlert;Module["instantiateWasm"]=function(info,receiveInstance){var instance=new WebAssembly.Instance(Module["wasmModule"],info);receiveInstance(instance);Module["wasmModule"]=null;return instance.exports};self.onmessage=function(e){try{if(e.data.cmd==="load"){Module["wasmModule"]=e.data.wasmModule;Module["wasmMemory"]=e.data.wasmMemory;Module["buffer"]=Module["wasmMemory"].buffer;Module["ENVIRONMENT_IS_PTHREAD"]=true;if(typeof e.data.urlOrBlob==="string"){importScripts(e.data.urlOrBlob)}else{var objectUrl=URL.createObjectURL(e.data.urlOrBlob);importScripts(objectUrl);URL.revokeObjectURL(objectUrl)}JSPlayerModule(Module).then(function(instance){Module=instance})}else if(e.data.cmd==="run"){Module["__performance_now_clock_drift"]=performance.now()-e.data.time;Module["__emscripten_thread_init"](e.data.threadInfoStruct,0,0);var max=e.data.stackBase;var top=e.data.stackBase+e.data.stackSize;Module["establishStackSpace"](top,max);Module["PThread"].receiveObjectTransfer(e.data);Module["PThread"].threadInit();if(!initializedJS){Module["___embind_register_native_and_builtin_types"]();initializedJS=true}try{var result=Module["invokeEntryPoint"](e.data.start_routine,e.data.arg);if(Module["keepRuntimeAlive"]()){Module["PThread"].setExitStatus(result)}else{Module["__emscripten_thread_exit"](result)}}catch(ex){if(ex!="unwind"){if(ex instanceof Module["ExitStatus"]){if(Module["keepRuntimeAlive"]()){}else{Module["__emscripten_thread_exit"](ex.status)}}else{Module["__emscripten_thread_exit"](-2);throw ex}}}}else if(e.data.cmd==="cancel"){if(Module["_pthread_self"]()){Module["__emscripten_thread_exit"](-1)}postMessage({"cmd":"cancelDone"})}else if(e.data.target==="setimmediate"){}else if(e.data.cmd==="processThreadQueue"){if(Module["_pthread_self"]()){Module["_emscripten_current_thread_process_queued_calls"]()}}else{err("worker.js received unknown command "+e.data.cmd);err(e.data)}}catch(ex){err("worker.js onmessage() captured an uncaught exception: "+ex);if(ex&&ex.stack)err(ex.stack);throw ex}};
package/rollup.config.js DELETED
@@ -1,52 +0,0 @@
1
- import babel from '@rollup/plugin-babel';
2
- import commonjs from '@rollup/plugin-commonjs';
3
- import resolve from '@rollup/plugin-node-resolve';
4
- import typescript from '@rollup/plugin-typescript';
5
- import url from '@rollup/plugin-url';
6
- import dts from 'rollup-plugin-dts';
7
- import external from 'rollup-plugin-peer-deps-external';
8
- import postcss from 'rollup-plugin-postcss';
9
- import { terser } from 'rollup-plugin-terser';
10
-
11
- const packageJson = require('./package.json');
12
-
13
- export default [
14
- {
15
- input: 'src/main.ts',
16
- output: [
17
- // 构建cjs格式包
18
- {
19
- file: packageJson.main,
20
- format: 'cjs',
21
- sourcemap: true,
22
- },
23
- // 构建esm格式包
24
- {
25
- file: packageJson.module,
26
- format: 'esm',
27
- sourcemap: true,
28
- },
29
- ],
30
- plugins: [
31
- external(), // 排除peerDependencies中的包不被压缩到输出文件中
32
- resolve(), // 添加rollup引用第三方包支持
33
- babel({
34
- exclude: 'node_modules/**',
35
- presets: [['@babel/preset-env']],
36
- babelHelpers: 'bundled',
37
- }),
38
- commonjs(), // 添加commonJs支持
39
- postcss(), // 处理css文件
40
- url(), // 处理图片文件
41
- typescript({ tsconfig: './tsconfig.json' }), //处理 typescript文件
42
- terser(), // 文件压缩
43
- ],
44
- },
45
- {
46
- // 打包d.ts文件
47
- input: 'dist/types/main.d.ts',
48
- output: [{ file: packageJson.types, format: 'esm' }],
49
- external: [/\.less$/],
50
- plugins: [dts()],
51
- },
52
- ];
package/src/api/fetch.ts DELETED
@@ -1,55 +0,0 @@
1
- import { getUrlParam } from '@/utils';
2
- interface VMFetchProps {
3
- /** 请求体 */
4
- data?: any;
5
- /** 请求头 */
6
- headersEx?: object;
7
- }
8
-
9
- /**
10
- * 数据fetch总入口
11
- * @param props
12
- */
13
- const Fetch = async <T>(
14
- url: string,
15
- type: 'GET' | 'POST' = 'GET',
16
- params?: VMFetchProps
17
- ): Promise<T> => {
18
- const { data, headersEx } = params || {};
19
- const token = getUrlParam('token');
20
- try {
21
- let headers: HeadersInit = {
22
- 'content-type': 'application/json',
23
- Authorization: token ? `Bearer ${token}` : '',
24
- };
25
- if (headersEx) {
26
- headers = { ...headers, ...headersEx };
27
- }
28
- if (type === 'GET' && data) {
29
- const queryString = Object.keys(data)
30
- .map((key) => key + '=' + data[key])
31
- .join('&');
32
-
33
- url += '?' + queryString;
34
- }
35
- const resp = await fetch(encodeURI(url), {
36
- body: type === 'POST' ? JSON.stringify(data) : undefined,
37
- headers,
38
- method: type,
39
- });
40
-
41
- const json: Result<T> = await resp.json();
42
- if (json.result === 0) return json.data;
43
- else {
44
- const error = {
45
- exception: json.exception,
46
- msg: json.msg,
47
- };
48
- throw error;
49
- }
50
- } catch (e) {
51
- return Promise.reject(e);
52
- }
53
- };
54
-
55
- export default Fetch;
package/src/api/index.ts DELETED
@@ -1,43 +0,0 @@
1
- import Fetch from './fetch';
2
- import * as Types from './types';
3
-
4
- /** 获取预览地址 */
5
- export const getPreviewUrl = (data: Types.GetPreviewUrlParams) =>
6
- Fetch<Types.GetPreviewUrlResp>('/cloud/vis/base/np/artemis/previewUrl.smvc', 'GET', {
7
- data,
8
- });
9
-
10
- /** 获取历史地址 */
11
- export const getHistoryUrl = (data: Types.GetHistoryUrlParams) =>
12
- Fetch<Types.GetHistoryUrlResp>('/cloud/vis/base/np/artemis/playbackUrl.smvc', 'GET', {
13
- data,
14
- });
15
-
16
- /** 获取视频信息 */
17
- export const loadVideoInfo = (data: Types.LoadVideoInfoParams) =>
18
- Fetch<Types.LoadVideoInfoResp>('/cloud/vis/base/np/videoCommon/loadVideoInfos.smvc', 'GET', {
19
- data,
20
- });
21
-
22
- /** 云台控制 */
23
- export const cloudControl = (data: Types.CloudControlParams) =>
24
- Fetch('/cloud/vis/base/np/artemis/controlling.smvc', 'GET', {
25
- data,
26
- });
27
-
28
- /**
29
- * 获取通道信息
30
- * @param channelId 通道ID
31
- * @returns
32
- */
33
- export const loadVideoChannel = async (channelId: string) => {
34
- const result = await Fetch<string>(
35
- '/cloud/vis/base/np/videoDevice/loadTheVideoChannel.smvc',
36
- 'GET',
37
- {
38
- data: { parameters: JSON.stringify({ videoChannelId: channelId }) },
39
- }
40
- );
41
- const parseResult = JSON.parse(result) as Types.LoadVideoChannelResp[];
42
- return parseResult[0];
43
- };
@@ -1,58 +0,0 @@
1
- .vtx-bill-player {
2
- .bill-tabs {
3
- height: 100%;
4
-
5
- .ant-tabs-content-holder {
6
- height: 100%;
7
-
8
- .ant-tabs-content {
9
- height: 100%;
10
- }
11
- }
12
- }
13
-
14
- .player-panel {
15
- display: flex;
16
- height: 100%;
17
-
18
- > .player-container {
19
- flex-grow: 1;
20
- width: 0;
21
- }
22
-
23
- .control-container {
24
- width: 376px;
25
- height: fit-content;
26
- margin-left: 16px;
27
- border: 1px solid #e8e8e8;
28
- border-radius: 2px;
29
-
30
- .header {
31
- padding: 12px 24px;
32
- font-weight: bold;
33
- border-bottom: 1px solid #e8e8e8;
34
- }
35
-
36
- .list {
37
- display: flex;
38
- flex-direction: column;
39
- padding: 12px 24px;
40
-
41
- .ant-checkbox-wrapper {
42
- margin-bottom: 12px;
43
- margin-left: 0;
44
- }
45
- }
46
-
47
- .form {
48
- padding: 12px 24px;
49
-
50
- .time-radio-group {
51
- .ant-radio-wrapper {
52
- margin-right: 4px;
53
- }
54
- }
55
- }
56
- }
57
- }
58
- }
@@ -1,24 +0,0 @@
1
- import BillPlayer from '.';
2
- import { ArgsTable, Canvas, Meta, Story } from '@storybook/addon-docs';
3
-
4
- import * as stories from './index.stories';
5
-
6
- <Meta title="组件/业务播放器" component={BillPlayer} />
7
-
8
- # 组件--按钮
9
-
10
- ### 如何使用
11
-
12
- ```js
13
- import { BillPlayer } from '@vtx/player';
14
- ```
15
-
16
- ### 属性
17
-
18
- <ArgsTable of={BillPlayer} />
19
-
20
- ### 例子
21
-
22
- <Canvas>
23
- <Story name="业务播放器" story={stories.Default} />
24
- </Canvas>
@@ -1,13 +0,0 @@
1
- import BillPlayer from '.';
2
- import { ComponentStory } from '@storybook/react';
3
-
4
- const Template: ComponentStory<typeof BillPlayer> = (args) => <BillPlayer {...args} />;
5
- export const Default = Template.bind({});
6
- Default.args = {
7
- width: 1200,
8
- height: 600,
9
- params: {
10
- billId: 'shxq_qqq',
11
- },
12
- };
13
- export default Template;
@@ -1,267 +0,0 @@
1
- import './index.less';
2
-
3
- import { useRef } from 'react';
4
-
5
- import HistoryControl, { HistoryControlHandle } from '../history-control';
6
- import LiveControl, { LiveControlHandle } from '../live-control';
7
- import { useRequest, useSetState } from 'ahooks';
8
- import { Button, Checkbox, DatePicker, Form, Radio, RadioChangeEvent, Select, Tabs } from 'antd';
9
- import moment from 'moment';
10
-
11
- import { loadVideoInfo } from '@/api';
12
- import { LoadVideoInfoParams } from '@/api/types';
13
- import { TimeFormat } from '@/utils';
14
-
15
- const { TabPane } = Tabs;
16
-
17
- type HistoryFormData = {
18
- /** 频道号 */
19
- channelNum: string;
20
- /** 开始时间,格式:2022-06-01 00:00:00 */
21
- beginTime: string;
22
- /** 结束时间,格式:2022-06-01 23:59:59 */
23
- endTime: string;
24
- };
25
-
26
- interface State {
27
- /** 日期选择器是否可用 */
28
- datePickerDisabled: boolean;
29
- /** 实时视频列表勾选状态 */
30
- liveListState: Map<string, boolean>;
31
- /** 设备ID */
32
- deviceId: string;
33
- }
34
-
35
- interface BillPlayerProps {
36
- /** 参数 */
37
- params: LoadVideoInfoParams;
38
- /** 宽度 */
39
- width?: string | number;
40
- /** 高度 */
41
- height?: string | number;
42
- /** 是否显示实时视频,默认为true */
43
- live?: boolean;
44
- /** 是否显示历史视频,默认为true */
45
- history?: boolean;
46
- /** 实时默认播放 */
47
- defaultLivePlay?: boolean;
48
- /** 历史默认播放 */
49
- defaultHistoryPlay?: boolean;
50
- }
51
- export const BillPlayer = (props: BillPlayerProps) => {
52
- const {
53
- params,
54
- live = true,
55
- history = true,
56
- height = '100%',
57
- width = '100%',
58
- defaultLivePlay = true,
59
- } = props;
60
- const [state, setState] = useSetState<State>({
61
- datePickerDisabled: false,
62
- liveListState: new Map(),
63
- deviceId: '',
64
- });
65
- const { data } = useRequest(() => loadVideoInfo(params), {
66
- refreshDeps: [params.billId],
67
- onSuccess: (result) => {
68
- if (defaultLivePlay) {
69
- const livePlayer = liveRef.current;
70
- if (livePlayer) {
71
- const liveListState = new Map();
72
- for (const item of result) {
73
- liveListState.set(item.channelNum, true);
74
- }
75
- setState({ liveListState, deviceId: result[0].videoDeviceId });
76
- livePlayer.multiLoad(
77
- result.map((item) => ({
78
- channelNum: item.channelNum,
79
- deviceId: item.videoDeviceId,
80
- }))
81
- );
82
- }
83
- }
84
- form.setFieldsValue({ channelNum: result[0].channelNum });
85
- },
86
- });
87
- const [form] = Form.useForm();
88
- const liveRef = useRef<LiveControlHandle>(null);
89
- const historyRef = useRef<HistoryControlHandle>(null);
90
- const getLivePanel = () => {
91
- const list = data?.map((item) => (
92
- <Checkbox
93
- key={item.channelNum}
94
- checked={state.liveListState.get(item.channelNum)}
95
- onChange={(e) => {
96
- const checked = e.target.checked;
97
- const liveControl = liveRef.current;
98
- if (liveControl) {
99
- if (checked) {
100
- liveControl.load({ ...item, deviceId: item.videoDeviceId });
101
- } else {
102
- liveControl.unLoad(item.channelNum);
103
- }
104
- }
105
- }}
106
- >
107
- {item.channelName}
108
- </Checkbox>
109
- ));
110
- return (
111
- <div className="player-panel">
112
- <div className="player-container">
113
- <LiveControl
114
- ref={liveRef}
115
- onChannelChange={(channelsNum) => {
116
- const liveListState = new Map(state.liveListState);
117
- for (const channelNum of channelsNum) {
118
- liveListState.set(channelNum, !liveListState.get(channelNum));
119
- }
120
- for (const item of liveListState) {
121
- if (channelsNum.includes(item[0])) liveListState.set(item[0], true);
122
- else liveListState.set(item[0], false);
123
- }
124
- setState({ liveListState });
125
- }}
126
- />
127
- </div>
128
- <div className="control-container">
129
- <div className="header">视频通道</div>
130
- <div className="list">{list}</div>
131
- </div>
132
- </div>
133
- );
134
- };
135
- const onHistorySubmit = (values: HistoryFormData) => {
136
- const historyControl = historyRef.current;
137
- historyControl?.load({
138
- channelNum: values.channelNum,
139
- deviceId: state.deviceId,
140
- beginTime: moment(values.beginTime).format(TimeFormat.params),
141
- endTime: moment(values.endTime).format(TimeFormat.params),
142
- });
143
- };
144
- const onTimeRadioChange = (e: RadioChangeEvent) => {
145
- const value = e.target.value;
146
- if (value === 'custom') {
147
- setState({ datePickerDisabled: false });
148
- } else {
149
- setState({ datePickerDisabled: true });
150
- if (value === 'today') {
151
- form.setFieldsValue({
152
- beginTime: moment().startOf('day'),
153
- endTime: moment(),
154
- });
155
- }
156
- if (value === 'yesterday') {
157
- form.setFieldsValue({
158
- beginTime: moment().subtract(1, 'day').startOf('day'),
159
- endTime: moment().subtract(1, 'day').endOf('day'),
160
- });
161
- }
162
- if (value === 'dayBeforeYesterday') {
163
- form.setFieldsValue({
164
- beginTime: moment().subtract(2, 'day').startOf('day'),
165
- endTime: moment().subtract(2, 'day').endOf('day'),
166
- });
167
- }
168
- }
169
- };
170
- const getHistoryPanel = () => {
171
- return (
172
- <div className="player-panel">
173
- <div className="player-container">
174
- <HistoryControl ref={historyRef} />
175
- </div>
176
- <div className="control-container">
177
- <div className="header">查询视频</div>
178
- <div className="form">
179
- <Form
180
- form={form}
181
- name="history"
182
- labelCol={{ span: 5 }}
183
- wrapperCol={{ span: 19 }}
184
- onFinish={onHistorySubmit}
185
- requiredMark={false}
186
- colon={false}
187
- initialValues={{
188
- beginTime: moment().subtract(1, 'day').startOf('day'),
189
- endTime: moment().subtract(1, 'day').endOf('day'),
190
- }}
191
- autoComplete="off"
192
- >
193
- <Form.Item label="选择时段">
194
- <Radio.Group
195
- onChange={onTimeRadioChange}
196
- defaultValue="custom"
197
- className="time-radio-group"
198
- >
199
- <Radio value="today">当日</Radio>
200
- <Radio value="yesterday">昨日</Radio>
201
- <Radio value="dayBeforeYesterday">前日</Radio>
202
- <Radio value="custom">自选</Radio>
203
- </Radio.Group>
204
- </Form.Item>
205
- <Form.Item
206
- label="开始时间"
207
- name="beginTime"
208
- rules={[{ required: true, message: '请输入开始时间' }]}
209
- >
210
- <DatePicker
211
- style={{ width: '100%' }}
212
- showTime
213
- disabled={state.datePickerDisabled}
214
- />
215
- </Form.Item>
216
- <Form.Item
217
- label="结束时间"
218
- name="endTime"
219
- rules={[{ required: true, message: '请输入结束时间' }]}
220
- >
221
- <DatePicker showTime disabled={state.datePickerDisabled} />
222
- </Form.Item>
223
- <Form.Item
224
- label="视频通道"
225
- name="channelNum"
226
- rules={[{ required: true, message: '请选择视频通道' }]}
227
- >
228
- <Select>
229
- {data?.map((item) => (
230
- <Select.Option
231
- key={item.channelNum}
232
- value={item.channelNum}
233
- >
234
- {item.channelName}
235
- </Select.Option>
236
- ))}
237
- </Select>
238
- </Form.Item>
239
- <Form.Item wrapperCol={{ span: 24 }}>
240
- <Button type="primary" htmlType="submit">
241
- 查询
242
- </Button>
243
- </Form.Item>
244
- </Form>
245
- </div>
246
- </div>
247
- </div>
248
- );
249
- };
250
- return (
251
- <div className="vtx-bill-player" style={{ height, width }}>
252
- {live && history && (
253
- <Tabs defaultActiveKey="live" className="bill-tabs">
254
- <TabPane tab="实时视频" key="live">
255
- {getLivePanel()}
256
- </TabPane>
257
- <TabPane tab="历史视频" key="history">
258
- {getHistoryPanel()}
259
- </TabPane>
260
- </Tabs>
261
- )}
262
- {live && !history && getLivePanel()}
263
- {history && !live && getHistoryPanel()}
264
- </div>
265
- );
266
- };
267
- export default BillPlayer;