TextureInfo

external interface TextureInfo(source)

Properties

Link copied to clipboard
abstract external var codedSize: Size

The full dimensions of the video frame.

Link copied to clipboard
abstract external var colorSpace: ColorSpace

The color space of the video frame.

Link copied to clipboard
abstract external 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 external var handle: SharedTextureHandle

The shared texture handle data.

Link copied to clipboard
abstract external var metadata: Metadata

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

Link copied to clipboard
abstract external var pixelFormat: TextureInfoPixelFormat

The pixel format of the texture.

Link copied to clipboard
abstract external var timestamp: Double

The time in microseconds since the capture start.

Link copied to clipboard
abstract external 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
abstract external var widgetType: TextureInfoWidgetType

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