wwp 4 months ago
parent
commit
810c38a14e
2 changed files with 3 additions and 1 deletions
  1. +1
    -0
      SafeCampus.WEB/public/static/rtsPlayer.html
  2. +2
    -1
      SafeCampus.WEB/src/components/Form/SButton/index.vue

+ 1
- 0
SafeCampus.WEB/public/static/rtsPlayer.html View File

@@ -66,6 +66,7 @@
// 当RTS拉流成功时触发,通过订阅该事件,可以获取到RTS TraceId // 当RTS拉流成功时触发,通过订阅该事件,可以获取到RTS TraceId
player.on('rtsTraceId', function (data) { player.on('rtsTraceId', function (data) {
console.log('[EVENT]rtsTraceId', data.paramData); console.log('[EVENT]rtsTraceId', data.paramData);
player.setVolume(0)
let fullscreenBtn = document.querySelector('.prism-controlbar .prism-fullscreen-btn') let fullscreenBtn = document.querySelector('.prism-controlbar .prism-fullscreen-btn')
if(fullscreenBtn)fullscreenBtn.style.display = 'none' if(fullscreenBtn)fullscreenBtn.style.display = 'none'
// event.paramData.traceId 拉流的TraceId // event.paramData.traceId 拉流的TraceId


+ 2
- 1
SafeCampus.WEB/src/components/Form/SButton/index.vue View File

@@ -18,7 +18,8 @@ import { FormOptEnum } from "@/enums";
//接口 //接口
interface Props { interface Props {
/** 操作 */ /** 操作 */
opt?: FormOptEnum;
// opt?: FormOptEnum;
opt?: any;
/** 前缀 */ /** 前缀 */
prefix?: string; prefix?: string;
/** 标题 */ /** 标题 */


Loading…
Cancel
Save