Commit e365a850d3bda3a793b0d96c724368e6d0388bb5
1 parent
26414a91
fix: 修复视频通道gbt播放接口错误和视频配置批量新增没有清空值
Showing
2 changed files
with
2 additions
and
1 deletions
@@ -68,7 +68,7 @@ | @@ -68,7 +68,7 @@ | ||
68 | setModalProps({ loading: true, loadingTip: '视频加载中...' }); | 68 | setModalProps({ loading: true, loadingTip: '视频加载中...' }); |
69 | // getStreamingPlayUrl | 69 | // getStreamingPlayUrl |
70 | let result: any = null; | 70 | let result: any = null; |
71 | - if (record.accessMode === AccessMode.GBT28181) { | 71 | + if (record.accessMode === AccessMode.GBT28181 || ifShowGBT) { |
72 | result = await getVideoControlStart({ | 72 | result = await getVideoControlStart({ |
73 | deviceId: params?.deviceId ? params?.deviceId : record?.deviceId, | 73 | deviceId: params?.deviceId ? params?.deviceId : record?.deviceId, |
74 | channelId: params?.channelNo ? params?.channelNo : record?.channelId, | 74 | channelId: params?.channelNo ? params?.channelNo : record?.channelId, |