UserControl

class UserControl(var type: Type = Type.PING_REQUEST, var event: Event = Event(-1, -1)) : RtmpMessage

Created by pedro on 21/04/21.

Constructors

Link copied to clipboard
constructor(type: Type = Type.PING_REQUEST, event: Event = Event(-1, -1))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
var type: Type

Functions

Link copied to clipboard
open override fun getSize(): 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)