Skip to content

Participants cant see each others #19

@xporium

Description

@xporium

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions