Use trackID consistently as log key (#491)

* Use trackID consistently as log key

* more useful logging for track published
This commit is contained in:
David Zhao
2022-03-07 21:02:08 -08:00
committed by GitHub
parent 7c0f789316
commit d57f76fbef
7 changed files with 18 additions and 18 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func HandleParticipantSignal(room types.Room, participant types.LocalParticipant
return err
}
case *livekit.SignalRequest_AddTrack:
pLogger.Debugw("add track request", "track", msg.AddTrack.Cid)
pLogger.Debugw("add track request", "trackID", msg.AddTrack.Cid)
participant.AddTrack(msg.AddTrack)
case *livekit.SignalRequest_Answer:
sd := FromProtoSessionDescription(msg.Answer)