rml_rtmp 0.8.0

Rust library for handling aspects of the RTMP protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use super::PublishRequestType;

pub enum TransactionPurpose {
    PlayRequest {
        stream_key: String,
    },

    PublishRequest {
        stream_key: String,
        request_type: PublishRequestType,
    },
}

pub enum OutstandingTransaction {
    ConnectionRequested { app_name: String },

    CreateStream { purpose: TransactionPurpose },
}