Breaking up calc for easier reading. (#402)

* WIP commit

* fix test

* More clean up

* cast to right size

* use local variable

* set a default RTT

* Do not log RTX, although need to figure out source of RTX

* fix test
This commit is contained in:
Raja Subramanian
2022-02-04 14:18:25 +05:30
committed by GitHub
parent 05c8a6b2fd
commit 4388a68b7e
6 changed files with 156 additions and 122 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ func GetTestExtPacket(params *TestExtPacketParams) (*buffer.ExtPacket, error) {
ep := &buffer.ExtPacket{
Head: params.IsHead,
Arrival: params.ArrivalTime,
Packet: packet,
Packet: &packet,
KeyFrame: params.IsKeyFrame,
RawPacket: raw,
}