AtomicXCore SDK is TRTC's next-generation reactive API suite, purpose-built for audio and video calling scenarios. It enables you to quickly build custom UI pages for your applications.
The SDK provides comprehensive features for call management, participant management, and device management. Built on TRTC's infrastructure, it delivers ultra-low latency and high-quality audio and video performance.
This page provides a categorized overview of all audio and video calling APIs available in AtomicXCore SDK for iOS.
LoginStore
User Authentication & Login Management Module
Core Features: Responsible for base authentication services, including user identity verification, login state management, and user profile maintenance.
Reactive Data
|
| Current logged-in user information. |
| Current login status. |
Interface Functions
|
| Logs in the user. |
| Logs out the user. |
| Sets user profile information. |
CallStore
Call Management Module
Core Features: Manages the lifecycle of audio and video calls, including initiating, answering, rejecting, and ending one-on-one and group calls, as well as call history.
Technical Highlights:
Paginated call history queries
Real-time status synchronization (participant lists, volume levels, network quality)
Reactive data management using Combine to keep UI synchronized with call states
Event-driven architecture (CallEvent) for monitoring call start, invitation received, and call end events
Business Value: Provides call management capabilities for audio/video communication platforms, supporting one-on-one and group call scenarios. Serves as the foundation for real-time audio/video services.
Use Cases: Initiating and answering calls, call state management, group collaboration, querying and deleting call records.
Reactive Data
Data | Description |
| Call event publisher for subscribing to call events. |
| Current call state. |
Interface Functions
|
| Initiates a 1-on-1 or group call. |
| Answers an incoming call. |
| Rejects an incoming call. |
| Hangs up the current call. |
| Actively joins an ongoing call. |
| Invites a user to join the call. |
| Queries recent call history records. |
| Deletes recent call history records. |
CallCoreView
Call View Component
Core Features: Renders video and handles interactions for the call interface. Supports multiple layout modes (1-on-1 floating, multi-user grid, Picture-in-Picture), call-waiting animations, and customization of volume indicators, network status, and user avatars.
Technical Highlights:
Dynamic switching between three layout modes: Float, Grid, and Picture-in-Picture
Customizable volume and network quality indicators
Reactive architecture using Combine
Automatic subscription to CallStore states for real-time synchronization
Business Value: Provides a ready-to-use view component for audio/video call scenarios, encapsulating video layout and state management logic.
Use Cases: Audio/video call scenarios requiring UI customization.
Interface Functions
|
| Sets the layout type. |
| Sets the call-waiting animation. |
| Sets icons for different volume levels. |
| Sets icons for network quality levels. |
| Sets avatars for call participants. |
DeviceStore
Device State Management Module
Core Features: Manages audio and video hardware (cameras, microphones), monitors device state, and handles permission checks.
Technical Highlights:
Multi-device management
Real-time status monitoring
Dynamic permission checks
Automatic device fault recovery
Business Value: Provides a stable hardware foundation for audio/video calls, ensuring reliable media capture and smooth user experience.
Use Cases: Device management, permission control, audio/video capture, and hardware troubleshooting.
Reactive Data
|
| Microphone ON/OFF status. |
| The last error state reported by the microphone. |
| Recording/Capture volume level (0-100). |
| Current real-time microphone volume (0-100). |
| Playout/Output volume level (0-100). |
| Camera ON/OFF status. |
| The last error state reported by the camera. |
| Indicates if the front camera is currently in use. |
| Local video mirroring type. |
| Local video quality settings. |
| Current audio output route (Speaker/Earpiece/Headphones). |
| Screen sharing status. |
| Network information and status. |
Interface Functions
|
| Enables the local microphone. |
| Disables the local microphone. |
| Sets the recording volume. |
| Sets the playout volume. |
| Enables the local camera. |