I am using webrtc-adapter v2.0.8, when I update my codes from
this.myStream.getTracks().forEach(track => this.peerConnection.addTrack(track, this.myStream));
based on the demo.
I got the error
getUserMedia: TypeError: _this.peerConnection.addTrack is not a
in my browser (Chrome 56.0.2906.0 dev) console.
How can I use
addTrack correctly? Thanks
UPDATE on July 15, 2019: Checked again today. Chrome 64 has support already.
Chrome has not supported
Also check Browser compatibility section here.
Answered By – Hongbo Miao
This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0