run method
Runs this command.
The return value is wrapped in a Future
if necessary and returned by
CommandRunner.runCommand
.
Implementation
@override
void run() async {
await initializeObs();
await obs.config.setVideoSettings(VideoSettings(
fpsNumerator: argResults?['fps-numerator'],
fpsDenominator: argResults?['fps-denominator'],
baseWidth: argResults?['base-width'],
baseHeight: argResults?['base-height'],
outputWidth: argResults?['output-width'],
outputHeight: argResults?['output-height'],
));
obs.close();
}