Address comments from #1998 (#2006)

This commit is contained in:
David Zhao
2023-08-27 22:50:36 -07:00
committed by GitHub
parent 35f5629910
commit 64bcef28aa
2 changed files with 2 additions and 2 deletions

View File

@@ -1331,7 +1331,7 @@ func BroadcastDataPacketForRoom(r types.Room, source types.LocalParticipant, dp
utils.ParallelExec(destParticipants, dataForwardLoadBalanceThreshold, 1, func(op types.LocalParticipant) {
err := op.SendDataPacket(dp, dpData)
if err != nil && !errors.Is(err, io.ErrClosedPipe) && !errors.Is(err, psrpc.Canceled) &&
errors.Is(err, psrpc.ErrStreamClosed) {
!errors.Is(err, psrpc.ErrStreamClosed) {
op.GetLogger().Infow("send data packet error", "error", err)
}
})

View File

@@ -838,7 +838,7 @@ func (r *RTPStats) maybeAdjustFirstPacketTime(ets uint64) {
"extStartTS", r.timestamp.GetExtendedStart(),
)
if r.firstTime.Sub(firstTime) > firstPacketTimeAdjustThreshold {
r.logger.Debugw("first packet time adjustment too big, ignoring",
r.logger.Infow("first packet time adjustment too big, ignoring",
"startTime", r.startTime.String(),
"nowTime", now.String(),
"before", r.firstTime.String(),