Closed PavloShchur closed 3 years ago
After publishing video track
await currentRoom.localParticipant.publishTrack(track, {priority : 'low'});
I receive 'trackPublished'
participant.on('trackPublished', publication => { trackPublished(publication, participant); }) ;
function trackPublished(publication, participant) { publication.on('subscribed', track => { processTrack(participant, track); }); }
The 'processTrack' function just attaches the track and adds it to the DOM.
Before attaching it.
The issue is recreated.
https://github.com/twilio/video-quickstart-js/issues/158
After publishing video track
await currentRoom.localParticipant.publishTrack(track, {priority : 'low'});
I receive 'trackPublished'
participant.on('trackPublished', publication => { trackPublished(publication, participant); }) ;
The 'processTrack' function just attaches the track and adds it to the DOM.
Before attaching it.