New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@bitfocusas/mockup-bmd-videohub

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitfocusas/mockup-bmd-videohub

[![NPM Version](https://img.shields.io/npm/v/@bitfocusas/mockup-bmd-videohub.svg)](https://www.npmjs.com/package/@bitfocusas/mockup-bmd-videohub) [![License](https://img.shields.io/npm/l/@bitfocusas/mockup-bmd-videohub.svg)](LICENSE) [![Contributions Welc

latest
npmnpm
Version
1.0.6
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

Mockup Blackmagic Videohub Server

NPM Version License Contributions Welcome Donate

A mockup server that emulates the Blackmagic Videohub Ethernet Protocol v2.3, allowing you to test and develop applications without access to actual hardware.

Features

  • Emulates the Blackmagic Videohub Ethernet Protocol v2.3
  • Configurable number of inputs and outputs (IO ports)
  • Customizable listening port
  • Ideal for testing and development purposes

Installation

You can run the mockup server directly using npx:

npx @bitfocusas/mockup-bmd-videohub

Alternatively, install it globally:

npm install -g @bitfocusas/mockup-bmd-videohub

Usage

Environment Variables

  • IO: Sets the number of input/output ports (default: 128).
  • PORT: Sets the listening port for the server (default: 9990).

Running the Server

To start the server with default settings:

npx @bitfocusas/mockup-bmd-videohub

To specify the number of IO ports and the listening port:

IO=128 PORT=9991 npx @bitfocusas/mockup-bmd-videohub

Example with custom settings:

export IO=64
export PORT=9992
npx @bitfocusas/mockup-bmd-videohub

Or in one line:

IO=64 PORT=9992 npx @bitfocusas/mockup-bmd-videohub

The server will start and announce:

Starting server with 64 IOs
Successfully bound 9992

Contributing

We welcome contributions from the community!

  • Bug Reports & Feature Requests: Please use the issue tracker to report any bugs or request new features.
  • Pull Requests: Feel free to fork the repository and submit pull requests for improvements.

Support

If you find this project helpful and would like to support its development, please consider making a donation.

Your support helps us maintain and improve this open-source project.

License

This project is licensed under the MIT License.

Author

Developed by William Viker (william@bitfocus.io) on behalf of Bitfocus AS.

Keywords

blackmagic

FAQs

Package last updated on 20 Sep 2024

Related posts