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
@@ -54,7 +54,7 @@ func (w *TrackWriter) Start() error {
}
logger.Debugw("starting track writer",
"track", w.track.ID(),
"trackID", w.track.ID(),
"mime", w.mime)
switch w.mime {
case webrtc.MimeTypeOpus: