status.json issues

Want to write your own code to work with a HDHomeRun or work with the HDHomeRun DVR? We are happy to help with concepts, APIs, best practices.
Post Reply
sdust
Posts: 176
Joined: Sat Jun 05, 2021 3:39 am
x 5

status.json issues

Post by sdust »

It seems the NetworkRate as reported by /status.json is very different from /tuner<n>/debug in net: bps=

Shouldn't they be the same?

Quoting Claude:
NetworkRate should be a rate (bytes/sec since last poll, or over a rolling window), not a counter that resets on an internal ~1s tick independent of poll timing.

jasonl
Silicondust
Posts: 17869
Joined: Sun Oct 28, 2007 9:23 pm
x 113

Re: status.json issues

Post by jasonl »

Just playing with it a bit, the debug number seems to be averaged over a longer period of time while the status.json is closer to instant, so the status one swings around more on channels encoded using variable bitrate.

Post Reply