RtmpMediaDescriptor
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(source)
Creates a RTMP connection descriptor from an Uri
Parameters
uri
the server uri
connectInfo
configures the RTMP connect command sent during the handshake