Commit b9ffcd1d38be85a1f50c5cdebe69731f1e6aa709

Authored by 648540858
1 parent 3051fc82

修复播放页面

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