setPlaybackSpeed method

  1. @override
Future<void> setPlaybackSpeed(
  1. int textureId,
  2. double speed
)
override

Sets the playback speed to a speed value indicating the playback rate.

Implementation

@override
Future<void> setPlaybackSpeed(int textureId, double speed) async {
  var controller =
      VideoPlayerWinPlatform.instance.getPlayerByTextureId(textureId);
  await controller?.setPlaybackSpeed(speed);
}