VideoCodecs

class VideoCodecs(val value: Int)

Handler for video codecs supported by RTMP protocol. It uses to map videoCodecs from connect command to mime types.

For codecs described in enhanced RTMP, see ExVideoCodecs

Parameters

value

supported video codecs

Constructors

Link copied to clipboard
constructor(value: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The mime type of the codecs contains in the value of videoCodec.

Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun hasCodec(mimeType: String): Boolean

Whether the value has the codec.