Cache local candidates till local description is sent (#908)
This commit is contained in:
@@ -138,7 +138,7 @@ func (p *ParticipantImpl) SendRefreshToken(token string) error {
|
||||
})
|
||||
}
|
||||
|
||||
func (p *ParticipantImpl) sendIceCandidate(c *webrtc.ICECandidate, target livekit.SignalTarget) {
|
||||
func (p *ParticipantImpl) sendICECandidate(c *webrtc.ICECandidate, target livekit.SignalTarget) {
|
||||
p.params.Logger.Infow("sending ice candidate", "candidate", c.String(), "target", target)
|
||||
trickle := ToProtoTrickle(c.ToJSON())
|
||||
trickle.Target = target
|
||||
|
||||
Reference in New Issue
Block a user