# SharedObjectAmf0

class SharedObjectAmf0 : SharedObject

Created by pedro on 21/04/21.

## Constructors

SharedObjectAmf0
Link copied to clipboard
constructor()

## Properties

header
Link copied to clipboard
val header: RtmpHeader

## Functions

getSize
Link copied to clipboard
open override fun getSize(): Int
getType
Link copied to clipboard
open override fun getType(): MessageType
readBody
Link copied to clipboard
open override fun readBody(input: InputStream)
storeBody
Link copied to clipboard
open override 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)