LiteAVDemo(UGC).xiaoshipindemo module, find the LicenseManager class and fill in the applied short video License and Tencent Effect License information:ugcLicenceUrl / ugcKey: the authorization URL and key of the short video License;xmagicAuthLicenceUrl / xmagicAuthKey: the authorization URL and key of the Tencent Effect License.app module, find the build.gradle file and change the value of applicationId to the Android package name filled in when applying for the License.app is the shell project and the business functions are distributed across the other five modules:Module | Description |
Shell project, contains the Application class of the entire project. | |
Business function module (account, list, playback, short video, etc.). | |
High-level wrapper of the short video SDK (including UI). | |
Tencent Effect beauty integration module. | |
Basic beauty module. | |
QUIC protocol detection and acceleration module for short video upload. |

File/Directory | Description |
TCApplication.java | Short video Application class, responsible for ELK data reporting (counting application usage duration). |
build.gradle | Module build configuration; applicationId is configured here. |
AndroidManifest.xml | Application manifest file. |
debug.keystore | Debug signature. |
proguard-rules.pro | Obfuscation rules. |

File/Directory | Description |
common | Common components, including various utility classes and custom interfaces (beauty, player controls). |
login | Account module, including login and registration. |
logoff | Account logout page. |
mainui | Short video main UI, including the main Activity and the video list. |
manager | Permission handling module. |
play | VOD playback module. |
userinfo | Personal profile module. |
videochoose | Short video file selection module. |
videoeditor | Short video editing module. |
videojoiner | Short video composition module. |
videopublish | Short video publishing module. |
videorecord | Short video recording module. |
webview | Used to host H5 pages. |
TCUserMgr.register; log in by calling TCUserMgr.login, and cache the login information in the local SharedPreferences; clear the local cache when logging out.Class Name | Description |
TCLoginActivity.java | User login page. |
TCRegisterActivity.java | User registration page. |
TCUserMgr | User login and registration management class. |
ProgressFragmentUtil | Control for displaying a progress bar. |
TCUserInfoFragment.java | User profile display page. |
TCAboutActivity | About page introducing the short video. |
Class Name | Description |
TCSplashActivity.java | Splash screen interface. |
TCMainActivity.java | Main interface, used to present the short video list, short video recording/editing, and the user information page |
TCLiveListMgr.java | List management class, provides interfaces to obtain the local in-memory list and update the list from the server |
TCLiveListFragment.java | List display interface, responsible for presenting short video data |
TCLiveListAdapter.java | Short video list adapter layer |
TCUGCVideoListAdapter.java | Short video list adapter layer |
TCVideoInfo | Video data |
Class Name | Description |
TCVideoRecordActivity.java | Short video recording interface. |
RecordProgressView | View for press-and-hold short video shooting. |
ComposeRecordBtn | Short video multi-segment shooting progress bar. |
Class Name | Description |
TCVideoChooseActivity.java | Local mp4 file selection interface. |
TCVideoEditerListAdapter.java | Local mp4 file list adapter. |
TCVideoEditerMgr.java | mp4 video file management class, provides interfaces to obtain mp4 files stored on the phone. |
TCVideoFileInfo.java | Local video data. |
Class Name | Description |
TCVideoCutterActivity.java | Short video trimming interface. |
TCVideoEditerActivity.java | Post-trimming editing interface for short videos, with music, filter, speed, tone, sticker, subtitle, and other functions at the bottom. |
TCVideoEffectActivity.java | Click the bottom button to enter the short video effect-adding interface. |
videojoiner/ directory is responsible for short video composition-related functions.Class Name | Description |
TCVideoPublisherActivity.java | Short video publishing interface. |
Class Name | Description |
TCVodPlayerActivity.java | Short video playback interface. |

File/Directory | Description |
basic | Common interfaces. |
component | Components used on pages. |
module | Module wrappers for trimming, editing, effects, composition, multi-screen co-recording, recording, upload, video selection, etc., for convenient use by the corresponding Views. |
utils | Utility class module. |
PermissionIntroductionDialog | Permission dialog. |
UGCKit | UGC initialization class. |
UGCKitConstants | Constant configuration information. |
UGCKitPicturePicker | Image selection module View. |
UGCKitVideoCut | Short video trimming module View. |
UGCKitVideoEdit | Short video editing module View. |
UGCKitVideoEffect | Short video effect setting module View. |
UGCKitVideoJoin | Short video composition module View. |
UGCKitVideoMixRecord | Multi-screen recording module View. |
UGCKitVideoPicker | Video selection module View. |
UGCKitVideoPublish | Video upload module View. |
UGCKitVideoRecord | Short video recording module View. |

File/Directory | Description |
assets | Stores the filters and stickers used in Tencent Effect, as well as the configuration files needed by the beauty panel in TEBeautyKit. |
TEBeautySDKManger | Tencent Effect beauty SDK management class, responsible for SDK initialization, authorization verification, beauty panel resource configuration, and effect resource copying. |
CustomPropertyManager | Custom property management class, handles material selection and setting for custom segmentation (custom background image/video). |
DefaultPanelViewCallback | Default implementation of the beauty panel view callback (TEPanelViewCallback). |
utils | Utility classes, including AppUtils (application information), BitmapUtil (image compression/rotation processing), SPUtils (local storage), UriUtils (Uri to file path). |

File/Directory | Description |
adapter | Beauty panel UI Adapter. |
constant | Beauty constant definitions. |
download | Beauty download module. |
model | Beauty attribute wrapper module. |
utils | Utility classes. |
view | Beauty panel. |
BeautyImpl | Wrapper class for using beauty. |
BeautyParams | Beauty parameter wrapper class. |

File/Directory | Description |
impl | QUIC protocol wrapper implementation, including the QUIC client proxy and callback interface. |
Class Name | Description |
UGCQuicClientProxy.java | QUIC client proxy class, wraps the connection, request, cancel, and other operations of TnetQuicRequest, and forwards underlying callbacks. |
UGCQuicCallback.java | QUIC callback interface, defines callback methods for connection, network establishment, response header/data reception, completion, and closing. |
com.qcloud.cos:quic dependency. The upload module (the QuicClient in ugckit) calls this module's UGCQuicClientProxy / UGCQuicCallback through reflection to complete QUIC link detection before upload; when the business does not need QUIC acceleration, this module's dependency can be removed without affecting the main upload flow.피드백