toggle menu
RootEncoder
androidJvm
switch theme
search in API
rtmp
/
com.pedro.rtmp.rtmp.message
/
SetChunkSize
Set
Chunk
Size
class
SetChunkSize
(
var
chunkSize
:
Int
=
RtmpConfig.DEFAULT_CHUNK_SIZE
)
:
RtmpMessage
Created by pedro on 21/04/21.
Members
Constructors
Set
Chunk
Size
Link copied to clipboard
constructor
(
chunkSize
:
Int
=
RtmpConfig.DEFAULT_CHUNK_SIZE
)
Properties
chunk
Size
Link copied to clipboard
var
chunkSize
:
Int
header
Link copied to clipboard
val
header
:
RtmpHeader
Functions
get
Size
Link copied to clipboard
open
override
fun
getSize
(
)
:
Int
get
Type
Link copied to clipboard
open
override
fun
getType
(
)
:
MessageType
read
Body
Link copied to clipboard
open
override
fun
readBody
(
input
:
InputStream
)
store
Body
Link copied to clipboard
open
override
fun
storeBody
(
)
:
ByteArray
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
update
Header
Link copied to clipboard
fun
updateHeader
(
rtmpHeader
:
RtmpHeader
)
write
Body
Link copied to clipboard
suspend
fun
writeBody
(
socket
:
RtmpSocket
)
write
Header
Link copied to clipboard
suspend
fun
writeHeader
(
socket
:
RtmpSocket
)