We are currently using Twilio Video to enable users to make group video calls, where the calls adopt a grid-style view)
I've been looking for a way to paginate through pages of video tracks. The idea here is we only show the first 12 video tracks, and let the user paginate through sets of 12 video tracks. This functionality resembles Zoom when a video call surpasses a certain number of participants.
The ideal way to accomplish this (it seems) is to set maxTracks=12 when connecting, and then use the Track Priority API to lower the priority of the currently shown video tracks and increase the priority of the next page of video tracks.
Is this correct? Is there better ways to accomplish this?
Another idea was to use the Track Subscriptions API, but this requires us to move control server-side, which doesn't seem ideal for such a use case.