Commit b9ffcd1d38be85a1f50c5cdebe69731f1e6aa709
1 parent
3051fc82
修复播放页面
Showing
2 changed files
with
4 additions
and
2 deletions
web_src/src/components/channelList.vue
| @@ -220,6 +220,7 @@ export default { | @@ -220,6 +220,7 @@ export default { | ||
| 220 | method: 'get', | 220 | method: 'get', |
| 221 | url: '/api/play/start/' + deviceId + '/' + channelId | 221 | url: '/api/play/start/' + deviceId + '/' + channelId |
| 222 | }).then(function (res) { | 222 | }).then(function (res) { |
| 223 | + console.log(res) | ||
| 223 | that.isLoging = false; | 224 | that.isLoging = false; |
| 224 | if (res.data.code === 0) { | 225 | if (res.data.code === 0) { |
| 225 | 226 | ||
| @@ -241,8 +242,9 @@ export default { | @@ -241,8 +242,9 @@ export default { | ||
| 241 | that.$message.error(res.data.msg); | 242 | that.$message.error(res.data.msg); |
| 242 | } | 243 | } |
| 243 | }).catch(function (e) { | 244 | }).catch(function (e) { |
| 245 | + console.error(e) | ||
| 244 | that.isLoging = false; | 246 | that.isLoging = false; |
| 245 | - that.$message.error("请求超时"); | 247 | + // that.$message.error("请求超时"); |
| 246 | }); | 248 | }); |
| 247 | }, | 249 | }, |
| 248 | queryRecords: function (itemData) { | 250 | queryRecords: function (itemData) { |
web_src/src/components/dialog/devicePlayer.vue
| @@ -313,7 +313,7 @@ export default { | @@ -313,7 +313,7 @@ export default { | ||
| 313 | activePlayer: "jessibuca", | 313 | activePlayer: "jessibuca", |
| 314 | // 如何你只是用一种播放器,直接注释掉不用的部分即可 | 314 | // 如何你只是用一种播放器,直接注释掉不用的部分即可 |
| 315 | player: { | 315 | player: { |
| 316 | - // jessibuca : ["ws_flv", "wss_flv"], | 316 | + jessibuca : ["ws_flv", "wss_flv"], |
| 317 | webRTC: ["rtc", "rtc"], | 317 | webRTC: ["rtc", "rtc"], |
| 318 | }, | 318 | }, |
| 319 | videoHistory: { | 319 | videoHistory: { |