TextureInfo

external interface TextureInfo(source)

Properties

Link copied to clipboard
abstract var codedSize: Size

The full dimensions of the video frame.

Link copied to clipboard
abstract var contentRect: Rectangle

The region of the video frame that capturer would like to populate. In OSR case, it is the same with dirtyRect that needs to be painted.

Link copied to clipboard
abstract var metadata: Metadata

Extra metadata. See comments in src\media\base\video_frame_metadata.h for accurate details.

Link copied to clipboard
abstract var modifier: String

The modifier is retrieved from GBM library and passed to EGL driver.

Link copied to clipboard

The pixel format of the texture. Can be rgba or bgra.

Link copied to clipboard
abstract var planes: <Error class: unknown class><Planes>

Each plane's info of the shared texture.

Link copied to clipboard
abstract var sharedTextureHandle: <Error class: unknown class><out <Error class: unknown class>>

The handle to the shared texture.

Link copied to clipboard
abstract var timestamp: Double

The time in microseconds since the capture start.

Link copied to clipboard
abstract var visibleRect: Rectangle

A subsection of 0, 0, codedSize.width(), codedSize.height(). In OSR case, it is expected to have the full section area.

Link copied to clipboard

The widget type of the texture. Can be popup or frame.