Quote webrtc offer ID as ASCII-only

This commit is contained in:
Matt Joiner 2021-10-25 21:03:51 +11:00
parent ccf57798a2
commit e7426133e2
1 changed files with 1 additions and 1 deletions

View File

@ -334,7 +334,7 @@ func (tc *TrackerClient) handleAnswer(offerId string, answer webrtc.SessionDescr
defer tc.mu.Unlock()
offer, ok := tc.outboundOffers[offerId]
if !ok {
tc.Logger.WithDefaultLevel(log.Warning).Printf("could not find offer for id %q", offerId)
tc.Logger.WithDefaultLevel(log.Warning).Printf("could not find offer for id %+q", offerId)
return
}
//tc.Logger.WithDefaultLevel(log.Debug).Printf("offer %q got answer %v", offerId, answer)