RtmpSocket

abstract class RtmpSocket

Created by pedro on 5/4/22. Socket implementation that accept:

  • TCP

  • TCP SSL/TLS

  • UDP

  • Tunneled HTTP

  • Tunneled HTTPS

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract suspend fun close()
Link copied to clipboard
abstract suspend fun connect()
Link copied to clipboard
abstract suspend fun flush(isPacket: Boolean = false)
Link copied to clipboard
abstract fun isConnected(): Boolean
Link copied to clipboard
abstract fun isReachable(): Boolean
Link copied to clipboard
abstract suspend fun read(): Int
Link copied to clipboard
abstract suspend fun readUInt16(): Int
Link copied to clipboard
abstract suspend fun readUInt24(): Int
Link copied to clipboard
abstract suspend fun readUInt32(): Int
Link copied to clipboard
abstract suspend fun readUInt32LittleEndian(): Int
Link copied to clipboard
abstract suspend fun readUntil(b: ByteArray)
Link copied to clipboard
abstract suspend fun write(b: ByteArray)
abstract suspend fun write(b: Int)
abstract suspend fun write(b: ByteArray, offset: Int, size: Int)
Link copied to clipboard
abstract suspend fun writeUInt16(b: Int)
Link copied to clipboard
abstract suspend fun writeUInt24(b: Int)
Link copied to clipboard
abstract suspend fun writeUInt32(b: Int)
Link copied to clipboard
abstract suspend fun writeUInt32LittleEndian(b: Int)