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, val connectInfo: ConnectObjectBuilder.() -> Unit? = null) : MediaDescriptor

RTMP connection parameters

Functions

Link copied to clipboard

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. Otherwise, an InvalidParameterException will be thrown.

fun RtmpMediaDescriptor(uri: Uri, connectInfo: ConnectObjectBuilder.() -> Unit? = null): RtmpMediaDescriptor

Creates a RTMP connection descriptor from an Uri