dive_obslib 0.5.0 copy "dive_obslib: ^0.5.0" to clipboard
dive_obslib: ^0.5.0 copied to clipboard

PlatformmacOS

A Flutter plugin package for Dive that provides low level access to obslib using FFI.

example/lib/main.dart

import 'package:dive_obslib/dive_obslib.dart';
import 'package:flutter/widgets.dart';

/// dive_obslib Example
void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  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;
}
2
likes
130
pub points
3%
popularity

Publisher

verified publisherlarryaasen.com

A Flutter plugin package for Dive that provides low level access to obslib using FFI.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffi, flutter

More

Packages that depend on dive_obslib