Stop forwarding on congestion (#429)

* WIP commit

* comment out debug stuff
This commit is contained in:
Raja Subramanian
2022-02-11 09:17:53 +05:30
committed by GitHub
parent 8680f6fd23
commit a6338992e8
7 changed files with 37 additions and 19 deletions
+5
View File
@@ -510,6 +510,11 @@ func (b *Buffer) getExtPacket(rawPacket []byte, rtpPacket *rtp.Packet, arrivalTi
ep.Payload = vp8Packet
ep.KeyFrame = vp8Packet.IsKeyFrame
temporalLayer = int32(vp8Packet.TID)
/*
if ep.KeyFrame {
b.logger.Debugw("SA_DEBUG key frame", "ssrc", b.mediaSSRC) // REMOVE
}
*/
case "video/h264":
ep.KeyFrame = IsH264Keyframe(rtpPacket.Payload)
}