Commit f8abd2603002eb6ff296d26f99042681d9b2bc92
1 parent
324ae744
修正推流列表播放错误
Showing
1 changed file
with
2 additions
and
2 deletions
web_src/src/components/PushVideoList.vue
| ... | ... | @@ -133,7 +133,7 @@ |
| 133 | 133 | this.getListLoading = true; |
| 134 | 134 | this.$axios({ |
| 135 | 135 | method: 'get', |
| 136 | - url:`/api/media/stream_info_by_app_and_stream`, | |
| 136 | + url: '/api/media/stream_info_by_app_and_stream', | |
| 137 | 137 | params: { |
| 138 | 138 | app: row.app, |
| 139 | 139 | stream: row.stream, |
| ... | ... | @@ -142,7 +142,7 @@ |
| 142 | 142 | }).then(function (res) { |
| 143 | 143 | that.getListLoading = false; |
| 144 | 144 | that.$refs.devicePlayer.openDialog("streamPlay", null, null, { |
| 145 | - streamInfo: res.data, | |
| 145 | + streamInfo: res.data.data, | |
| 146 | 146 | hasAudio: true |
| 147 | 147 | }); |
| 148 | 148 | }).catch(function (error) { | ... | ... |