set Subscription State For Participant Media
fun setSubscriptionStateForParticipantMedia(participantIdToTracks: Map<ParticipantId, TrackSubscriptionStateUpdate>, listener: RequestListener? = null)
Content copied to clipboard
Start or stop subscribing to specific tracks from specific remote participants.
The optional callback (listener
) will be invoked either when the operation has completed, or if it encounters an error.
Errors will also be provided to the CallClientListener.onError callback.
For more advanced subscription settings, see updateSubscriptions.