LH-265-enable-audio-in-mediasoup #16
@ -151,7 +151,7 @@ const streamSuccess = (stream) => {
|
|||||||
localVideo.srcObject = stream
|
localVideo.srcObject = stream
|
||||||
console.log('stream', stream);
|
console.log('stream', stream);
|
||||||
const videoTrack = stream.getVideoTracks()[0]
|
const videoTrack = stream.getVideoTracks()[0]
|
||||||
const audioTrack = stream.getAudioTrack()[0]
|
const audioTrack = stream.getAudioTracks()[0]
|
||||||
|
|
||||||
videoParams = {
|
videoParams = {
|
||||||
track: videoTrack,
|
track: videoTrack,
|
||||||
|
Loading…
Reference in New Issue
Block a user