Skip to content

Commit

Permalink
remove redundant log message, fix printing of encodings (#224)
Browse files Browse the repository at this point in the history
* remove redundant log message, fix printing of encodings

* remove newline, track already adds a newline
  • Loading branch information
bbaldino authored Feb 20, 2020
1 parent 21aeccf commit a32b5b4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class VideoParser(
return null
}
val encodingDesc = findRtpEncodingDesc(videoPacket) ?: run {
logger.warn("Unable to find encoding matching packet! encodings=$tracks, packet=$videoPacket")
logger.warn("Unable to find encoding matching packet! packet=$videoPacket, encodings=${tracks.joinToString(separator = "\n")}")
numPacketsDroppedNoEncoding.incrementAndGet()
return null
}
Expand All @@ -81,7 +81,6 @@ class VideoParser(
return it
}
}
logger.warn("Unable to find encoding matching packet! packet=$packet, encodings=\n${tracks.joinToString(separator = "\n")}")
return null
}

Expand Down

0 comments on commit a32b5b4

Please sign in to comment.