Struct for values used to customize video playback buffer length.
#include <player/YiAbstractVideoPlayer.h>
|
std::chrono::milliseconds | min |
|
std::chrono::milliseconds | max |
|
◆ BufferLength() [1/2]
CYIAbstractVideoPlayer::BufferLength::BufferLength |
( |
std::chrono::milliseconds |
minIn, |
|
|
std::chrono::milliseconds |
maxIn |
|
) |
| |
|
inline |
◆ BufferLength() [2/2]
CYIAbstractVideoPlayer::BufferLength::BufferLength |
( |
| ) |
|
|
inline |
- Note
- 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.
◆ 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: