LH-265-enable-audio-in-mediasoup #16

Closed
sergiu wants to merge 120 commits from LH-265-enable-audio-in-mediasoup into master
2 changed files with 14 additions and 12 deletions
Showing only changes of commit 1084a808c7 - Show all commits

View File

@ -20488,12 +20488,13 @@ let params = {
const streamSuccess = (stream) => {
localVideo.srcObject = stream
// const track = stream.getVideoTracks()[0]
// params = {
// track,
// ...params
// }
// console.log('[streamSuccess] track', params);
console.log('stream', stream);
const track = stream.getVideoTracks()[0]
params = {
track,
...params
}
console.log('[streamSuccess] track', params);
goConnect()
}

View File

@ -130,12 +130,13 @@ let params = {
const streamSuccess = (stream) => {
localVideo.srcObject = stream
// const track = stream.getVideoTracks()[0]
// params = {
// track,
// ...params
// }
// console.log('[streamSuccess] track', params);
console.log('stream', stream);
const track = stream.getVideoTracks()[0]
params = {
track,
...params
}
console.log('[streamSuccess] track', params);
goConnect()
}