# Package-level declarations

## Types

ControlPacket
Link copied to clipboard
abstract class ControlPacket(var controlType: ControlType, var subtype: ControlType = ControlType.SUB_TYPE, var typeSpecificInformation: Int = 0, var ts: Int = 0, var socketId: Int = 0) : SrtPacket

Created by pedro on 21/8/23.

DataPacket
Link copied to clipboard
class DataPacket(var sequenceNumber: Int = 0, var packetPosition: PacketPosition = PacketPosition.SINGLE, var order: Boolean = false, var encryption: KeyBasedEncryption = KeyBasedEncryption.NONE, var retransmitted: Boolean = false, var messageNumber: Int = 0, var ts: Int = 0, var socketId: Int = 0, var payload: ByteArray = byteArrayOf()) : SrtPacket

Created by pedro on 21/8/23.

PacketType
Link copied to clipboard
enum PacketType : Enum<PacketType>

Created by pedro on 21/8/23.

SrtPacket
Link copied to clipboard
abstract class SrtPacket

Created by pedro on 21/8/23.