LINXD-2270-p2 #19

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

View File

@ -20775,10 +20775,11 @@ const connectRecvTransport = async () => {
if (videoParams) { if (videoParams) {
stream.addTrack(await getVideoTrask(videoParams)) stream.addTrack(await getVideoTrask(videoParams))
} else { } else {
console.log('❗ Don\'t have VIDEO stream to consume'); console.log('❗ Have VIDEO stream to consume');
} }
if (audioParams) { if (audioParams) {
console.log('❗ Have AUDIO stream to consume');
let audioTrack = await getAudioTrask(audioParams) let audioTrack = await getAudioTrask(audioParams)
stream.addTrack(audioTrack) stream.addTrack(audioTrack)
} else { } else {

View File

@ -59,6 +59,9 @@
</div> </div>
</td> </td>
<td> <td>
<div id="soundControl">
<img src="images/volume-mute.png" alt="sound-image" id="sound"/>
</div>
<div id="sharedBtns"> <div id="sharedBtns">
<button id="btnRecvSendTransport">Consume</button> <button id="btnRecvSendTransport">Consume</button>
</div> </div>

View File

@ -417,10 +417,11 @@ const connectRecvTransport = async () => {
if (videoParams) { if (videoParams) {
stream.addTrack(await getVideoTrask(videoParams)) stream.addTrack(await getVideoTrask(videoParams))
} else { } else {
console.log('❗ Don\'t have VIDEO stream to consume'); console.log('❗ Have VIDEO stream to consume');
} }
if (audioParams) { if (audioParams) {
console.log('❗ Have AUDIO stream to consume');
let audioTrack = await getAudioTrask(audioParams) let audioTrack = await getAudioTrask(audioParams)
stream.addTrack(audioTrack) stream.addTrack(audioTrack)
} else { } else {