dropDecoderCache function

Future<int> dropDecoderCache()

Drop every cached demuxer/decoder. Returns the number of entries dropped. Use this in low-memory warnings or when a project is closed. The underlying FFI is sync.

Implementation

Future<int> dropDecoderCache() async {
  return clearDecoderCache().toInt();
}