# HandshakeExtension

data class HandshakeExtension(version: String = "1.5.3", flags: Int = ExtensionContentFlag.REXMITFLG.value or ExtensionContentFlag.CRYPT.value, receiverDelay: Int = 120, senderDelay: Int = 0, path: String = "", encryptInfo: EncryptInfo? = null) : SrtPacket

Created by pedro on 22/8/23.

## Constructors

HandshakeExtension
Link copied to clipboard
constructor(version: String = "1.5.3", flags: Int = ExtensionContentFlag.REXMITFLG.value or ExtensionContentFlag.CRYPT.value, receiverDelay: Int = 120, senderDelay: Int = 0, path: String = "", encryptInfo: EncryptInfo? = null)

## Properties

buffer
Link copied to clipboard
var buffer: ByteArrayOutputStream

## Functions

getData
Link copied to clipboard
fun getData(): ByteArray
resetBuffer
Link copied to clipboard
fun resetBuffer()
write
Link copied to clipboard
fun write()