getMixedSoundLevelsStream method

Stream<Map<int, double>> getMixedSoundLevelsStream()

get mixed sound level notifier

Implementation

Stream<Map<int, double>> getMixedSoundLevelsStream() {
  final mixStreams = ZegoUIKitCore.shared.coreData.mixerStreamDic.values;
  if (mixStreams.isEmpty) {
    return const Stream.empty();
  }
  return mixStreams.elementAt(0).soundLevels?.stream ?? const Stream.empty();
}