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
150
points
56
downloads

Publisher

verified publisherlarryaasen.com

Weekly Downloads

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

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

ffi, flutter

More

Packages that depend on dive_obslib