tencent cloud

直播 SDK

动态与公告
TUILiveKit 产品动态
云直播推拉流 SDK 产品动态
新手指引
产品简介
产品概述
产品优势
性能数据
基本概念
购买指南
TRTC Live 价格总览
Live 视频直播计费说明
开通服务(TUILiveKit)
Demo 体验
Demo 体验指引
跑通 Demo(TUILiveKit)
接入指南
视频直播
准备工作
主播开播
观众观看
直播列表
语聊房
准备工作
主播开播
观众观看
直播列表
推流助手
推流助手(Electron 桌面应用)
推流助手(Web 桌面浏览器)
直播监播
监播页面(Web 桌面浏览器 React 版)
监播页面(Web 桌面浏览器 Vue 版)
UI 自定义
直播视频组件
视频源编辑组件
观众列表组件
聊天弹幕组件
媒体源配置面板
连麦管理面板
直播送礼组件
无 UI 集成
搭建视频直播
搭建语聊房
功能指南
关注主播(TUILiveKit)
至臻画质(TUILiveKit)
输入媒体流进房(TUILiveKit)
礼物系统(TUILiveKit)
客户端 API
Android
iOS
Web
服务端 API(TUILiveKit)
账号系统
REST API
第三方回调
错误码(TUILiveKit)
常见问题
平台编译
用户鉴权
云直播推拉流 SDK
产品简介
购买指南
Demo 体验
免费测试
SDK 下载
License 管理
高级功能
客户端 API
常见问题
无 UI 集成方案
API 文档
OSS information
OSS Attribution Notice

iOS

聚焦模式
字号
最后更新时间: 2026-01-15 20:16:15
AtomicXCore SDK is the next-generation reactive API from TRTC, purpose-built for live streaming, and voice chat rooms. This API suite enables rapid UI development and supports comprehensive features including room management, member management, seat control, basic beauty effects, and more. Built on the TRTC SDK, AtomicXCore delivers ultra-low latency and high-quality audio and video experiences. This page provides a complete reference for all AtomicXCore SDK API interfaces, organized by functional module.

LoginStore

User Authentication and Login Management
Core Features: Provide user authentication, manages login state, maintains user profiles, and delivers essential authentication services.
Reactive Data
Data List
Description
Information about the currently logged-in user.
Current login status.
API Functions
Function List
Description
Authenticate and log in a user.
Log out the current user.
Update the user's profile information.

LiveListStore

Live Room List Management
Core Features: Manage the complete lifecycle of live rooms, including creation, joining, leaving, and ending, covering all core business processes.
Technical Highlights: Support paginated loading, real-time status synchronization, dynamic live info updates, and uses reactive data management (Combine) to keep UI and data state synchronized.
Use Cases: Live room list display, room creation, live status management, live data statistics, and other core live streaming scenarios.
Reactive Data
Data List
Description
liveList
Live room list data.
Cursor for paginated live room loading.
Information about the current live room.
API Functions
Function List
Description
Retrieve the live room list.
Create a new live room.
Join an existing live room.
Leave the current live room.
End the live stream.
Update live room information.
Query custom metadata.
Update custom metadata for the live room.

LiveSeatStore

Live Room Seat Management
Core Features: Provide seat control for multi-user co-hosting scenarios, supporting advanced seat status management and audio/video device control.
Technical Highlights: Built on WebRTC, supports multi-stream audio/video management, seat locking, device control, and permission management.
Use Cases: Multi-user co-hosting, host PK, interactive games, online education, conference live streaming, and other multi-user live interaction scenarios.
Reactive Data
Data List
Description
seatList
List of seats in the live room.
canvas
Canvas information for video layout.
List of users currently speaking.
API Functions
Function List
Description
Take a seat (join as co-host).
Leave the seat (exit co-host).
Mute the microphone.
Unmute the microphone.
Remove a user from a seat.
Move a user to a specified seat.
Lock a seat.
Unlock a seat.
Turn on a remote user's camera.
Turn off a remote user's camera.
Turn on a remote user's microphone.
Turn off a remote user's microphone.

LiveAudienceStore

Live Room Audience Management
Core Features: Manage the audience list, controls audience permissions, sets administrators, and maintains order in the live room.
Technical Highlights: Provide real-time audience list updates, hierarchical permission management, batch operations, and advanced moderation features.
Use Cases: Audience management, permission control, live room moderation, audience interaction, and other live streaming scenarios.
Reactive Data
Data List
Description
List of audience members in the live room.
Number of audience members.
API Functions
Function List
Description
Retrieve the audience list.
Assign administrator privileges.
Remove administrator privileges.
Remove a user from the room.
Disable a user's ability to send messages.

DeviceStore

