DataPacket
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.
Constructors
Link copied to clipboard
constructor(sequenceNumber: Int = 0, packetPosition: PacketPosition = PacketPosition.SINGLE, order: Boolean = false, encryption: KeyBasedEncryption = KeyBasedEncryption.NONE, retransmitted: Boolean = false, messageNumber: Int = 0, ts: Int = 0, socketId: Int = 0, payload: ByteArray = byteArrayOf())