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 colorSpace: ColorSpace

The color space 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

The shared texture handle data.

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

The pixel format of the 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.