#streaming #vban

rusty-vban

VBAN API implementation in Rust

8 releases

0.4.1 Sep 18, 2023
0.4.0 Sep 17, 2023
0.2.0 Sep 16, 2023
0.1.5 May 27, 2023
0.1.4 Apr 1, 2023

#203 in Audio

Download history 13/week @ 2023-06-10 6/week @ 2023-06-17 11/week @ 2023-07-01 3/week @ 2023-07-22 1/week @ 2023-07-29 12/week @ 2023-08-05 1/week @ 2023-08-12 7/week @ 2023-08-19 7/week @ 2023-08-26 1/week @ 2023-09-02 13/week @ 2023-09-09 68/week @ 2023-09-16

89 downloads per month

MIT/Apache

42KB
1K SLoC

VBAN API implemented in Rust

API Examples

Emitter

use rusty_vban::emitter::{EmitterBuilder, EmitterOptions};

EmitterBuilder::default()
    .ip_address("192.168.0.1")
    .stream_name("Mic")
    .port(6890) // Optional, default: 6890
    .channels(2) // Optional, default: 2
    .device("default") // Optional, default: "default"
    .backend("default") // Optional, default: "default"
    .build()
    .unwrap()
    .run(EmitterOptions::default())
    .unwrap();

Receptor

use rusty_vban::receptor::{ReceptorBuilder, ReceptorOptions};

ReceptorBuilder::default()
    .latency(16) // Optional, default: 16
    .ip_address("192.168.0.1")
    .stream_name("Mic")
    .port(6890) // Optional, default: 6890
    .channels(2) // Optional, default: 2
    .device("default") // Optional, default: "default"
    .backend("default") // Optional, default: "default"
    .build()
    .unwrap()
    .run(ReceptorOptions::default())
    .unwrap();

Dependencies

~2–37MB
~557K SLoC