LINXD-2270-p2 #19

Closed
sergiu wants to merge 58 commits from LINXD-2270-p2 into develop
2 changed files with 6 additions and 2 deletions
Showing only changes of commit 2a6f24b2bb - Show all commits

View File

@ -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)

View File

@ -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)