mirror of
https://github.com/AlexxIT/go2rtc.git
synced 2025-10-30 19:26:24 +08:00
Update webrtc trace logs for local candidates
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user