Heads up! This method is not supported in Daily Prebuilt.
However, if you're building with the Daily call object, read on.
Allows you to switch between subscribing to all or no (audio, video, screen) tracks.
You cannot call
setSubscribedTracksAutomatically() unless you are in a call. To start off not subscribing to all tracks, use the constructor property
subscribeToTracksAutomatically and set it to
To subscribe to individual tracks, call
updateParticipant() with a
Track subscriptions will only update in a call happening over an SFU connection type.
Resources on track subscriptions