Reputation: 65
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
Reputation: 65
trackDisabled event allows to check if remote participant disabled video
Upvotes: 1
Reputation: 73037
Twilio developer evangelist here.
You are looking for the RemoteParticipant
's trackUnpublished
event.
Upvotes: 1