| | |
| | | this.getListLoading = true; |
| | | this.$axios({ |
| | | method: 'get', |
| | | url:`/api/media/stream_info_by_app_and_stream`, |
| | | url: '/api/media/stream_info_by_app_and_stream', |
| | | params: { |
| | | app: row.app, |
| | | stream: row.stream, |
| | |
| | | }).then(function (res) { |
| | | that.getListLoading = false; |
| | | that.$refs.devicePlayer.openDialog("streamPlay", null, null, { |
| | | streamInfo: res.data, |
| | | streamInfo: res.data.data, |
| | | hasAudio: true |
| | | }); |
| | | }).catch(function (error) { |
| | |
| | | console.log(row) |
| | | }, |
| | | addToGB: function(row){ |
| | | this.$refs.addStreamTOGB.openDialog({app: row.app, stream: row.stream}, this.initData); |
| | | this.$refs.addStreamTOGB.openDialog({app: row.app, stream: row.stream, mediaServerId: row.mediaServerId}, this.initData); |
| | | }, |
| | | removeFromGB: function(row){ |
| | | var that = this; |