Broadcast how much has been buffered

This commit is contained in:
Ryan Heise 2020-03-07 19:41:40 +11:00
parent 338401b23f
commit eebb343280
3 changed files with 53 additions and 6 deletions

View file

@ -124,14 +124,12 @@
_updatePosition = [self getCurrentPosition];
_updateTime = now;
_eventSink(@[
// state
@(_state),
// buffering
@(_buffering),
// updatePosition
@(_updatePosition),
// updateTime
@(_updateTime),
// TODO: buffer position
@(_updatePosition),
]);
}