MediaOutputScreenObject
An object that manages offscreen rendering a streaming video source.
Usage
val session = StreamSession.Builder(context, Preference.shared.rtmpURL.toUri()).build()
val screenSessionObject = MediaOutputScreenObject(context)
screenSessionObject.frame.set(0, 0, 160, 90)
screenSessionObject.videoSize = Size(1600, 900)
playback.stream.registerOutput(screenSessionObject)
mixer.screen.addChild(screenSessionObject)
session.connect(StreamSession.Method.PLAYBACK)Properties
The source of the media data object.
Specifies the deviceOrientation that describe the physical orientation of the device.
Specifies the alignment position along the horizontal axis.
Specifies the imageOrientation that describe the image orientation.
Specifies whether displayed images rotates(true), or not(false).
Specifies the default spacing to laying out content in the screen object.
Specifies the listener to be invoked when a surface changed.
The mvp matrix.
The screen object container that contains this screen object
Specifies the alignment position along the vertical axis.
Specifies the video effect such as a monochrome, a sepia.
Specifies the videoGravity how the displays the visual content.