Readonly
nativeThe native player id that this buffer api is attached to.
Gets the buffer level from the Player
The BufferType to return the level for.
a BufferLevels that contains BufferLevel values for audio and video.
Sets the target buffer level for the chosen buffer BufferType across all MediaType options.
The BufferType to set the target level for. On iOS and tvOS, only BufferType.FORWARD_DURATION is supported.
The value to set. On iOS and tvOS when passing 0
, the player will choose an appropriate forward buffer duration suitable for most use-cases. On Android setting to 0
will have no effect.
Provides the means to configure buffer settings and to query the current buffer state. Accessible through Player.buffer.