Methods

(static) classifyBufferCheck(percentage, previousPercentage, isLive) → {string}

What one buffer-check tick should do. The player's bufferingStatus.percentage is compared with the highest value this buffering episode has reached; no gain since the previous tick is a stall. A Live TV stall goes to the host's restart rule rather than straight to the error, because a live feed that drops is reloaded (see liveRestartOnStall in liveTv.bs).

Parameters:
NameTypeDescription
percentageinteger

bufferingStatus.percentage now

previousPercentageinteger

the highest percentage this buffering episode reached

isLiveboolean

the item is a Live TV channel

Returns:

a BufferCheckAction

Type: 
string