支持直接播放页面

This commit is contained in:
lin
2025-05-12 17:29:45 +08:00
parent c2c44daca6
commit 49f4306bb3
3 changed files with 12 additions and 1 deletions

View File

@@ -244,6 +244,17 @@ export const constantRoutes = [
}
]
},
{
path: '/play/wasm/:url',
name: 'wasmPlayer',
hidden: true,
component: () => import('@/views/common/jessibuca.vue')
},
{
path: '/play/rtc/:url',
name: 'rtcPlayer',
component: () => import('@/views/common/rtcPlayer.vue')
},
// 404 page must be placed at the end !!!
{ path: '*', redirect: '/404', hidden: true }
]

View File

@@ -362,7 +362,7 @@
<script>
import elDragDialog from '@/directive/el-drag-dialog'
import crypto from 'crypto'
import rtcPlayer from '../dialog/rtcPlayer.vue'
import rtcPlayer from '../common/rtcPlayer.vue'
import jessibucaPlayer from '../common/jessibuca.vue'
import PtzPreset from '../common/ptzPreset.vue'
import PtzCruising from '../common/ptzCruising.vue'