This message was deleted.
# helpdesk
s
This message was deleted.
p
hi Sander, there’s a minimal set of events we have to listen to for
useTracks
to work, which are
Copy code
RoomEvent.ParticipantConnected,
      RoomEvent.ConnectionStateChanged,
      RoomEvent.LocalTrackPublished,
      RoomEvent.LocalTrackUnpublished,
      RoomEvent.TrackPublished,
      RoomEvent.TrackUnpublished,
      RoomEvent.TrackSubscriptionStatusChanged,
that said, it should not update on speaker changed if you pass in
updateOnlyOn
events yourself. in case you want the track of a specific user only to be updated you could use
useMediaTrack
instead. let me know if that helps!
b
Thanks, I'll look into it!
Weird, it will still catch the "isSpeaking" property change. What I'm trying to do is get some control over the array order of the Video tracks to make it arrangeable.
p
that’s unexpected! can you share an example reproduction that showcases that? for ordering you could also just call
.sort
on the array and to custom sorting to persist a certain order