# RtmpMessage

abstract class RtmpMessage(basicHeader: BasicHeader)

Created by pedro on 20/04/21.

#### Inheritors

Abort
Acknowledgement
Aggregate
Audio
SetChunkSize
SetPeerBandwidth
Video
WindowAcknowledgementSize
Command
UserControl
Data
SharedObject

## Constructors

RtmpMessage
Link copied to clipboard
constructor(basicHeader: BasicHeader)

## Types

Companion
Link copied to clipboard
object Companion

## Properties

header
Link copied to clipboard
val header: RtmpHeader

## Functions

getSize
Link copied to clipboard
abstract fun getSize(): Int
getType
Link copied to clipboard
abstract fun getType(): MessageType
readBody
Link copied to clipboard
abstract fun readBody(input: InputStream)
storeBody
Link copied to clipboard
abstract fun storeBody(): ByteArray
updateHeader
Link copied to clipboard
fun updateHeader(rtmpHeader: RtmpHeader)
writeBody
Link copied to clipboard
suspend fun writeBody(socket: RtmpSocket)
writeHeader
Link copied to clipboard
suspend fun writeHeader(socket: RtmpSocket)