no message

This commit is contained in:
overtake 2020-12-29 20:49:12 +03:00
parent 83e0c1250e
commit ab78cae91e

View File

@ -835,12 +835,12 @@ static void (*InternalVoipLoggingFunction)(NSString *) = NULL;
networkStateUpdated(isConnected ? GroupCallNetworkStateConnected : GroupCallNetworkStateConnecting);
}];
},
.audioLevelsUpdated = [audioLevelsUpdated](std::vector<std::pair<uint32_t, std::pair<float, bool>>> const &levels) {
.audioLevelsUpdated = [audioLevelsUpdated](tgcalls::GroupLevelsUpdate const &levels) {
NSMutableArray *result = [[NSMutableArray alloc] init];
for (auto &it : levels) {
[result addObject:@(it.first)];
[result addObject:@(it.second.first)];
[result addObject:@(it.second.second)];
for (auto &it : levels.updates) {
[result addObject:@(it.ssrc)];
[result addObject:@(it.value.level)];
[result addObject:@(it.value.voice)];
}
audioLevelsUpdated(result);
},