setSubscriptionStateForParticipantMedia

fun setSubscriptionStateForParticipantMedia(participantIdToTracks: Map<ParticipantId, TrackSubscriptionStateUpdate>, listener: RequestListener? = null)

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.