ZegoSoundLevelDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | zego-api-sound-level-oc.h |
– onSoundLevelUpdate:
拉流音浪信息更新回调。回调频率由 setSoundLevelMonitorCycle 指定,默认 200ms 回调一次
- (void)onSoundLevelUpdate:(NSArray<ZegoSoundLevelInfo*> *)soundLevels
Parameters
soundLevels |
房间内所有流(非自己推的流)的音浪信息,参考 ZegoSoundLevelInfo 定义 |
---|
Declared In
zego-api-sound-level-oc.h
– onCaptureSoundLevelUpdate:
推流音浪信息更新回调。回调频率由 setSoundLevelMonitorCycle 指定,默认 200ms 回调一次
- (void)onCaptureSoundLevelUpdate:(ZegoSoundLevelInfo *)captureSoundLevel
Parameters
captureSoundLevel |
房间内采集的音浪信息(自己推的流),参考 ZegoSoundLevelInfo 定义 |
---|
Declared In
zego-api-sound-level-oc.h