dive_obslib 0.3.0 dive_obslib: ^0.3.0 copied to clipboard
A Flutter plugin package for Dive that provides low level access to obslib using FFI.
import 'package:dive_obslib/dive_obslib.dart';
/// dive_obslib Example
void main() async {
await setupOBS();
}
Future<bool> setupOBS() async {
bool rv = await obslib.obsStartup();
if (rv) {
rv = obslib.startObs(
1920,
1080,
1920,
1080,
30000,
1001,
);
if (rv) {
obslib.audioSetDefaultMonitoringDevice();
}
}
return rv;
}