startRtmpOrRecording
fun startRtmpOrRecording(config: HMSRecordingConfig, hmsActionResultListener: HMSActionResultListener)
Starts rtmp streaming or recording on the parameters described in config.
Parameters
config
the HMSRecordingConfig which defines streaming/recording parameters for this start request.
hmsActionResultListener
the callback that would be called by SDK in case of a success or failure.