Skip to content

Commit

Permalink
Lower log when VLA height changes from warn to info, and log more inf…
Browse files Browse the repository at this point in the history
…ormation. (#2284)

It will change when a screenshared window's size is changed.
  • Loading branch information
JonathanLennox authored Jan 27, 2025
1 parent 45a5258 commit 26cd91b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,11 @@ class VlaReaderNode(
layer.targetBitrate = targetBitrateKbps.kbps
spatialLayer.res?.let { res ->
if (layer.height > 0 && layer.height != res.height) {
logger.warn("Updating layer height from ${layer.height} to ${res.height}")
logger.info {
"Updating layer height for source ${sourceDesc.sourceName} " +
"encoding ${rtpEncoding.primarySSRC} layer ${layer.indexString()} " +
"from ${layer.height} to ${res.height}"
}
}
layer.height = res.height
/* Presume 2:1 frame rate ratios for temporal layers */
Expand Down

0 comments on commit 26cd91b

Please sign in to comment.