pub enum SrtControlPacket {
Reject,
HandshakeRequest(SrtHandshake),
HandshakeResponse(SrtHandshake),
KeyRefreshRequest(KeyingMaterialMessage),
KeyRefreshResponse(KeyingMaterialMessage),
StreamId(String),
Congestion(String),
Filter(FilterSpec),
Group {
ty: GroupType,
flags: GroupFlags,
weight: u16,
},
}
Expand description
The SRT-specific control packets
These are Packet::Custom
types
Variants
Reject
SRT handshake reject ID = 0
HandshakeRequest(SrtHandshake)
Tuple Fields
0: SrtHandshake
SRT handshake request ID = 1
HandshakeResponse(SrtHandshake)
Tuple Fields
0: SrtHandshake
SRT handshake response ID = 2
KeyRefreshRequest(KeyingMaterialMessage)
Tuple Fields
Key manager request ID = 3
KeyRefreshResponse(KeyingMaterialMessage)
Tuple Fields
Key manager response ID = 4
StreamId(String)
Tuple Fields
0: String
Stream identifier ID = 5
Congestion(String)
Tuple Fields
0: String
Congestion control type. Often “live” or “file” ID = 6
Filter(FilterSpec)
Tuple Fields
0: FilterSpec
ID = 7 Filter seems to be a string of comma-separted key-value pairs like: a:b,c:d
Group
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SrtControlPacket
impl Send for SrtControlPacket
impl Sync for SrtControlPacket
impl Unpin for SrtControlPacket
impl UnwindSafe for SrtControlPacket
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.