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:
| Name | Type | Description |
|---|---|---|
percentage | integer | bufferingStatus.percentage now |
previousPercentage | integer | the highest percentage this buffering episode reached |
isLive | boolean | the item is a Live TV channel |
Returns:
a BufferCheckAction
- Type:
- string