You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently mbpsSendRate and mbpsRecvRate are calculated based on the interval between srt_bstats(..) calls with clear argument set to true. The argument tells whether to reset interval-based stats like byteSent, or not.
If interval-based stats are not reset, the bitrate calculation interval also grows, making mbpsXSendRate averaged over a constantly increasing range.
Consider using some averaging over one second. For example, storing a moving window of ten byteSentTotal values on every 100 ms, then calculate the rate over the last second using edge values.
Might be worth smoothing this value additionally using a moving average.
SRT Version: 1.4.2 and prior
The text was updated successfully, but these errors were encountered:
Currently
mbpsSendRate
andmbpsRecvRate
are calculated based on the interval betweensrt_bstats(..)
calls withclear
argument set totrue
. The argument tells whether to reset interval-based stats likebyteSent
, or not.If interval-based stats are not reset, the bitrate calculation interval also grows, making
mbpsXSendRate
averaged over a constantly increasing range.Consider using some averaging over one second. For example, storing a moving window of ten
byteSentTotal
values on every 100 ms, then calculate the rate over the last second using edge values.Might be worth smoothing this value additionally using a moving average.
SRT Version: 1.4.2 and prior
The text was updated successfully, but these errors were encountered: