init method

Future<void> init()

Implementation

Future<void> init() async {
  await createVideo();
  await videoRenderer.initialize();
  videoRenderer.srcObject = video;
}