Video chat improvements

This commit is contained in:
Isaac
2024-09-25 02:47:44 +08:00
parent b712754820
commit b7d6514e00
2 changed files with 10 additions and 3 deletions

View File

@@ -2111,7 +2111,7 @@ public final class PresentationGroupCallImpl: PresentationGroupCall {
var topParticipants: [GroupCallParticipantsContext.Participant] = []
var reportSpeakingParticipants: [PeerId: UInt32] = [:]
let timestamp = CACurrentMediaTime()
let timestamp = CFAbsoluteTimeGetCurrent()
for (peerId, ssrc) in speakingParticipants {
let shouldReport: Bool
if let previousTimestamp = strongSelf.speakingParticipantsReportTimestamp[peerId] {