You.i Engine
CYIAbstractVideoPlayer::BufferLength Struct Reference

Detailed Description

Struct for values used to customize video playback buffer length.

#include <player/YiAbstractVideoPlayer.h>

Public Member Functions

 BufferLength (std::chrono::milliseconds minIn, std::chrono::milliseconds maxIn)
 BufferLength ()

Public Attributes

std::chrono::milliseconds min
std::chrono::milliseconds max

Constructor & Destructor Documentation

◆ BufferLength() [1/2]

CYIAbstractVideoPlayer::BufferLength::BufferLength ( std::chrono::milliseconds  minIn,
std::chrono::milliseconds  maxIn 

◆ BufferLength() [2/2]

CYIAbstractVideoPlayer::BufferLength::BufferLength ( )
This default constructor sets min and max to 0. This corresponds to target buffer lengths of zero, not to the default behaviour of the player.

Member Data Documentation

◆ max

std::chrono::milliseconds CYIAbstractVideoPlayer::BufferLength::max

The value, in milliseconds, that the player should try not let the buffer length exceed.

◆ min

std::chrono::milliseconds CYIAbstractVideoPlayer::BufferLength::min

The value, in milliseconds that the player should try not to allow the buffer length to fall below.

The documentation for this struct was generated from the following file: