twilio / video-quickstart-ios

Twilio Video Quickstart for iOS
https://www.twilio.com/docs/api/video
MIT License
460 stars 177 forks source link

Black video screen when processing RemoteVideoTrack. #564

Closed PavloShchur closed 3 years ago

PavloShchur commented 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.

image

PavloShchur commented 3 years ago

The issue is recreated.

https://github.com/twilio/video-quickstart-js/issues/158