FlvTagBuilder

class FlvTagBuilder(val channel: ChannelWithCloseableData<FLVTag>)(source)

Handles FLV streams and creates FLV data from frames.

Supports one audio and one video stream.

Internal FLV frames handler for FLV based processing (RTMP and FLV files).

Constructors

Link copied to clipboard
constructor(channel: ChannelWithCloseableData<FLVTag>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val metadata: Metadata

FLV metadata containing information about the audio and video streams.

Functions

Link copied to clipboard
suspend fun addStream(streamConfig: CodecConfig): Int

Adds a stream to the filter.

Link copied to clipboard
suspend fun addStreams(streamConfigs: List<CodecConfig>): Map<CodecConfig, Int>

Adds multiple streams to the filter.

Link copied to clipboard
suspend fun clearStreams()
Link copied to clipboard
suspend fun write(closeableFrame: FrameWithCloseable, ts: Int, streamPid: Int)