srs-client 0.2.1

Provides bindings for the main functionalities of the SRS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use super::common::{Hls, Kbps};
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
pub struct Vhost {
    pub id: String,
    pub name: String,
    pub enabled: bool,
    pub clients: i64,
    pub streams: i64,
    pub send_bytes: i64,
    pub recv_bytes: i64,
    pub kbps: Kbps,
    pub hls: Hls,
}