Package-level declarations

Types

Link copied to clipboard
class RtmpMediaDescriptor(val scheme: String, val host: String, val port: Int, val app: String?, val streamKey: String) : MediaDescriptor

RTMP connection parameters

Functions

Link copied to clipboard

Creates a RTMP connection descriptor from an Uri

Creates a RTMP connection descriptor from an descriptor. If the descriptor is already a RtmpMediaDescriptor, it will be returned as is. If the descriptor is an UriMediaDescriptor, it will be converted to a RtmpMediaDescriptor with default TSServiceInfo. Otherwise, an InvalidParameterException will be thrown.