@bitfocusas/mockup-bmd-videohub
v1.0.6
Published
[![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
Downloads
32
Readme
Mockup Blackmagic Videohub Server
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 ([email protected]) on behalf of Bitfocus AS.