Some optimisations in the forwarding path. (#2035)

* WIP commit

* WIP

* Fix tests

* clean up

* Release pool in pacer

* fix tests

* fix tests

* remove debug

* fix test
This commit is contained in:
Raja Subramanian
2024-02-20 10:32:35 +05:30
committed by GitHub
parent 91c320770b
commit 4404b6796b
12 changed files with 356 additions and 283 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ type CodecMunger interface {
SetLast(extPkt *buffer.ExtPacket)
UpdateOffsets(extPkt *buffer.ExtPacket)
UpdateAndGet(extPkt *buffer.ExtPacket, snOutOfOrder bool, snHasGap bool, maxTemporal int32) ([]byte, error)
UpdateAndGet(extPkt *buffer.ExtPacket, snOutOfOrder bool, snHasGap bool, maxTemporal int32, outputHeader []byte) (int, int, error)
UpdateAndGetPadding(newPicture bool) ([]byte, error)
UpdateAndGetPadding(newPicture bool, outputHeader []byte) (int, error)
}