getAudioDelay method

Future<int?> getAudioDelay()

Returns the amount of audio track time delay in millisecond.

Implementation

Future<int?> getAudioDelay() async {
  _throwIfNotInitialized('getAudioDelay');
  var audioDelay = await vlcPlayerPlatform.getAudioDelay(_viewId);
  value = value.copyWith(audioDelay: audioDelay);
  return audioDelay;
}