revert network cost change (#550)

This commit is contained in:
cnderrauber
2022-03-22 19:04:13 +08:00
committed by GitHub
parent 0a88dee95e
commit 779fe0f549
2 changed files with 0 additions and 7 deletions
-1
View File
@@ -178,7 +178,6 @@ func (p *ParticipantImpl) sendIceCandidate(c *webrtc.ICECandidate, target liveki
// write candidate
p.params.Logger.Debugw("sending ice candidates",
"candidate", c.String(), "target", target)
ci.Candidate += fmt.Sprintf(" network-cost %d", p.networkCost)
trickle := ToProtoTrickle(ci)
trickle.Target = target
_ = p.writeMessage(&livekit.SignalResponse{