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