LH-265-enable-audio-in-mediasoup #16
@ -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()
|
||||
}
|
||||
|
||||
|
@ -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()
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user