648540858
2022-05-18 b9ffcd1d38be85a1f50c5cdebe69731f1e6aa709
修复播放页面
2个文件已修改
6 ■■■■■ 已修改文件
web_src/src/components/channelList.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_src/src/components/dialog/devicePlayer.vue 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
web_src/src/components/channelList.vue
@@ -220,6 +220,7 @@
        method: 'get',
        url: '/api/play/start/' + deviceId + '/' + channelId
      }).then(function (res) {
        console.log(res)
        that.isLoging = false;
        if (res.data.code === 0) {
@@ -241,8 +242,9 @@
          that.$message.error(res.data.msg);
        }
      }).catch(function (e) {
        console.error(e)
        that.isLoging = false;
        that.$message.error("请求超时");
        // that.$message.error("请求超时");
      });
    },
    queryRecords: function (itemData) {
web_src/src/components/dialog/devicePlayer.vue
@@ -313,7 +313,7 @@
            activePlayer: "jessibuca",
            // 如何你只是用一种播放器,直接注释掉不用的部分即可
            player: {
              // jessibuca : ["ws_flv", "wss_flv"],
              jessibuca : ["ws_flv", "wss_flv"],
              webRTC: ["rtc", "rtc"],
            },
            videoHistory: {