LINXD-2270-p2 #19
@ -20775,10 +20775,11 @@ const connectRecvTransport = async () => {
|
||||
if (videoParams) {
|
||||
stream.addTrack(await getVideoTrask(videoParams))
|
||||
} else {
|
||||
console.log('❗ Don\'t have VIDEO stream to consume');
|
||||
console.log('❗ Have VIDEO stream to consume');
|
||||
}
|
||||
|
||||
if (audioParams) {
|
||||
console.log('❗ Have AUDIO stream to consume');
|
||||
let audioTrack = await getAudioTrask(audioParams)
|
||||
stream.addTrack(audioTrack)
|
||||
} else {
|
||||
|
@ -59,6 +59,9 @@
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div id="soundControl">
|
||||
<img src="images/volume-mute.png" alt="sound-image" id="sound"/>
|
||||
</div>
|
||||
<div id="sharedBtns">
|
||||
<button id="btnRecvSendTransport">Consume</button>
|
||||
</div>
|
||||
|
@ -417,10 +417,11 @@ const connectRecvTransport = async () => {
|
||||
if (videoParams) {
|
||||
stream.addTrack(await getVideoTrask(videoParams))
|
||||
} else {
|
||||
console.log('❗ Don\'t have VIDEO stream to consume');
|
||||
console.log('❗ Have VIDEO stream to consume');
|
||||
}
|
||||
|
||||
if (audioParams) {
|
||||
console.log('❗ Have AUDIO stream to consume');
|
||||
let audioTrack = await getAudioTrask(audioParams)
|
||||
stream.addTrack(audioTrack)
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user