How to subscribe to only audio feed of remote users after a certain number of remote users threshold is reached

Hi all,
I developed an app where users can have group call. Now due to browser rendering capability issue, I want to add a features where after after lets say 20 users next user call be added as audio only to reduce the load on client machine’s browser. How to do it ?

Just detect when 21st user is connected and subscribe only audio to it.

1 Like