onReset method
视频切换时重置内部状态(保持策略活跃)
Called when the video source changes. Reset internal counters/timers while keeping the strategy active.
Implementation
@override
void onReset() {
_prepareStartTime = 0;
_preparedCompleted = false;
_firstFrameCompleted = false;
}