Research Article

Adaptive Bandwidth Prediction and Smoothing Glitches in Low-Latency Live Streaming

Algorithm 1

Adaptive prediction and smoothing glitches algorithm.
Data:
: Set of available bitrates
, , , : Buffer thresholds
: Network stability factor threshold
INPUT:
: Bitrate of the most recently downloaded segment
: Current playback buffer occupancy (in seconds)
: Network stability factor
are the segment sizes for bitrates
: The Adaptive bandwidth prediction of the segment
Initialization
if or ;
then
;
else
  if;
  then
   ;
 else if;
  then
   if;
   then
    ;
   else
    ;
  else if;
  then
   ;
  end
end
Result:
: The bitrate of the next segment to be downloaded