Some logging changes. (#4168)

* Some logging changes.

Trying to chase a case of large sequence number gap on subscriber side
where packets are sent after a long time.

* return values instead of logging
This commit is contained in:
Raja Subramanian
2025-12-17 18:05:29 +05:30
committed by GitHub
parent 2f2d0a5735
commit 5c841b8ea1
4 changed files with 20 additions and 5 deletions
@@ -83,7 +83,8 @@ func (d *DependencyDescriptor) Select(extPkt *buffer.ExtPacket, _layer int32) (r
}
if ddwdt.RestartGeneration > d.restartGeneration {
d.logger.Debugw("stream restarted",
d.logger.Debugw(
"stream restarted",
"packet", ddwdt.RestartGeneration,
"current", d.restartGeneration,
"structureKeyFrame", d.extKeyFrameNum,