TwilioReact icon indicating copy to clipboard operation
TwilioReact copied to clipboard

Participants cant see each others

Open xporium opened this issue 5 years ago • 1 comments

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

xporium avatar Jul 03 '19 10:07 xporium

bump

ChawinTan avatar Sep 09 '19 05:09 ChawinTan