Adding transport fallback (#866)

* Adding transport fallback

Commented out for now so that we can gather some data.

* Promoting a few logs to info
This commit is contained in:
Raja Subramanian
2022-08-03 23:03:10 +05:30
committed by GitHub
parent 3c9a2cc66a
commit 6b6f61b4df
3 changed files with 94 additions and 24 deletions
+1 -1
View File
@@ -1275,7 +1275,7 @@ func (f *Forwarder) getTranslationParamsVideo(extPkt *buffer.ExtPacket, layer in
if f.targetLayers.Spatial == layer {
if extPkt.KeyFrame || tp.switchingToTargetLayer {
// lock to target layer
f.logger.Debugw("locking to target layer", "current", f.currentLayers, "target", f.targetLayers)
f.logger.Infow("locking to target layer", "current", f.currentLayers, "target", f.targetLayers)
f.currentLayers.Spatial = f.targetLayers.Spatial
if !f.isTemporalSupported {
f.currentLayers.Temporal = f.targetLayers.Temporal