• 서비스
  • 가격
  • 리소스
  • 기술지원
이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

Beauty Settings

this document primarily introduces how to use RTC Room Engine SDK to implement beauty effect-related features.

Prerequisites

Before using the beauty settings-related features provided by the RTC Room Engine SDK, you need to log in to the SDK first.

User Guide

Set Beauty Level

You can call the setBeautyLevel API and input an Int value to set the beauty level.
The passed in Int value represents the beauty level, with a permissible range of 0 - 9; 0 means disabling, and 9 means the most obvious effect.
iOS
Android
import RTCRoomEngine
import TXLiteAVSDK_Professional

let beautyManager = TUIRoomEngine.sharedInstance().getTRTCCloud().getBeautyManager()

let beautyLevel = 6
beautyManager.setBeautyLevel(beautyLevel) // Replace with the Int value of the level you need to set
TXBeautyManager beautyManager = TUIRoomEngine.sharedInstance().getTRTCCloud().getBeautyManager();

int beautyLevel = 6;
beautyManager.setBeautyLevel(beautyLevel); // Replace with the Int value of the level you need to set

Set Beauty Level

You can call the setWhitenessLevel API and input an Int value to set the whitening level.
The passed in Int value represents the whitening level, with a permissible range of 0 - 9; 0 means disabling, and 9 means the most obvious effect.
iOS
Android
import RTCRoomEngine
import TXLiteAVSDK_Professional

let beautyManager = TUIRoomEngine.sharedInstance().getTRTCCloud().getBeautyManager()

let whitenessLevel = 6
beautyManager.setWhitenessLevel(whitenessLevel) // Replace with the Int value of the level you need to set
TXBeautyManager beautyManager = TUIRoomEngine.sharedInstance().getTRTCCloud().getBeautyManager();

int whitenessLevel = 6;
beautyManager.setWhitenessLevel(whitenessLevel); // Replace with the Int value of the level you need to set

Set Rosy Level

You can call the setRuddyLevel API and input an Int value to set the ruddy level.
The passed in Int value represents the ruddy level, with a permissible range of 0 - 9; 0 means disabling, and 9 means the most obvious effect.
iOS
Android
import RTCRoomEngine
import TXLiteAVSDK_Professional

let beautyManager = TUIRoomEngine.sharedInstance().getTRTCCloud().getBeautyManager()

let ruddyLevel = 6
beautyManager.setRuddyLevel(ruddyLevel) // Replace with the Int value of the level you need to set
TXBeautyManager beautyManager = TUIRoomEngine.sharedInstance().getTRTCCloud().getBeautyManager();

int ruddyLevel = 6;
beautyManager.setRuddyLevel(ruddyLevel); // Replace with the Int value of the level you need to set
Note:
If you need to use more beauty effect related features, please see TXBeautyManager.