startPlayMixAudioVideo method

Future<void> startPlayMixAudioVideo(
  1. String mixerID,
  2. List<ZegoUIKitUser> users,
  3. Map<String, int> userSoundIDs
)

userSoundIDs is a map<user id, sound id>

Implementation

Future<void> startPlayMixAudioVideo(
  String mixerID,
  List<ZegoUIKitUser> users,
  Map<String, int> userSoundIDs,
) async {
  return ZegoUIKitCore.shared.startPlayMixAudioVideo(
    mixerID,
    users.map((e) => ZegoUIKitCoreUser(e.id, e.name)).toList(),
    userSoundIDs,
  );
}