Data

abstract class Data(timeStamp: Int, streamId: Int, basicHeader: BasicHeader) : RtmpMessage

Created by pedro on 21/04/21.

Inheritors

Constructors

Link copied to clipboard
constructor(timeStamp: Int, streamId: Int, basicHeader: BasicHeader)

Properties

Link copied to clipboard

Functions

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