twiliovideochat

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?


Solution

  • trackDisabled event allows to check if remote participant disabled video