Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const room = await connect(accessToken.video, options);
- this.localPreview();
- console.log(room);
- if (room) {
- room._participants.forEach(participant => {
- console.log(participant);
- if (participant.tracks) {
- // this.attachParticipantTracks(participant);
- participant.videoTracks.forEach(publication => {
- console.log('toto je publication');
- console.log(publication);
- console.log('toto je publication.track');
- console.log(publication._track);
- // if (publication.isSubscribed) {
- // const track = publication._track;
- // this.remoteVideo.nativeElement.appendChild(track.attach());
- // }
- });
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement