Skip to main content
Version: 4.3.0

Effect Resolution Info

effect resolution info

Use Effect Resolution Info to get both width and height of the camera live video resolution in TikTok based on the rating of viewers’ devices specifications. The aspect ratio is always 9 x 16. Effect Resolution Info is in the Utility category.

Output

NameData TypeDescription
WidthNumberThe width of the camera live video.
HeightNumberThe height of the camera live video.

Example

effect resolution info example

This example gets the camera resolution information and applies a scale to the width and height. The image size will be adjusted automatically according to the screen resolution.

effect resolution info node