OGBufferProfile

class OGBufferProfile(val targetBufferBytes: Int, val maxBufferMs: Int)

A capped "standby" buffering profile for players that are prepared but not on screen — the vertical feed keeps its preloaded items on this profile so a whole pool stays within a predictable memory budget. Set it once via OGPlayer.Builder.setStandbyBufferProfile; switch the live role with OGPlayer.setBufferRole.

Constructors

Link copied to clipboard
constructor(targetBufferBytes: Int, maxBufferMs: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

stop buffering once this much media is ahead of the playhead while standby (min 1000).

Link copied to clipboard

hard byte cap for buffered media while standby (min 2MB).