SingleStreamerFactory

open class SingleStreamerFactory(withAudio: Boolean, withVideo: Boolean, defaultRotation: Int? = null) : StreamerFactory<ISingleStreamer>

The streamer factory to create a streamer with a single output: ISingleStreamer.

Parameters

withAudio

true if the streamer have an audio source

withVideo

true if the streamer have a video source

defaultRotation

the default rotation in Surface rotation (Surface.ROTATION_0, ...). By default, it is the current device orientation.

Constructors

Link copied to clipboard
constructor(withAudio: Boolean, withVideo: Boolean, defaultRotation: Int? = null)

Functions

Link copied to clipboard
open override fun create(context: Context): ISingleStreamer

Creates a streamer.