Show / Hide Table of Contents

Enum TRTCVideoFillMode

1.5 Image fill mode

If the target resolution does not match the original resolution of a video, you need to specify the image fill mode.

- TRTCVideoFillMode_Fill: The excess parts are cropped, and the image may not be displayed in whole.

- TRTCVideoFillMode_Fit: The long side of the image is stretched to fit the screen, and the blank area is filled with black bars. The image is displayed in whole.

Namespace: trtc
Assembly: cs.temp.dll.dll
Syntax
public enum TRTCVideoFillMode

Fields

Name Description
TRTCVideoFillMode_Fill

The image is scaled to fill the entire screen, and the excess parts are cropped.

TRTCVideoFillMode_Fit

The long side of the image is stretched to fit the screen, and the blank area is filled with black bars.

In This Article
Back to top Generated by DocFX