From dca5d743cfdcf192746f9dc58b5c8bf86fcac6c0 Mon Sep 17 00:00:00 2001 From: Yang Hau Date: Wed, 25 Dec 2024 00:48:04 +0100 Subject: [PATCH] Fix bandwidth-estimation-from-disk timestamping Set the frameHeader when reading the file so the currentTimestamp actually gets set --- examples/bandwidth-estimation-from-disk/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/bandwidth-estimation-from-disk/main.go b/examples/bandwidth-estimation-from-disk/main.go index e1a12baf10b..39aa35bc720 100644 --- a/examples/bandwidth-estimation-from-disk/main.go +++ b/examples/bandwidth-estimation-from-disk/main.go @@ -225,7 +225,7 @@ func main() { // Adjust outbound bandwidth for probing default: - frame, _, err = ivf.ParseNextFrame() + frame, frameHeader, err = ivf.ParseNextFrame() } switch {