rml_rtmp 0.8.0

Rust library for handling aspects of the RTMP protocol.
Documentation
use super::PublishMode;

pub enum StreamState {
    Created,

    Publishing {
        stream_key: String,
        mode: PublishMode,
    },

    Playing {
        stream_key: String,
    },

    Completed,
}

pub struct ActiveStream {
    pub current_state: StreamState,
}