TwilioReact
TwilioReact copied to clipboard
Participants cant see each others
Hi, I did the same code which in blogs and it publishes on Heroku for temporary https://videocallingtest.herokuapp.com and set room name 111 but when I tried with two different pcs/laptops they connected correctly but they can't see each other
I had done some changes
attachParticipantTracks(participant, container) {
var tracks = this.getTracks(participant); this.attachTracks(tracks, container); }
getTracks(participant) { return Array.from(participant.tracks.values()).filter(function (publication) { return publication.track; }).map(function (publication) { return publication.track; }); }
actually if I get track like below than i got track.attach is not a function like error
var tracks = Array.from(participant.tracks.values());
so can you tell me anything has to configure or missing?
thanks in advance
bump