Commit be0aa5796d4a5e79f2fe6f22d3bc4e199c7bb99a
Merge branch 'fix/camera-manage-out-video' into 'main_dev'
fix: 修改流媒体退出当前页面调用退出播放接口出错 See merge request yunteng/thingskit-front!1140
Showing
1 changed file
with
3 additions
and
1 deletions
@@ -195,7 +195,9 @@ | @@ -195,7 +195,9 @@ | ||
195 | const handleVideoOut = () => { | 195 | const handleVideoOut = () => { |
196 | if (unref(cameraList).length) { | 196 | if (unref(cameraList).length) { |
197 | unref(cameraList).forEach((item) => { | 197 | unref(cameraList).forEach((item) => { |
198 | - outVideo(item.id); | 198 | + if (item.accessMode === 1) { |
199 | + outVideo(item.id); | ||
200 | + } | ||
199 | }); | 201 | }); |
200 | } | 202 | } |
201 | }; | 203 | }; |