| | |
| | | let deviceId = this.deviceId; |
| | | this.isLoging = true; |
| | | let channelId = itemData.channelId; |
| | | console.log("通知设备推流1:" + deviceId + " : " + channelId); |
| | | let getEncoding = itemData.hasAudio ? '1' : '0' |
| | | console.log("通知设备推流1:" + deviceId + " : " + channelId + ":" + getEncoding); |
| | | let that = this; |
| | | this.$axios({ |
| | | method: 'get', |
| | | url: '/api/play/' + deviceId + '/' + channelId |
| | | url: '/api/play/' + deviceId + '/' + channelId + '?getEncoding=' + getEncoding |
| | | }).then(function (res) { |
| | | console.log(res.data) |
| | | let ssrc = res.data.ssrc; |