setHardwareDecode method

Future<void> setHardwareDecode(
  1. bool isHardwareDecode
)

Set hardware decoding, the default value is true, it needs to be set before calling play().

Implementation

Future<void> setHardwareDecode(bool isHardwareDecode) async {
  await engineInstanceMethodChannel.invokeMethod('setHardwareDecode', isHardwareDecode);
}