| Crates.io | vmix-http |
| lib.rs | vmix-http |
| version | 0.2.1 |
| created_at | 2026-01-09 23:25:58.01365+00 |
| updated_at | 2026-01-16 10:47:44.569549+00 |
| description | HTTP API client for vMix |
| homepage | |
| repository | https://github.com/FlowingSPDG/vmix-rs |
| max_upload_size | |
| id | 2033139 |
| size | 43,223 |
HTTP API client for vMix. Provides async, request-response style communication with vMix instances.
tokiovmix-coreuse vmix_http::HttpVmixClient;
use std::time::Duration;
#[tokio::main]
async fn main() -> anyhow::Result<()> {
// Connect to vMix
let client = HttpVmixClient::new(
"127.0.0.1:8088".parse()?,
Duration::from_secs(5)
);
// Get XML state
let state = client.get_xml_state().await?;
println!("vMix version: {}", state.version);
// Execute function
client.cut().await?;
Ok(())
}
MIT