The content of this page has been automatically translated by AI. If you encounter any problems while reading, you can view the corresponding content in Chinese.

Address Generator

Last updated: 2025-03-17 15:16:14

The Audio and Video Terminal SDK (Tencent Cloud RT-Cube) integrates multiple features of the new Mic Connection Management solution into Tencent Cloud RT-Cube Console > Mic Connection Management for users' convenient use. Specifically, it includes four functional pages: Quick Start, Mic Connection Application, Usage Statistics, and Address Generator. For more information on mic connection features, see New Mic Connection Solution.
The Audio and Video Terminal SDK (Tencent Cloud RT-Cube) provides a tool that can quickly generate TRTC push/playback addresses and CDN playback addresses for the new mic connection solution.

Must-Knows

The TRTC service has been activated.

Configuration Parameter Description

Configuration Parameter
Description
Mic connection application
The mic connection solution requires one TRTC application resource.
Stream ID
Custom stream name, unique identifier for each live streaming stream, only supports entering English letters, numbers and symbols.
Audience mic connection: Includes two types of Stream IDs: streamer and mic-connecting audience.
Streamer PK: Includes two types of Stream IDs: Streamer A and Streamer B.
User ID
Custom username, used as user identity for mutual push/pull streams, only supports entering English letters, numbers and symbols.
Audience mic connection: Includes two types of User IDs: streamer and mic-connecting audience.
Streamer PK: Includes two types of User IDs: Streamer A and Streamer B.
App Name
Application name for mic connection, default is live. Only supports entering English letters, numbers and symbols.
Playback domain name
Selectable configured and enabled playback domain name
Effective Time
Audience mic connection: Set the validity time for the playback address, and the set time is the expiration time point.
Streamer PK: The expiration time of the playback address is the set timestamp plus the validity time of the playback authentication settings.

Generating Address

1. Log in to Tencent Cloud RT-Cube Console > Mic Connection Management > Address Generator and select Audience mic connection / Anchor competition according to your scenario requirements.
2. Dropdown selection of 1 TRTC application for mic connection.
3. Fill in the custom Stream ID and User ID, divided into two categories: streamer and mic-connecting audience.
Audience Mic Connection: Includes two types of Stream IDs and User IDs for streamers and mic-connected audience.
Streamer PK: Includes Stream ID and User ID for Streamer A and Streamer B.
4. Select a configured and enabled playback domain.
5. Enter AppName. The default value is: live.
6. Select the address validity time, for example: 2021-01-10 14:20:26.
Audience Mic Connection: Sets the validity time for the playback address, which is the expiration time point.
Streamer PK: The expiration time of the playback address is the set timestamp plus the validity time of the playback authentication settings.
7. Click Generate Address.
Audience Mic Connection
Streamer PK







Generate Result Description

Playback Address

TRTC streaming/pull stream addresses and CDN playback addresses that can be used for audience mic connection/streamer PK. You can view and quickly copy the addresses for your SDK integration.
Audience mic connection:
image


Streamer PK:
image



Scenario Analysis Diagram

1. In the scenario analysis diagram of audience mic connection, you can click on the steps in the diagram to view the example code and descriptions for implementing that step:
image


2. Click on the underlined text in the step to view the required address for that step.
image