1 pub const WINDOW_ACKNOWLEDGEMENT_SIZE: u32 = 200000; 2 pub const PEER_BANDWIDTH: u32 = 200000; 3 4 pub mod PeerBandWidthLimitType { 5 pub const HARD: u8 = 0; 6 pub const SOFT: u8 = 1; 7 pub const DYNAMIC: u8 = 2; 8 } 9 10 pub const FMSVER: &'static str = "FMS/3,0,1,123"; 11 pub const CAPABILITIES: f64 = 31.0; 12 pub const LEVEL: &'static str = "status"; 13 14 pub const OBJENCODING_AMF0: f64 = 0.0; 15 pub const OBJENCODING_AMF3: f64 = 3.0; 16 17 pub const STREAM_ID: f64 = 1.0; 18 19 pub const TRANSACTION_ID_CONNECT: u8 = 1; 20 pub const TRANSACTION_ID_CREATE_STREAM: u8 = 2; 21 22 //pub mod 23 pub const RTMP_LEVEL_WARNING: &'static str = "warning"; 24 pub const RTMP_LEVEL_STATUS: &'static str = "status"; 25 pub const RTMP_LEVEL_ERROR: &'static str = "error"; 26