SingleStreamerFactory

constructor(withAudio: Boolean, withVideo: Boolean, defaultRotation: Int? = null)

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.