getMediaList method

List<ZegoUIKitUser> getMediaList()

get media list

Implementation

List<ZegoUIKitUser> getMediaList() {
  return ZegoUIKitCore.shared.coreData
      .getAudioVideoList(streamType: ZegoStreamType.media)
      .map((e) => e.toZegoUikitUser())
      .toList();
}