| | |
| | | method: 'get', |
| | | url: '/api/play/start/' + deviceId + '/' + channelId |
| | | }).then(function (res) { |
| | | console.log(res) |
| | | that.isLoging = false; |
| | | if (res.data.code === 0) { |
| | | |
| | |
| | | that.$message.error(res.data.msg); |
| | | } |
| | | }).catch(function (e) { |
| | | console.error(e) |
| | | that.isLoging = false; |
| | | that.$message.error("请求超时"); |
| | | // that.$message.error("请求超时"); |
| | | }); |
| | | }, |
| | | queryRecords: function (itemData) { |
| | |
| | | activePlayer: "jessibuca", |
| | | // 如何你只是用一种播放器,直接注释掉不用的部分即可 |
| | | player: { |
| | | // jessibuca : ["ws_flv", "wss_flv"], |
| | | jessibuca : ["ws_flv", "wss_flv"], |
| | | webRTC: ["rtc", "rtc"], |
| | | }, |
| | | videoHistory: { |