remove logs about sending lossy packet

This commit is contained in:
David Zhao
2021-04-28 12:39:07 -07:00
parent 6b63cd5b31
commit e1f23e6dbe
-2
View File
@@ -478,13 +478,11 @@ func (p *ParticipantImpl) SendDataPacket(dp *livekit.DataPacket) error {
if p.reliableDC == nil {
return ErrDataChannelUnavailable
}
logger.Debugw("sending reliable packet", "participant", p.Identity())
return p.reliableDC.Send(data)
} else {
if p.lossyDC == nil {
return ErrDataChannelUnavailable
}
logger.Debugw("sending lossy packet", "participant", p.Identity())
return p.lossyDC.Send(data)
}
}