exitKeepAlive method
Restores exactly what enterKeepAlive changed. Returns whether video decoding was restarted (so a fresh first frame is coming). Idempotent.
精确还原 enterKeepAlive 改动的内容。返回视频解码是否被重新启动(即接下来会有新的 首帧)。幂等。
Implementation
@override
Future<bool> exitKeepAlive() async {
calls.add('exitKeepAlive');
final was = _heldMode;
_heldMode = null;
return was == MovaKeepAliveMode.muted;
}