toggle menu
RootEncoder
androidJvm
switch theme
search in API
rtmp
/
com.pedro.rtmp.rtmp.message
/
RtmpHeader
Rtmp
Header
class
RtmpHeader
(
var
basicHeader
:
BasicHeader
)
Created by pedro on 20/04/21.
Members
Constructors
Rtmp
Header
Link copied to clipboard
constructor
(
basicHeader
:
BasicHeader
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
basic
Header
Link copied to clipboard
var
basicHeader
:
BasicHeader
message
Length
Link copied to clipboard
var
messageLength
:
Int
message
Stream
Id
Link copied to clipboard
var
messageStreamId
:
Int
message
Type
Link copied to clipboard
var
messageType
:
MessageType
?
time
Stamp
Link copied to clipboard
var
timeStamp
:
Int
Functions
get
Packet
Length
Link copied to clipboard
fun
getPacketLength
(
)
:
Int
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
write
Header
Link copied to clipboard
suspend
fun
writeHeader
(
socket
:
RtmpSocket
)
suspend
fun
writeHeader
(
basicHeader
:
BasicHeader
,
socket
:
RtmpSocket
)
Check ChunkType class to know header structure