ScreenRecorderRtmpLiveStreamer
class ScreenRecorderRtmpLiveStreamer(context: Context, enableAudio: Boolean = true, initialOnErrorListener: OnErrorListener? = null, initialOnConnectionListener: OnConnectionListener? = null) : BaseScreenRecorderLiveStreamer
A BaseScreenRecorderStreamer that sends microphone and screen frames to a remote RTMP device. To run this streamer while application is on background, you will have to create a Service. As an example, check for screenrecorder
application.
Parameters
context
application context
enableAudio
Boolean.true to also capture audio. False to disable audio capture.
initialOnErrorListener
initialize OnErrorListener
initialOnConnectionListener
initialize OnConnectionListener
Constructors
Link copied to clipboard
constructor(context: Context, enableAudio: Boolean = true, initialOnErrorListener: OnErrorListener? = null, initialOnConnectionListener: OnConnectionListener? = null)