|
|
@@ -169,7 +169,8 @@ const state = reactive({
|
|
|
detail: {},
|
|
|
streams: [],
|
|
|
type: 'flv',
|
|
|
- videoUrl: ''
|
|
|
+ videoUrl: '',
|
|
|
+ videoStream: ''
|
|
|
})
|
|
|
|
|
|
watch(
|
|
|
@@ -193,7 +194,11 @@ const recordVideo = async () => {
|
|
|
}
|
|
|
|
|
|
const recordPlay = async (record) => {
|
|
|
- await RtsController.playRecord(record.Path, 'flv')
|
|
|
+ const data = await RtsController.playRecord(record.Path, 'flv')
|
|
|
+ state.visible = true
|
|
|
+ state.videoStream = data
|
|
|
+ console.log(data)
|
|
|
+
|
|
|
getRecordingList()
|
|
|
}
|
|
|
|