OBWS - The obws (obvious) remote control library for OBS
Remote control OBS with the obs-websocket plugin from Rust 🦀.
V5 support
The upcoming obs-websocket v5 is already being worked on and most features are supported. Check out the v5-api branch for more information on how to use it.
A new version will be released shortly after the relese of obs-websocket. Currently waiting on missing docs and eventual breaking changes before the release.
Usage
Add obws to your project with cargo add obws (needs cargo-edit) or add it manually to your
Cargo.toml:
[]
= "0.9.0"
In addition, you will need to use the latest tokio runtime to use this library as it makes heavy use of async/await and is bound to this runtime.
Example
Here we connect to a OBS instance, get some version information and log in to access the whole API and lastly print out a list of available scenes.
For more usage instructions see the docs or check out the examples.
use Result;
use Client;
async
License
This project is licensed under MIT License (or http://opensource.org/licenses/MIT).