toggle menu
RootEncoder
androidJvm
switch theme
search in API
rtmp
/
com.pedro.rtmp.rtmp.message.data
/
Data
Data
abstract
class
Data
(
timeStamp
:
Int
,
streamId
:
Int
,
basicHeader
:
BasicHeader
)
:
RtmpMessage
Created by pedro on 21/04/21.
Inheritors
DataAmf0
DataAmf3
Members
Constructors
Data
Link copied to clipboard
constructor
(
timeStamp
:
Int
,
streamId
:
Int
,
basicHeader
:
BasicHeader
)
Properties
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
abstract
fun
getType
(
)
:
MessageType
read
Body
Link copied to clipboard
abstract
fun
readBody
(
input
:
InputStream
)
store
Body
Link copied to clipboard
abstract
fun
storeBody
(
)
:
ByteArray
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
)