Improve log messages.
This commit is contained in:
parent
3b0e2f5e85
commit
d03bad88b4
@ -1937,6 +1937,8 @@ void GroupCallManager::process_group_call_participants(
|
|||||||
}
|
}
|
||||||
if (participants_it->second->min_order < min_order) {
|
if (participants_it->second->min_order < min_order) {
|
||||||
// if previously known more users, adjust min_order
|
// if previously known more users, adjust min_order
|
||||||
|
LOG(INFO) << "Decrease min_order from " << participants_it->second->min_order << " to " << min_order << " in "
|
||||||
|
<< input_group_call_id;
|
||||||
participants_it->second->min_order = min_order;
|
participants_it->second->min_order = min_order;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1948,6 +1950,8 @@ void GroupCallManager::process_group_call_participants(
|
|||||||
auto old_min_order = participants_it->second->min_order;
|
auto old_min_order = participants_it->second->min_order;
|
||||||
if (old_min_order > min_order) {
|
if (old_min_order > min_order) {
|
||||||
participants_it->second->min_order = min_order;
|
participants_it->second->min_order = min_order;
|
||||||
|
LOG(INFO) << "Increase min_order from " << old_min_order << " to " << min_order << " in "
|
||||||
|
<< input_group_call_id;
|
||||||
|
|
||||||
for (auto &participant : participants_it->second->participants) {
|
for (auto &participant : participants_it->second->participants) {
|
||||||
auto real_order = get_real_participant_order(can_self_unmute, participant, participants_it->second.get());
|
auto real_order = get_real_participant_order(can_self_unmute, participant, participants_it->second.get());
|
||||||
|
@ -272,7 +272,7 @@ bool operator!=(const GroupCallParticipant &lhs, const GroupCallParticipant &rhs
|
|||||||
}
|
}
|
||||||
|
|
||||||
StringBuilder &operator<<(StringBuilder &string_builder, const GroupCallParticipant &group_call_participant) {
|
StringBuilder &operator<<(StringBuilder &string_builder, const GroupCallParticipant &group_call_participant) {
|
||||||
return string_builder << '[' << group_call_participant.dialog_id << " with source "
|
return string_builder << "GroupCallParticipant[" << group_call_participant.dialog_id << " with source "
|
||||||
<< group_call_participant.audio_source << " and order " << group_call_participant.order << ']';
|
<< group_call_participant.audio_source << " and order " << group_call_participant.order << ']';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user