LINXD-2270-p2 #19
@ -20368,7 +20368,7 @@ const ASSET_NAME = urlParams.get('assetName') || null;
|
||||
const ASSET_TYPE = urlParams.get('assetType') || null;
|
||||
let callId = parseInt(urlParams.get('callId')) || null;
|
||||
const IS_PRODUCER = urlParams.get('producer') === 'true' ? true : false
|
||||
let remoteVideo = document.getElementById('localVideo')
|
||||
let remoteVideo = document.getElementById('remoteVideo')
|
||||
remoteVideo.defaultMuted = true
|
||||
|
||||
console.log('[URL] ASSET_ID', ASSET_ID, '| ACCOUNT_ID', ACCOUNT_ID, '| callId', callId, ' | IS_PRODUCER', IS_PRODUCER)
|
||||
@ -20807,6 +20807,8 @@ const connectRecvTransport = async () => {
|
||||
|
||||
socket.emit('consumer-resume')
|
||||
|
||||
console.log('stream', stream);
|
||||
|
||||
remoteVideo.srcObject = stream
|
||||
remoteVideo.setAttribute('autoplay', true)
|
||||
remoteVideo.setAttribute('muted', false)
|
||||
|
@ -10,7 +10,7 @@ const ASSET_NAME = urlParams.get('assetName') || null;
|
||||
const ASSET_TYPE = urlParams.get('assetType') || null;
|
||||
let callId = parseInt(urlParams.get('callId')) || null;
|
||||
const IS_PRODUCER = urlParams.get('producer') === 'true' ? true : false
|
||||
let remoteVideo = document.getElementById('localVideo')
|
||||
let remoteVideo = document.getElementById('remoteVideo')
|
||||
remoteVideo.defaultMuted = true
|
||||
|
||||
console.log('[URL] ASSET_ID', ASSET_ID, '| ACCOUNT_ID', ACCOUNT_ID, '| callId', callId, ' | IS_PRODUCER', IS_PRODUCER)
|
||||
@ -449,6 +449,8 @@ const connectRecvTransport = async () => {
|
||||
|
||||
socket.emit('consumer-resume')
|
||||
|
||||
console.log('stream', stream);
|
||||
|
||||
remoteVideo.srcObject = stream
|
||||
remoteVideo.setAttribute('autoplay', true)
|
||||
remoteVideo.setAttribute('muted', false)
|
||||
|
Loading…
Reference in New Issue
Block a user