Update webrtc trace logs for local candidates

This commit is contained in:
Alex X
2023-11-02 14:58:30 +03:00
parent 535bacf9d6
commit 6b29c37433
2 changed files with 2 additions and 2 deletions

View File

@@ -88,7 +88,7 @@ func go2rtcClient(url string) (core.Producer, error) {
switch msg := msg.(type) {
case *pion.ICECandidate:
s := msg.ToJSON().Candidate
log.Trace().Str("candidate", s).Msg("[webrtc] local")
log.Trace().Str("candidate", s).Msg("[webrtc] local ")
_ = conn.WriteJSON(&ws.Message{Type: "webrtc/candidate", Value: s})
case pion.PeerConnectionState: