toggle menu
RootEncoder
androidJvm
switch theme
search in API
srt
/
com.pedro.srt.srt
/
CommandsManager
Commands
Manager
class
CommandsManager
Created by pedro on 23/8/23.
Members
Constructors
Commands
Manager
Link copied to clipboard
constructor
(
)
Properties
audio
Codec
Link copied to clipboard
var
audioCodec
:
AudioCodec
audio
Disabled
Link copied to clipboard
var
audioDisabled
:
Boolean
host
Link copied to clipboard
var
host
:
String
message
Number
Link copied to clipboard
var
messageNumber
:
Int
MTU
Link copied to clipboard
var
MTU
:
Int
sequence
Number
Link copied to clipboard
var
sequenceNumber
:
Int
socket
Id
Link copied to clipboard
var
socketId
:
Int
start
TS
Link copied to clipboard
var
startTS
:
Long
video
Codec
Link copied to clipboard
var
videoCodec
:
VideoCodec
video
Disabled
Link copied to clipboard
var
videoDisabled
:
Boolean
Functions
get
Encrypt
Info
Link copied to clipboard
fun
getEncryptInfo
(
)
:
EncryptInfo
?
get
Encrypt
Type
Link copied to clipboard
fun
getEncryptType
(
)
:
EncryptionType
get
Ts
Link copied to clipboard
fun
getTs
(
)
:
Int
load
Start
Ts
Link copied to clipboard
fun
loadStartTs
(
)
read
Handshake
Link copied to clipboard
suspend
fun
readHandshake
(
socket
:
SrtSocket
?
)
:
Handshake
re
Send
Packets
Link copied to clipboard
suspend
fun
reSendPackets
(
packetsLost
:
List
<
Int
>
,
socket
:
SrtSocket
?
)
reset
Link copied to clipboard
fun
reset
(
)
set
Passphrase
Link copied to clipboard
fun
setPassphrase
(
passphrase
:
String
,
type
:
EncryptionType
)
update
Handling
Queue
Link copied to clipboard
suspend
fun
updateHandlingQueue
(
lastPacketSequence
:
Int
)
write
Ack2
Link copied to clipboard
suspend
fun
writeAck2
(
ackSequence
:
Int
,
socket
:
SrtSocket
?
)
write
Data
Link copied to clipboard
suspend
fun
writeData
(
packet
:
MpegTsPacket
,
socket
:
SrtSocket
?
)
:
Int
write
Handshake
Link copied to clipboard
suspend
fun
writeHandshake
(
socket
:
SrtSocket
?
,
handshake
:
Handshake
=
Handshake()
)
write
Keep
Alive
Link copied to clipboard
suspend
fun
writeKeepAlive
(
socket
:
SrtSocket
?
)
write
Shutdown
Link copied to clipboard
suspend
fun
writeShutdown
(
socket
:
SrtSocket
?
)