feat: visualize retained network playback buffer
This commit is contained in:
@@ -15,6 +15,10 @@ typedef struct PlayerState {
|
||||
PlayerStatus status;
|
||||
double position;
|
||||
double duration;
|
||||
// Retained playable network media ahead, on the same timeline as position.
|
||||
// Empty/unavailable (including local playback and pending seeks) is 0, 0.
|
||||
double buffered_start;
|
||||
double buffered_end;
|
||||
bool has_audio;
|
||||
bool has_video;
|
||||
// False for live/non-seekable inputs; reflects both inputs for separate streams.
|
||||
|
||||
Reference in New Issue
Block a user