Log key frame and layer lock (#496)

This commit is contained in:
Raja Subramanian
2022-03-09 09:50:16 +05:30
committed by GitHub
parent 184fc93c6a
commit acbafa06f2
2 changed files with 4 additions and 0 deletions
+3
View File
@@ -515,6 +515,9 @@ func (b *Buffer) getExtPacket(rawPacket []byte, rtpPacket *rtp.Packet, arrivalTi
case "video/h264":
ep.KeyFrame = IsH264Keyframe(rtpPacket.Payload)
}
if ep.KeyFrame {
b.logger.Debugw("key frame received")
}
return ep, temporalLayer
}