Alexandr Borovkov
Alexandr Borovkov

Reputation: 65

How to check if remote participant disabled video (Twilio Programmable Video)

I've created peer to peer video chat using Twilio Programmable Video. I want to check if remote participant disabled video track and show avatar of that user for local participant in this case. How can I do it? Is there some event I can subscribe to know it?

Upvotes: 1

Views: 882

Answers (2)

philnash
philnash

Reputation: 73037

Twilio developer evangelist here.

You are looking for the RemoteParticipant's trackUnpublished event.

Upvotes: 1

Related Questions