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 Flutter.
LoginStore
User authentication and login management module
Core Features: Handles user authentication, login state management, and user information maintenance.
Reactive Data
|
| Current logged-in user information. |
| Current login status. |
Interface Functions
|
| Login method. |
| Logout method. |
| Set user information. |
CallStore
Call State 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 queries for call records
Real-time state synchronization (participant lists, volume levels, network quality)
Reactive data management using ValueListenable to keep UI synchronized with call state
Event-driven architecture (CallEventListener) for monitoring call start, invitation received, and call end events
Business Value: Provides call management capabilities for audio and video communication platforms, supporting one-on-one and group call scenarios. Serves as the foundation for real-time audio and video services.
Use Cases: Initiating and answering calls, call state management, group collaboration, querying and deleting call records.
Reactive Data
Data List | Description |
| Current active call information. |
| Recent call record list. |
| Pagination cursor for querying more call records. |
| Current user's own information. |
| List of all participants in the current call. |
| Participant volume information. |
| Participant network quality information. |
Interface Functions
|
| Initiate a single or multi-party call. |
| Accept a call. |
| Reject a call. |
| Hang up a call. |
| Actively join a call. |
| Invite to join a call. |
| Query recent call records. |
| Delete recent call records. |
| Add a call event callback listener. |
| Remove a call event callback listener. |
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 device errors handling.
Reactive Data
|
| Microphone on/off status. |
| Last microphone error status. |
| Capture volume level (0-100). |
| Current microphone volume (0-100). |
| Output volume level (0-100). |
| Camera on/off status. |
| Last camera error status. |
| Whether using front camera. |
| Local mirror type. |
| Local video quality settings. |
| Current audio output route (speaker/earpiece). |
| Screen sharing status. |
| Network information status. |
Interface Functions
|
| Enable local microphone. |
| Disable local microphone. |
| Set capture volume. |
| Set output volume. |
| Set audio output route. |
| Enable local camera. |
| Disable local camera. |
| Switch camera. true: front camera
false: rear camera
|
| Set camera view mirror. |
| Update video quality. |
| Start screen sharing. |
| Stop screen sharing. |