remove logs about sending lossy packet
This commit is contained in:
@@ -478,13 +478,11 @@ func (p *ParticipantImpl) SendDataPacket(dp *livekit.DataPacket) error {
|
|||||||
if p.reliableDC == nil {
|
if p.reliableDC == nil {
|
||||||
return ErrDataChannelUnavailable
|
return ErrDataChannelUnavailable
|
||||||
}
|
}
|
||||||
logger.Debugw("sending reliable packet", "participant", p.Identity())
|
|
||||||
return p.reliableDC.Send(data)
|
return p.reliableDC.Send(data)
|
||||||
} else {
|
} else {
|
||||||
if p.lossyDC == nil {
|
if p.lossyDC == nil {
|
||||||
return ErrDataChannelUnavailable
|
return ErrDataChannelUnavailable
|
||||||
}
|
}
|
||||||
logger.Debugw("sending lossy packet", "participant", p.Identity())
|
|
||||||
return p.lossyDC.Send(data)
|
return p.lossyDC.Send(data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user