twilio / twilio-video-app-react

A collaboration application built with the twilio-video.js SDK and React.js
Apache License 2.0
1.8k stars 725 forks source link

JSDK-2592 - sdk implement event #775

Closed kiliancabrera closed 1 year ago

kiliancabrera commented 1 year ago

Question is this event implemented?

// TODO: remove when SDK implements this event. See: https://issues.corp.twilio.com/browse/JSDK-2592 localParticipant?.emit('trackUnpublished', localTrackPublication);

Additional context on useLocalVideoToggle.tsx

seancoleman2 commented 1 year ago

Hi @kiliancabrera, thanks for the question! No, this event is not implemented. From an SDK user's perspective, you can consider the Track as unpublished as soon as LocalParticipant.unpublishTrack() is called.

We are monitoring community interest for this here. Please do upvote if you would like to see this in the future as that will help us prioritize.

I will close this for now, but let me know if you have any other questions and I will reopen!