captureVideo method

Future<void> captureVideo({
  1. int seconds = 30,
})

Captures a video for the specified number of seconds.

  • seconds: The duration of the video capture in seconds, default is 30 seconds.

Returns a Future that completes when the video capture has started.

Implementation

Future<void> captureVideo({int seconds = 30}) async {
  return await broadcater.captureVideo(seconds);
}