onBandwidthSample
Called periodically to indicate that bytes have been transferred or the estimated bitrate has changed.
Parameters
elapsedMs
The time taken to transfer bytesTransferred, in milliseconds.
bytes
The number of bytes transferred since the last callback.
bitrateEstimate
The estimated bitrate in bits/sec.