vmix-http

Crates.iovmix-http
lib.rsvmix-http
version0.2.1
created_at2026-01-09 23:25:58.01365+00
updated_at2026-01-16 10:47:44.569549+00
descriptionHTTP API client for vMix
homepage
repositoryhttps://github.com/FlowingSPDG/vmix-rs
max_upload_size
id2033139
size43,223
Shugo Kawamura (FlowingSPDG)

documentation

README

vmix-http

HTTP API client for vMix. Provides async, request-response style communication with vMix instances.

Features

  • Async/await interface via tokio
  • REST-style API access
  • Built on top of vmix-core
  • Helper methods for common operations

Usage

use 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(())
}

License

MIT

Commit count: 30

cargo fmt