Tencent RTC Blog
Tencent RTC Blog
Tutorial
Personal Info Settings to Your Flutter Project with 1 Line of Code
Tencent RTC - Dev Team
In order to provide a personalized experience for users in your audio/video calling project, Tencent RTC Call (TUICallKit) offers a custom service to set your exclusive nickname and avatar photo. You could integrate the Tencent RTC Call (TUICallKit) component into your Flutter project (Flutter 3.0 or higher version).
Video Tutorial
To customize your nickname or profile photo, use the following API for update:
TUIResult result = TUICallKit.instance.setSelfInfo('userName', 'url:********');
Step 0: Hand login asynchronous flow
As the login function in the Tencent RTC Call (TUICallKit)'s interface is an asynchronous flow, we need to make a simple modification to the relevant code as shown in the following steps:
- Add 'async' after the parentheses of the ' _initCallkit() '