Module packet

Source

Structs§

AckStatistics
CompressedLossList
ControlPacket
A UDP packet carrying control information
DataPacket
A UDT packet carrying data
FilterSpec
FullAckSeqNumber
GroupFlags
HandshakeControlInfo
The control info for handshake packets
HsV5Info
KeyFlags
KeyingMaterialMessage
from https://github.com/Haivision/srt/blob/2ef4ef003c2006df1458de6d47fbe3d2338edf69/haicrypt/hcrypt_msg.h#L76-L96 or https://datatracker.ietf.org/doc/html/draft-sharabayko-srt-00#section-3.2.2
MsgNumber
PacketLocation
Signifies the packet location in a message for a data packet The bitflag just represents the first byte in the second line FIRST | LAST means it’s the only one FIRST means it’s the beginning of a longer message 0 means it’s the middle of a longer message
SeqNumber
SocketId
A newtype wrapper for strongly-typed SocketIDs
SrtHandshake
The SRT handshake object
SrtShakeFlags
TimeSpan
Signed duration in us, e.g. RTT
TimeStamp
Timestamp in us after creation These wrap every 2^32 microseconds

Enums§

Acknowledgement
Data included in a ACK packet. spec
Auth
CipherType
from https://github.com/Haivision/srt/blob/2ef4ef003c2006df1458de6d47fbe3d2338edf69/haicrypt/hcrypt_msg.h#L121-L124
ControlTypes
The different kind of control packets
CoreRejectReason
DataEncryption
GroupType
HandshakeVsInfo
HS-version dependenent data
Packet
Represents A UDT/SRT packet
PacketParseError
PacketType
ReceivePacketError
RejectReason
Reject code must be >= 1000
ServerRejectReason
ShakeType
See https://tools.ietf.org/html/draft-gg-udt-03#page-10
SocketType
The socket type for a handshake.
SrtControlPacket
The SRT-specific control packets These are Packet::Custom types
StreamEncapsulation

Type Aliases§

ReceivePacketResult