ezuikit-js 7.7.1 → 7.7.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/CHANGELOG.md +115 -109
- package/README.md +490 -474
- package/ezuikit.js +57998 -54638
- package/ezuikit_static/v65/v1/js/jsPluginV1-1.0.0.min.js +4 -18
- package/ezuikit_static/v65/v3/js/jsPluginV3-1.0.0.min.js +434 -6
- package/package.json +6 -1
- package/demos/EZUIKitHD/EZUIKitHD.html +0 -171
- package/demos/EZUIKitHD/js/jsWebControl-1.0.0.min.js +0 -80
- package/demos/base-demo/base.html +0 -117
- package/demos/base-demo/ezuikit.js +0 -33480
- package/demos/base-demo/ezuikit_static/v65/v1/css/theme.css +0 -121
- package/demos/base-demo/ezuikit_static/v65/v1/js/AudioRenderer.js +0 -225
- package/demos/base-demo/ezuikit_static/v65/v1/js/SuperRender_10.js +0 -395
- package/demos/base-demo/ezuikit_static/v65/v1/js/SystemTransform.js +0 -22
- package/demos/base-demo/ezuikit_static/v65/v1/js/SystemTransform.js.mem +0 -0
- package/demos/base-demo/ezuikit_static/v65/v1/js/jsPluginV1-1.0.0.min.js +0 -26
- package/demos/base-demo/ezuikit_static/v65/v1/js/playctrl/AudioRenderer.js +0 -225
- package/demos/base-demo/ezuikit_static/v65/v1/js/playctrl/DecodeWorker.js +0 -618
- package/demos/base-demo/ezuikit_static/v65/v1/js/playctrl/Decoder.js +0 -1
- package/demos/base-demo/ezuikit_static/v65/v1/js/playctrl/JSPlaySDKInterface.js +0 -2052
- package/demos/base-demo/ezuikit_static/v65/v1/js/playctrl/SuperRender_10.js +0 -396
- package/demos/base-demo/ezuikit_static/v65/v1/js/playctrl/SuperRender_20.js +0 -1
- package/demos/base-demo/ezuikit_static/v65/v1/js/transform/SystemTransform.js +0 -22
- package/demos/base-demo/ezuikit_static/v65/v1/js/transform/SystemTransform.js.mem +0 -0
- package/demos/base-demo/ezuikit_static/v65/v1/js/transform/systemTransform-worker.min.js +0 -1
- package/demos/base-demo/ezuikit_static/v65/v1/js/tts-v4.js +0 -346
- package/demos/base-demo/ezuikit_static/v65/v1/rec/datepicker.js +0 -1522
- package/demos/base-demo/ezuikit_static/v65/v1/rec/datepicker.min.css +0 -36
- package/demos/base-demo/ezuikit_static/v65/v1/rec/datepicker.zh-CN.js +0 -19
- package/demos/base-demo/ezuikit_static/v65/v1/rec/jquery.min.js +0 -2
- package/demos/base-demo/ezuikit_static/v65/v1/speed/speed.css +0 -145
- package/demos/base-demo/ezuikit_static/v65/v1/talk/adapeter.js +0 -5497
- package/demos/base-demo/ezuikit_static/v65/v1/talk/janus.js +0 -3507
- package/demos/base-demo/ezuikit_static/v65/v1/talk/tts-v4.js +0 -346
- package/demos/base-demo/ezuikit_static/v65/v2/css/theme.css +0 -121
- package/demos/base-demo/ezuikit_static/v65/v2/js/Decoder.js +0 -9198
- package/demos/base-demo/ezuikit_static/v65/v2/js/Decoder.wasm +0 -0
- package/demos/base-demo/ezuikit_static/v65/v2/js/jsPluginV2-2.0.1.min.js +0 -4595
- package/demos/base-demo/ezuikit_static/v65/v2/rec/datepicker.js +0 -1522
- package/demos/base-demo/ezuikit_static/v65/v2/rec/datepicker.min.css +0 -36
- package/demos/base-demo/ezuikit_static/v65/v2/rec/datepicker.zh-CN.js +0 -19
- package/demos/base-demo/ezuikit_static/v65/v2/rec/jquery.min.js +0 -2
- package/demos/base-demo/ezuikit_static/v65/v2/speed/speed.css +0 -145
- package/demos/base-demo/ezuikit_static/v65/v2/talk/adapeter.js +0 -5497
- package/demos/base-demo/ezuikit_static/v65/v2/talk/janus.js +0 -3507
- package/demos/base-demo/ezuikit_static/v65/v2/talk/tts-v4.js +0 -343
- package/demos/base-demo/hls.html +0 -24
- package/demos/base-demo/index.html +0 -117
- package/demos/base-demo/localDecoder.html +0 -118
- package/demos/base-demo/mobileLive.html +0 -117
- package/demos/base-demo/mobileRec.html +0 -116
- package/demos/base-demo/multi.html +0 -129
- package/demos/base-demo/pcLive.html +0 -117
- package/demos/base-demo/pcRec.html +0 -116
- package/demos/base-demo/template.html +0 -124
- package/demos/base-demo/themeData.html +0 -232
- package/demos/nginx-demo/conf/fastcgi.conf +0 -26
- package/demos/nginx-demo/conf/fastcgi_params +0 -25
- package/demos/nginx-demo/conf/koi-utf +0 -109
- package/demos/nginx-demo/conf/koi-win +0 -103
- package/demos/nginx-demo/conf/mime.types +0 -95
- package/demos/nginx-demo/conf/nginx.conf +0 -121
- package/demos/nginx-demo/conf/scgi_params +0 -17
- package/demos/nginx-demo/conf/uwsgi_params +0 -17
- package/demos/nginx-demo/conf/win-utf +0 -126
- package/demos/nginx-demo/contrib/README +0 -21
- package/demos/nginx-demo/contrib/geo2nginx.pl +0 -58
- package/demos/nginx-demo/contrib/unicode2nginx/koi-utf +0 -131
- package/demos/nginx-demo/contrib/unicode2nginx/unicode-to-nginx.pl +0 -48
- package/demos/nginx-demo/contrib/unicode2nginx/win-utf +0 -130
- package/demos/nginx-demo/contrib/vim/ftdetect/nginx.vim +0 -4
- package/demos/nginx-demo/contrib/vim/ftplugin/nginx.vim +0 -1
- package/demos/nginx-demo/contrib/vim/indent/nginx.vim +0 -11
- package/demos/nginx-demo/contrib/vim/syntax/nginx.vim +0 -2268
- package/demos/nginx-demo/docs/CHANGES +0 -8115
- package/demos/nginx-demo/docs/CHANGES.ru +0 -8252
- package/demos/nginx-demo/docs/LICENSE +0 -26
- package/demos/nginx-demo/docs/OpenSSL.LICENSE +0 -127
- package/demos/nginx-demo/docs/PCRE.LICENCE +0 -93
- package/demos/nginx-demo/docs/README +0 -3
- package/demos/nginx-demo/docs/zlib.LICENSE +0 -20
- package/demos/nginx-demo/html/50x.html +0 -21
- package/demos/nginx-demo/html/ezuikit5/ezuikit.js +0 -36107
- package/demos/nginx-demo/html/ezuikit5/index.html +0 -117
- package/demos/nginx-demo/html/ezuikit5/server.js +0 -67
- package/demos/nginx-demo/html/index.html +0 -16
- package/demos/nginx-demo/html/js/adapeter.js +0 -5497
- package/demos/nginx-demo/html/js/janus.js +0 -3507
- package/demos/nginx-demo/html/js/jquery.min.js +0 -2
- package/demos/nginx-demo/html/js/sts.js +0 -340
- package/demos/nginx-demo/logs/access.log +0 -109
- package/demos/nginx-demo/logs/error.log +0 -15
- package/demos/nginx-demo/logs/nginx.pid +0 -1
- package/demos/nginx-demo/nginx.exe +0 -0
- package/demos/react-demo/README.md +0 -68
- package/demos/react-demo/package.json +0 -36
- package/demos/react-demo/public/favicon.ico +0 -0
- package/demos/react-demo/public/index.html +0 -43
- package/demos/react-demo/public/logo192.png +0 -0
- package/demos/react-demo/public/logo512.png +0 -0
- package/demos/react-demo/public/manifest.json +0 -25
- package/demos/react-demo/public/robots.txt +0 -3
- package/demos/react-demo/src/App.css +0 -38
- package/demos/react-demo/src/App.js +0 -114
- package/demos/react-demo/src/App.test.js +0 -9
- package/demos/react-demo/src/index.css +0 -13
- package/demos/react-demo/src/index.js +0 -17
- package/demos/react-demo/src/logo.svg +0 -7
- package/demos/react-demo/src/serviceWorker.js +0 -141
- package/demos/react-demo/src/setupTests.js +0 -5
- package/demos/vue-demo/README.md +0 -24
- package/demos/vue-demo/babel.config.js +0 -5
- package/demos/vue-demo/package.json +0 -43
- package/demos/vue-demo/public/favicon.ico +0 -0
- package/demos/vue-demo/public/index.html +0 -17
- package/demos/vue-demo/src/App.vue +0 -27
- package/demos/vue-demo/src/assets/logo.png +0 -0
- package/demos/vue-demo/src/components/EZUIKitJs.vue +0 -115
- package/demos/vue-demo/src/main.js +0 -8
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ezuikit-js",
|
|
3
3
|
"maintainers": ["jzy"],
|
|
4
|
-
"version": "7.7.
|
|
4
|
+
"version": "7.7.2",
|
|
5
5
|
"description": "ezuikit javascript for npm",
|
|
6
6
|
"main": "ezuikit.js",
|
|
7
7
|
"scripts": {
|
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
],
|
|
18
18
|
"author": "yujianbo",
|
|
19
19
|
"license": "ISC",
|
|
20
|
+
"files": [
|
|
21
|
+
"ezuikit_static",
|
|
22
|
+
"CHANGELOG.md",
|
|
23
|
+
"ezuikit.js"
|
|
24
|
+
],
|
|
20
25
|
"bugs": {
|
|
21
26
|
"url": "https://github.com/Hikvision-Ezviz/EZUIKit-JavaScript-npm/issues"
|
|
22
27
|
},
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="UTF-8">
|
|
6
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
8
|
-
<title>EZUIKitHD</title>
|
|
9
|
-
<script src="./js/jsWebControl-1.0.0.min.js"></script>
|
|
10
|
-
<script src="../ezuikit.js"></script>
|
|
11
|
-
<style>
|
|
12
|
-
input {
|
|
13
|
-
width: 100%;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.fun-area {
|
|
17
|
-
margin-bottom: 24px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.demo {
|
|
21
|
-
display: flex;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.input-area {
|
|
25
|
-
width: 600px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/* .hide {
|
|
29
|
-
overflow: hidden;
|
|
30
|
-
} */
|
|
31
|
-
</style>
|
|
32
|
-
</head>
|
|
33
|
-
|
|
34
|
-
<body>
|
|
35
|
-
<div class="demo">
|
|
36
|
-
<div class="input-area">
|
|
37
|
-
<div class="fun-area">
|
|
38
|
-
<div>请输入appKey</div>
|
|
39
|
-
<input type="text" id="appKey" value="">
|
|
40
|
-
<div>请输入accessToken</div>
|
|
41
|
-
<input type="text" id="accessToken" value="">
|
|
42
|
-
<button onclick="init()">初始化</button>
|
|
43
|
-
</div>
|
|
44
|
-
<div class="fun-area">
|
|
45
|
-
<div>请输入设备序列号('C33368372','J15283664'; ,"","G10820169", "")</div>
|
|
46
|
-
<input type="text" id="deviceSerial" value="">
|
|
47
|
-
<div>请输入通道号</div>
|
|
48
|
-
<input type="text" id="channelNo" value="1">
|
|
49
|
-
<div>请输入验证码</div>
|
|
50
|
-
<input type="text" id="validateCode" value="" placeholder="加密设备需输入设备验证码进行播放">
|
|
51
|
-
<button onclick="play()">播放</button>
|
|
52
|
-
<button onclick="toPreView()">切换到预览</button>
|
|
53
|
-
<button onclick="toRec()">切换到回放</button>
|
|
54
|
-
</div>
|
|
55
|
-
<div class="fun-area">
|
|
56
|
-
<div>请输入窗口号</div>
|
|
57
|
-
<input type="text" id="wndId" value="0">
|
|
58
|
-
<div>请输入开始时间(回放)</div>
|
|
59
|
-
<input type="text" id="startTime" value="" placeholder="2022-10-20">
|
|
60
|
-
|
|
61
|
-
<div>请输入结束时间(回放)</div>
|
|
62
|
-
<input type="text" id="endTime" value="" placeholder="2022-10-20">
|
|
63
|
-
<div>设置清晰度(清晰度值,可选0:流畅 1:均衡 2:高品质 3:超清)</div>
|
|
64
|
-
<input type="text" id="videoLevel" value="1">
|
|
65
|
-
<div>设置音量(0-100)</div>
|
|
66
|
-
<input type="text" id="soundVolumn" value="100">
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
<button onclick="startSave()">开始录制</button>
|
|
70
|
-
<button onclick="stopSave()">结束录制</button>
|
|
71
|
-
<button onclick="startTalk()" id="talk">开始对讲</button>
|
|
72
|
-
<button onclick="stopTalk()" id="stoptalk">结束对讲</button>
|
|
73
|
-
<button onclick="setVideoLevel()" id="videohd">设置清晰度</button>
|
|
74
|
-
<button onclick="setSoundVolumn()">设置音量</button>
|
|
75
|
-
<button onclick="capturePicture()">抓图</button>
|
|
76
|
-
<button onclick="stop()">停止</button>
|
|
77
|
-
|
|
78
|
-
</div>
|
|
79
|
-
<div class="fun-area">
|
|
80
|
-
<div>请输入布局编号(只支持1-12):</div>
|
|
81
|
-
<input type="text" id="layoutValue" value="1">
|
|
82
|
-
<button onclick="setLayout()" id="layout">设置布局</button>
|
|
83
|
-
</div>
|
|
84
|
-
|
|
85
|
-
<div style="margin-top: 10px;">
|
|
86
|
-
<span class="input-group-text">事件回调信息</span>
|
|
87
|
-
<textarea class="form-control input-area" rows="10" cols="20" id="callbackMessage"></textarea>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
<div id="playWnd" style="width: 900px;height:500px;margin-bottom: 40px;"></div>
|
|
91
|
-
</div>
|
|
92
|
-
|
|
93
|
-
<script>
|
|
94
|
-
var EZUIKitHDDemo = new window.EZUIKit.EZUIKitHD();
|
|
95
|
-
const init = () => {
|
|
96
|
-
EZUIKitHDDemo.init({
|
|
97
|
-
accessToken: document.getElementById("accessToken").value,
|
|
98
|
-
appKey: document.getElementById("appKey").value,
|
|
99
|
-
});
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
const play = () => {
|
|
103
|
-
EZUIKitHDDemo.play({
|
|
104
|
-
deviceSerial: document.getElementById("deviceSerial").value,
|
|
105
|
-
channelNo: document.getElementById("channelNo").value,
|
|
106
|
-
validateCode: document.getElementById("validateCode").value
|
|
107
|
-
});
|
|
108
|
-
}
|
|
109
|
-
const toPreView = () => {
|
|
110
|
-
EZUIKitHDDemo.changeModel(0, {
|
|
111
|
-
deviceSerial: document.getElementById("deviceSerial").value,
|
|
112
|
-
channelNo: document.getElementById("channelNo").value,
|
|
113
|
-
validateCode: document.getElementById("validateCode").value
|
|
114
|
-
|
|
115
|
-
});
|
|
116
|
-
document.getElementById('talk').removeAttribute('disabled');
|
|
117
|
-
document.getElementById('stoptalk').removeAttribute('disabled')
|
|
118
|
-
document.getElementById('layout').removeAttribute('disabled');
|
|
119
|
-
document.getElementById('videohd').removeAttribute('disabled')
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
const toRec = () => {
|
|
123
|
-
|
|
124
|
-
EZUIKitHDDemo.changeModel(1, {
|
|
125
|
-
deviceSerial: document.getElementById("deviceSerial").value,
|
|
126
|
-
channelNo: document.getElementById("channelNo").value,
|
|
127
|
-
validateCode: document.getElementById("validateCode").value,
|
|
128
|
-
startTime: document.getElementById("startTime").value,
|
|
129
|
-
endTime: document.getElementById("endTime").value,
|
|
130
|
-
});
|
|
131
|
-
// 回放模式下,无对讲功能
|
|
132
|
-
document.getElementById('talk').setAttribute('disabled', true);
|
|
133
|
-
document.getElementById('stoptalk').setAttribute('disabled', true);
|
|
134
|
-
// 回放情况下,无法设置布局
|
|
135
|
-
document.getElementById('layout').setAttribute('disabled', true);
|
|
136
|
-
// 回放模式下,无法设置清晰度
|
|
137
|
-
document.getElementById('videohd').setAttribute('disabled', true);
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
const startSave = () => {
|
|
141
|
-
EZUIKitHDDemo.startSave(document.getElementById("wndId").value);
|
|
142
|
-
}
|
|
143
|
-
const stopSave = () => {
|
|
144
|
-
EZUIKitHDDemo.stopSave(document.getElementById("wndId").value);
|
|
145
|
-
}
|
|
146
|
-
const startTalk = () => {
|
|
147
|
-
EZUIKitHDDemo.startTalk(document.getElementById("wndId").value);
|
|
148
|
-
}
|
|
149
|
-
const stopTalk = () => {
|
|
150
|
-
EZUIKitHDDemo.stopTalk(document.getElementById("wndId").value);
|
|
151
|
-
}
|
|
152
|
-
const setVideoLevel = () => {
|
|
153
|
-
EZUIKitHDDemo.setVideoLevel(document.getElementById("wndId").value, document.getElementById("videoLevel").value);
|
|
154
|
-
}
|
|
155
|
-
const setSoundVolumn = () => {
|
|
156
|
-
EZUIKitHDDemo.setSoundVolumn(document.getElementById("wndId").value, document.getElementById("soundVolumn").value);
|
|
157
|
-
}
|
|
158
|
-
const setLayout = () => {
|
|
159
|
-
EZUIKitHDDemo.setLayout(document.getElementById("layoutValue").value);
|
|
160
|
-
}
|
|
161
|
-
const capturePicture = () => {
|
|
162
|
-
EZUIKitHDDemo.capturePicture(document.getElementById("wndId").value);
|
|
163
|
-
}
|
|
164
|
-
const stop = () => {
|
|
165
|
-
EZUIKitHDDemo.stop(document.getElementById("wndId").value);
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
</script>
|
|
169
|
-
</body>
|
|
170
|
-
|
|
171
|
-
</html>
|