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
Name | Data Type | Description |
---|---|---|
Width | Number | The width of the camera live video. |
Height | Number | The height of the camera live video. |
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.