CommandAmf0

class CommandAmf0(var name: String = "", var commandId: Int = 0, timestamp: Int = 0, streamId: Int = 0, basicHeader: BasicHeader = BasicHeader(ChunkType.TYPE_0, ChunkStreamId.OVER_CONNECTION.mark)) : Command

Created by pedro on 21/04/21.

Constructors

Link copied to clipboard
constructor(name: String = "", commandId: Int = 0, timestamp: Int = 0, streamId: Int = 0, basicHeader: BasicHeader = BasicHeader(ChunkType.TYPE_0, ChunkStreamId.OVER_CONNECTION.mark))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun addData(amfData: AmfData)
Link copied to clipboard
open override fun getCode(): String
Link copied to clipboard
open override fun getDescription(): String
Link copied to clipboard
open override fun getSize(): Int
Link copied to clipboard
open override fun getStreamId(): Int
Link copied to clipboard
open override fun getType(): MessageType
Link copied to clipboard
open override fun readBody(input: InputStream)
Link copied to clipboard
open override fun storeBody(): ByteArray
Link copied to clipboard
open override fun toString(): String
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)