soundLevelStreamController property
StreamController<double> ?
get
soundLevelStreamController
Implementation
StreamController<double>? get soundLevelStreamController {
final user = ZegoUIKitCore.shared.coreData.getUser(id);
if (user.isEmpty) {
return ZegoUIKitCore.shared.coreData
.getUserInMixerStream(id)
.mainChannel
.soundLevel;
}
return user.mainChannel.soundLevel;
}