blackmagicdesign 0.1.0
blackmagicdesign: ^0.1.0 copied to clipboard
Dart client utilities for controlling Blackmagic Design HyperDeck devices over their Ethernet protocol.
Blackmagic Design #
Dart utilities for building remote-control applications for Blackmagic Design devices. This package currently provides basic Ethernet-protocol support for HyperDeck devices.
This is an independent, unofficial package and is not affiliated with Blackmagic Design.
Getting Started #
The HyperDeck API communicates through a TCP socket using Blackmagic Design's
Ethernet protocol. Configure the device address, await a connection, and issue
commands. Device and transport responses update the corresponding static
properties on HyperDeck.
Installation #
Dependency #
Add the package as a dependency in your pubspec.yaml file.
dependencies:
blackmagicdesign: ^0.1.0
Import #
Import the package in your code file.
import 'package:blackmagicdesign/blackmagicdesign.dart';
HyperDeck example #
import 'package:blackmagicdesign/blackmagicdesign.dart';
Future<void> main() async {
HyperDeck.hyperDeckIP = '192.168.10.50';
await HyperDeck.connect();
HyperDeck.deviceInfo();
HyperDeck.info();
HyperDeck.record();
await HyperDeck.close();
}
Calling a command before connect() throws a StateError. Connection failures
are reported as SocketExceptions from connect().
License #
BlackMagic Design is released under License.
About me #
I'm Samson Christopher from India. I like building new stuff.