uvc 1.1.0 copy "uvc: ^1.1.0" to clipboard
uvc: ^1.1.0 copied to clipboard

A Dart package for controlling UVC compliant webcams on macOS and Windows.

example/main.dart

// Copyright (c) 2024 Larry Aasen. All rights reserved.

import 'package:uvc/uvc.dart';

void main() {
  final uvc = UvcLib();

  final camera = uvc.control(vendorId: 0x1532, productId: 0x0E05);

  final value = camera.zoom.min;
  camera.zoom.current = value == null ? 225 : value + 1;

  camera.close();

  uvc.dispose();
}
2
likes
140
pub points
0%
popularity

Publisher

verified publisherlarryaasen.com

A Dart package for controlling UVC compliant webcams on macOS and Windows.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

convert, equatable, ffi, libusb

More

Packages that depend on uvc