DualStreamerFactory

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

The streamer factory to create a streamer with a 2 outputs: IDualStreamer.

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): IDualStreamer

Creates a streamer.