|
@@ -71,8 +71,7 @@ export class RtsController {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static async playRecord (id: string, format: 'flv'| 'mp4' | 'm3u8' | 'h264'| 'h265') {
|
|
static async playRecord (id: string, format: 'flv'| 'mp4' | 'm3u8' | 'h264'| 'h265') {
|
|
|
- await playRecord(id, format)
|
|
|
|
|
- message.success('操作成功')
|
|
|
|
|
|
|
+ return await playRecord(id, format)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
static async stopRecord (id: string) {
|
|
static async stopRecord (id: string) {
|