stalling property

  1. @override
Stream<bool> get stalling
override

True exactly while playback is stopped waiting for the cache — mpv's paused-for-cache. This is the real rebuffer signal; the kernel's buffering stream is media_kit's merge of core-idle and paused-for-cache and also fires on pause/seek/startup.

恰在"播放因等待缓存而停住"期间为 true——即 mpv 的 paused-for-cache。 这才是真正的卡顿信号;内核的 buffering 流是 media_kit 把 core-idle 与 paused-for-cache 合并后的产物,暂停/seek/起播时也会触发。

Implementation

@override
Stream<bool> get stalling => _stalling.stream;