wrplayer 1.0.0
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 +413 -0
- package/adapters/react/index.js +272 -0
- package/adapters/vanilla/index.js +392 -0
- package/adapters/vue/index.js +378 -0
- package/core/PTZController.js +462 -0
- package/core/VoiceIntercomController.js +492 -0
- package/core/WRPlayer.js +924 -0
- package/core/ZLMRTCClient-v1.0.1.js +8227 -0
- package/core/ZLMRTCClient-v1.1.2.js +9474 -0
- package/dist/wrplayer.esm.js +11343 -0
- package/dist/wrplayer.esm.js.map +1 -0
- package/dist/wrplayer.umd.js +11351 -0
- package/dist/wrplayer.umd.js.map +1 -0
- package/package.json +62 -0
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "wrplayer",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A unified web video player SDK supporting WebRTC, HLS, DASH and other formats with PTZ camera control",
|
|
5
|
+
"main": "dist/wrplayer.umd.js",
|
|
6
|
+
"module": "dist/wrplayer.esm.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
|
+
"build": "rollup -c",
|
|
10
|
+
"prepublishOnly": "npm run build"
|
|
11
|
+
},
|
|
12
|
+
"keywords": [
|
|
13
|
+
"video",
|
|
14
|
+
"player",
|
|
15
|
+
"webrtc",
|
|
16
|
+
"hls",
|
|
17
|
+
"dash",
|
|
18
|
+
"nextjs",
|
|
19
|
+
"react",
|
|
20
|
+
"vue"
|
|
21
|
+
],
|
|
22
|
+
"author": "gushenjie",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "git+https://gitee.com/warom-org/wrplayer.git"
|
|
27
|
+
},
|
|
28
|
+
"peerDependencies": {
|
|
29
|
+
"react": ">=16.8.0",
|
|
30
|
+
"react-dom": ">=16.8.0",
|
|
31
|
+
"next": ">=13.0.0",
|
|
32
|
+
"vue": ">=3.0.0"
|
|
33
|
+
},
|
|
34
|
+
"peerDependenciesMeta": {
|
|
35
|
+
"react": { "optional": true },
|
|
36
|
+
"react-dom": { "optional": true },
|
|
37
|
+
"next": { "optional": true },
|
|
38
|
+
"vue": { "optional": true }
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@rollup/plugin-commonjs": "^25.0.8",
|
|
42
|
+
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
43
|
+
"rollup": "^4.18.0"
|
|
44
|
+
},
|
|
45
|
+
"exports": {
|
|
46
|
+
".": {
|
|
47
|
+
"import": "./dist/wrplayer.esm.js",
|
|
48
|
+
"require": "./dist/wrplayer.umd.js"
|
|
49
|
+
},
|
|
50
|
+
"./core": "./core/WRPlayer.js",
|
|
51
|
+
"./core/ptz": "./core/PTZController.js",
|
|
52
|
+
"./adapters/react": "./adapters/react/index.js",
|
|
53
|
+
"./adapters/vue": "./adapters/vue/index.js",
|
|
54
|
+
"./adapters/vanilla": "./adapters/vanilla/index.js"
|
|
55
|
+
},
|
|
56
|
+
"files": [
|
|
57
|
+
"dist/",
|
|
58
|
+
"core/",
|
|
59
|
+
"adapters/",
|
|
60
|
+
"README.md"
|
|
61
|
+
]
|
|
62
|
+
}
|