# CommandsManager

class CommandsManager

Created by pedro on 23/8/23.

## Constructors

CommandsManager
Link copied to clipboard
constructor()

## Properties

audioCodec
Link copied to clipboard
var audioCodec: AudioCodec
audioDisabled
Link copied to clipboard
var audioDisabled: Boolean
host
Link copied to clipboard
var host: String
messageNumber
Link copied to clipboard
var messageNumber: Int
MTU
Link copied to clipboard
var MTU: Int
sequenceNumber
Link copied to clipboard
var sequenceNumber: Int
socketId
Link copied to clipboard
var socketId: Int
startTS
Link copied to clipboard
var startTS: Long
videoCodec
Link copied to clipboard
var videoCodec: VideoCodec
videoDisabled
Link copied to clipboard
var videoDisabled: Boolean

## Functions

encryptionEnabled
Link copied to clipboard
fun encryptionEnabled(): Boolean
getEncryptInfo
Link copied to clipboard
fun getEncryptInfo(): EncryptInfo?
getEncryptType
Link copied to clipboard
fun getEncryptType(): EncryptionType
getTs
Link copied to clipboard
fun getTs(): Int
loadStartTs
Link copied to clipboard
fun loadStartTs()
readHandshake
Link copied to clipboard
suspend fun readHandshake(socket: SrtSocket?): Handshake
reSendPackets
Link copied to clipboard
suspend fun reSendPackets(packetsLost: List<Int>, socket: SrtSocket?)
reset
Link copied to clipboard
fun reset()
setPassphrase
Link copied to clipboard
fun setPassphrase(passphrase: String, type: EncryptionType)
updateHandlingQueue
Link copied to clipboard
suspend fun updateHandlingQueue(lastPacketSequence: Int)
writeAck2
Link copied to clipboard
suspend fun writeAck2(ackSequence: Int, socket: SrtSocket?)
writeData
Link copied to clipboard
suspend fun writeData(packet: MpegTsPacket, socket: SrtSocket?): Int
writeHandshake
Link copied to clipboard
suspend fun writeHandshake(socket: SrtSocket?, handshake: Handshake = Handshake())
writeKeepAlive
Link copied to clipboard
suspend fun writeKeepAlive(socket: SrtSocket?)
writeShutdown
Link copied to clipboard
suspend fun writeShutdown(socket: SrtSocket?)