updateSubscriptions method
Future<void>
updateSubscriptions({
- Map<
ParticipantId, SubscriptionSettingsUpdate> ? forParticipants, - Map<
SubscriptionProfile, SubscriptionSettingsUpdate> ? forParticipantsWithProfiles,
Subscribe/unsubscribe to, and/or configure subscription settings for remote media tracks.
Settings in forParticipantsWithProfiles
apply to existing participants in the current call that are configured
with each of those profiles, but do not update the profile itself. i.e., the settings are not applied to future
participants configured with the profile.
If settings are given both an individual participant and for a profile that participant is configured with, the individual settings take precedence.
Implementation
Future<void> updateSubscriptions({
Map<ParticipantId, SubscriptionSettingsUpdate>? forParticipants,
Map<SubscriptionProfile, SubscriptionSettingsUpdate>? forParticipantsWithProfiles,
}) =>
_platformBridge.updateSubscriptions(_native, forParticipants, forParticipantsWithProfiles);