RtmpMediaDescriptor

constructor(scheme: String, host: String, port: Int, app: String?, streamKey: String, connectInfo: ConnectObjectBuilder.() -> Unit? = null)(source)

Parameters

scheme

the RTMP scheme (rtmp, rtmps, rtmpt, rtmpe, rtmfp, rtmpte, rtmpts)

host

the server ip

port

the server port

app

the application name

streamKey

the stream key

connectInfo

configures the RTMP connect command sent during the handshake