Device Status Management
Core Features: Control audio/video devices such as camera and microphone, monitors device status, and checks permissions.
Technical Highlights: Support multi-device management, real-time device status monitoring, dynamic permission checking, and automatic device recovery.
Use Cases: Device management, permission control, audio/video capture, device fault handling, and other foundational technical scenarios.
Reactive Data
Data List
Description
Microphone enabled status.
Last microphone error.
Microphone capture volume (0-100).
Current microphone volume (0-100).
Audio output volume (0-100).
Camera enabled status.
Last camera error.
Indicates if the front camera is in use.
Local video mirror type.
Local video quality settings.
Current audio output route (speaker or earpiece).
Screen sharing status.
Current network information.
API Functions
Function List
Description
Enable the local microphone.
Disable the local microphone.
Set the microphone capture volume.
Set the audio output volume.
Enable the local camera.

CoGuestStore

Co-Host Guest Management
Core Features: Manage co-host interactions between audience and host, including application, invitation, acceptance, and rejection workflows.
Technical Highlights: Utilize real-time audio/video technology, supports real-time co-hosting status sync, adaptive audio/video quality, and network monitoring.
Use Cases: Audience co-hosting, interactive Q&A, online karaoke, game streaming, and other audience participation scenarios.
Reactive Data
Data List
Description
connected
List of connected co-host guests.
invitees
List of users invited to co-host.
List of users applying to co-host.
List of candidate users available for co-host invitation.
API Functions
Function List
Description
Apply for a co-host seat.
Cancel a co-host application.
Accept a co-host application.
Reject a co-host application.
Invite a user to a co-host seat.
Cancel a co-host invitation.
Accept a co-host invitation.
Reject a co-host invitation.
Disconnect from co-host.

CoHostStore

Host Connection Management
Core Features: Enable host-to-host connections, including invitations, connection requests, status management, and host interactions.
Technical Highlights: Support multi-host audio/video synchronization, picture-in-picture display, and audio/video quality optimization for seamless host collaboration.
Use Cases: Host PK, collaborative streaming, cross-platform co-hosting, host interaction, and advanced live streaming scenarios.
Reactive Data
Data List
Description
connected
List of connected hosts.
invitees
List of hosts invited to connect.
applicant
Host currently applying for connection.
Current host connection status.
API Functions
Function List
Description
Request a host-to-host connection.
Cancel a host connection request.
Accept a host connection request.
Reject a host connection request.
Exit a host connection.

AudioEffectStore

Audio Effects Processing
Core Features: Provide advanced audio effects, including voice changing, reverb, and ear monitoring, with real-time audio adjustments.
Technical Highlights: Powered by Tencent Ethereal Lab's audio algorithms, supports real-time audio effects, low-latency transmission, and audio quality optimization.
Use Cases: Voice changer live streaming, karaoke, audio entertainment, professional audio effects, and other audio processing scenarios.
Reactive Data
Data List
Description
Status of ear monitoring (on/off).
Ear monitor volume level.
Current voice changer effect.
Current reverb effect.
API Functions
Function List
Description
Set the voice changer effect.
Set the reverb effect.
Enable or disable ear monitoring.
Set the ear monitor volume.

BarrageState

Barrage Message Management
Core Features: Manage barrage messaging in live rooms, including text and custom messages, with real-time message synchronization.
Technical Highlights: Support high-concurrency message processing, real-time sync, message filtering, emoji support, and more.
Use Cases: Barrage interaction, message management, emoji, chat room, and other social features.
Reactive Data
Data List
Description
List of barrage messages for the current room.
API Functions
Function List
Description
Send a text barrage message.
Send a custom barrage message.

BaseBeautyStore

Basic Beauty Effects
Core Features: Provide basic beauty adjustments, including skin smoothing, whitening, and ruddy effects, with real-time parameter tuning.
Technical Highlights: Utilize AI beauty algorithms for real-time processing, smooth parameter adjustment, and optimized performance.
Use Cases: Beauty live streaming, appearance enhancement, beauty adjustment, and live stream beautification.
Reactive Data
Data List
Description
Skin smoothing level [0-9]: 0 is off, 9 is maximum.
Whitening level [0-9]: 0 is off, 9 is maximum.
Ruddy level [0-9]: 0 is off, 9 is maximum.
API Functions
Function List
Description
Set skin smoothing level.
Set whitening level.
Set ruddy level.

GiftStore

Gift System Management
Core Features: Manage sending and receiving gifts, gift list management, gift categorization, gift animation, gift statistics, and a complete gift economy system.
Technical Highlights: Support gift animation rendering, effect processing, statistics, leaderboards, and more.
Use Cases: Gift tipping, virtual currency, gift effects, gift statistics, and other monetization scenarios.
Reactive Data
Data List
Description
List of available gifts.
API Functions
Function List
Description
Refresh the available gift list.
Send a gift.

LikeStore

Like Interaction
Core Features: Manage the like feature in live rooms, including sending likes, like statistics, event listening, and interactive effects.
Technical Highlights: Support high-concurrency like processing, real-time statistics, like animations, leaderboards, and more.
Use Cases: Like interaction, popularity statistics, interactive effects, user engagement, and other live streaming scenarios.
Reactive Data
Data List
Description
Total number of likes.
API Functions
Function List
Description
Send a like.


帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