RTC SDK integration: make a two-person meeting work first
These guides are for developers adding video meetings to their own products. Your application owns user sign-in, meeting eligibility, and UI. AKStream.Next owns room control and authorization. The RTC SDK owns devices, media, state synchronization, and leaving the room. Begin with a receive-only join, then enable microphone and camera separately.
The backend keeps the long-lived API token; the client receives a one-use admission ticket.
Version boundary: Match SDK sources and public server contracts with the delivered server, Demo and installed app builds. Compilation, mocked runtime tests and physical-device media are separate evidence. Mini Program regressions use a mocked WeChat runtime; eligible-AppID publishing/playback and cross-platform codecs still require real device acceptance. Other pending checks are listed in their target guides and acceptance page.
sequenceDiagram
participant User as Business user
participant Backend as Your backend
participant Server as AKStream.Next
participant Client as RTC SDK
User->>Backend: Request to join a business meeting
Backend->>Backend: Check identity and eligibility
Backend->>Server: Create room or issue one-use join ticket
Server-->>Backend: roomId + accessTicket
Backend-->>Client: Send approved device its join data
Client->>Server: Join and maintain the session
Client-->>User: Remote media and state events
Choose your client target
| Target | Start here | Pay attention to |
|---|---|---|
| Browser, H5, Android/iOS WebView | Web SDK | HTTPS, browser capture permissions, host certificates and audio routing |
| Native Android | Android | Matching AAR/dependencies, OS permissions, Activity lifecycle |
| Native iPhone/iPad | iOS | XCFramework/Swift Package, signing, ReplayKit extension |
| uni-app / uni-app x | UniApp | UTS native plugin and custom base; Web target uses Web SDK |
| WeChat Mini Program | Mini Program | AppID/component eligibility, domains, privacy, RTMP/HTTP-FLV codecs and device testing |
Read Backend admission, then join receive-only on your target. Once two devices can each send real camera frames and microphone audio to the other, add chat, whiteboard, host controls, or recording and replay. The acceptance checklist lists the remaining target-specific checks.
Use the Web/H5, Android, iOS, and UniApp references for public methods. Room actions document host payloads; archive methods cover post-meeting query and resource URLs. Each page covers inputs, results, grants, and failures; your app owns presentation.
See WebRTC automatic, UDP and TCP for transport selection, relay-only explicit modes, server compatibility, TLS, Mini Program limitations and acceptance.
See WeChat Mini Program integration and the Mini Program SDK API for the native Mini Program project.