优化播放器以及部分日志
This commit is contained in:
@@ -63,9 +63,7 @@ const devWebpackConfig = merge(baseWebpackConfig, {
|
||||
from: path.resolve(__dirname, '../static'),
|
||||
to: config.dev.assetsSubDirectory,
|
||||
ignore: ['.*']
|
||||
},
|
||||
{ from: 'node_modules/@easydarwin/easywasmplayer/libDecoder.wasm', to: 'static/'},
|
||||
{ from: 'node_modules/@easydarwin/easywasmplayer/EasyWasmPlayer.js', to: 'static/js/'}
|
||||
}
|
||||
])
|
||||
]
|
||||
})
|
||||
|
||||
@@ -114,9 +114,7 @@ const webpackConfig = merge(baseWebpackConfig, {
|
||||
from: path.resolve(__dirname, '../static'),
|
||||
to: config.build.assetsSubDirectory,
|
||||
ignore: ['.*']
|
||||
},
|
||||
{ from: 'node_modules/@easydarwin/easywasmplayer/libDecoder.wasm', to: 'static/'},
|
||||
{ from: 'node_modules/@easydarwin/easywasmplayer/EasyWasmPlayer.js', to: 'static/js/'}
|
||||
}
|
||||
])
|
||||
]
|
||||
})
|
||||
|
||||
6
web_src/package-lock.json
generated
6
web_src/package-lock.json
generated
@@ -5,9 +5,9 @@
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
"@easydarwin/easywasmplayer": {
|
||||
"version": "4.0.7",
|
||||
"resolved": "https://registry.npm.taobao.org/@easydarwin/easywasmplayer/download/@easydarwin/easywasmplayer-4.0.7.tgz",
|
||||
"integrity": "sha1-FNtIUXbdwIWdalvIMEaH0+zUGx4="
|
||||
"version": "4.0.12",
|
||||
"resolved": "https://registry.npm.taobao.org/@easydarwin/easywasmplayer/download/@easydarwin/easywasmplayer-4.0.12.tgz",
|
||||
"integrity": "sha1-8Isg0HkYtHHQ20PLnCTHsOjw7lA="
|
||||
},
|
||||
"@types/q": {
|
||||
"version": "1.5.4",
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
"build": "node build/build.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@easydarwin/easywasmplayer": "^4.0.7",
|
||||
"axios": "^0.19.2",
|
||||
"core-js": "^2.6.5",
|
||||
"echarts": "^4.7.0",
|
||||
|
||||
@@ -9,6 +9,7 @@ import streamProxyList from '../components/StreamProxyList.vue'
|
||||
import devicePosition from '../components/devicePosition.vue'
|
||||
import login from '../components/Login.vue'
|
||||
import parentPlatformList from '../components/ParentPlatformList.vue'
|
||||
import test from '../components/test.vue'
|
||||
|
||||
const originalPush = VueRouter.prototype.push
|
||||
VueRouter.prototype.push = function push(location) {
|
||||
@@ -56,6 +57,11 @@ export default new VueRouter({
|
||||
path: '/devicePosition/:deviceId/:parentChannelId/:count/:page',
|
||||
name: 'devicePosition',
|
||||
component: devicePosition,
|
||||
},,
|
||||
{
|
||||
path: '/test',
|
||||
name: 'test',
|
||||
component: test,
|
||||
},
|
||||
]
|
||||
})
|
||||
|
||||
19
web_src/static/js/EasyWasmPlayer.js
Normal file
19
web_src/static/js/EasyWasmPlayer.js
Normal file
File diff suppressed because one or more lines are too long
BIN
web_src/static/libDecoder.wasm
Normal file
BIN
web_src/static/libDecoder.wasm
Normal file
Binary file not shown.
Reference in New Issue
Block a user