tencent cloud

Mobile Live Video Broadcasting

Release Notes and Announcements
TUILiveKit Release Notes
Live SDK Release Notes
User Guide
Product Introduction
Overview
Strengths
Performance Statistics
Concepts
Purchase Guide
TRTC Live Billing Overview
Billing of Video Live Component
Activating the Service (TUILiveKit)
Free Demo
Demo
Run Demo(TUILiveKit)
Integration Guide
Video Live Streaming
Preparation
Host Live Streaming
Audience Viewing
Live Stream List Live Stream List
Voice Chat Room
Preparation
Host Live Streaming
Audience Viewing
Live Stream List
Live Streaming Kit
Live Streaming Kit(Electron Desktop Application)
Live Streaming Kit(Web Desktop Browser)
Live Broadcast Monitoring
Monitoring Webpage (Web Desktop Browser React)
Monitoring Webpage (Web Desktop Browser Vue)
UI Customization
Live Stream Video Component
Video Source Editing Canvas
Audience List Component
Barrage Component
Media Source Configuration Panel
Link Management Panel
Live Gift Component
No UI Integration
Video Live Streaming
Voice Chat Room
Feature Guide
Follow Anchors (TUILiveKit)
Ultimate Image Quality (TUILiveKit)
Push Media Stream Into Room (TUILiveKit)
Gift System (TUILiveKit)
Client APIs
Android
iOS
Web
Server APIs (TUILiveKit)
Account System
REST API
Third-Party Webhooks
Error Codes (TUILiveKit)
FAQs
Platform Compilation
User Authentication
Live SDK
Product Introduction
Purchase Guide
Free Demo
Free Trial License
SDK Download
Licenses
Advanced Features
Client API
FAQs
Integration (No UI)
API Documentation
OSS information
OSS Attribution Notice

Get Room List

PDF
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-03-26 17:13:48

Feature Overview

App Administrator can use this interface to get the live stream list.

API Calling Description

Sample request URL

https://xxxxxx/v4/live_engine_http_srv/get_room_list?sdkappid=88888888&identifier=admin&usersig=xxx&random=99999999&contenttype=json

Request parameters

The table below only lists the parameters modified when this interface is called. For more details on other parameters, please refer to RESTful API Overview.
Parameter
Description
xxxxxx
The reserved domain for the country/region where the SDKAppID is located:
Others in China: console.tim.qq.com
Singapore : adminapisgp.im.qcloud.com
United States: adminapiusa.im.qcloud.com
v4/live_engine_http_srv/get_room_list
Request API.
sdkappid
SDKAppID assigned by the Chat console when an app is created.
identifier
Must be an App Administrator account. For more details, please refer to App Admin.
usersig
The Signature generated by the App Administrator account, for detailed operations, please refer to Generating UserSig.
random
A random 32-bit unsigned integer ranging from 0 to 4294967295.
contenttype
Request format fixed value: json.

Maximum calling frequency

10 times per second.

Sample request packets

Basic Form
{
"Next":"",
"Count":20
}
Note: The list is sorted in descending order by the ViewCount field, with pagination fetching

Request packet fields

Field
Type
Attribute
Description
Next
String
Mandatory
Pagination parameters for pagination request. The first time it is an empty string. Subsequently, use the Next field in the response body. When the Next field in the response body is an empty string, it indicates that the pull is completed.
Count
Integer
Mandatory
Number of rooms for a single pull. The default is 20, and the upper limit is 20.

Sample response packets

Basic Form
{
"ActionStatus": "OK",
"ErrorInfo": "",
"ErrorCode": 0,
"RequestId": "Id-8c9858f01e954611ae2d4c1b1ed7d583-O-Seq-52720",
"Response" : {
"Next":"1693271355-123123123123",
"RoomList":[
{
"RoomName":"name",
"RoomId":"room_id0",
"Owner_Account":"bren",
"CoverURL":"cover_url",
"Category":[1,2,3],
"CreateTime":1693271354,
"ActivityStatus":1,
"ViewCount":1000
},
...
{
"RoomName":"name",
"RoomId":"room_id19",
"Owner_Account":"bren",
"CoverURL":"cover_url",
"Category":[1,2,3],
"CreateTime":1693271354,
"ActivityStatus":1,
"ViewCount":900
}
]
}
}


Response Packet Field Description

Field
Type
Description
ActionStatus
String
Results of request processing. OK indicates success, FAIL indicates failure.
ErrorCode
Integer
Error code. 0 indicates success, non-zero indicates failure.
ErrorInfo
String
Error message.
RequestId
String
Unique Request ID, each request will return a Request ID, which is required when locating issues.
RoomList
Array
Room info List, sorted by view count in descending order by default.
RoomName
String
Room Name.
RoomId
String
Room ID.
Owner_Account
String
Room Owner ID.
CoverURL
String
Room cover.
Category
Array
Live Room Category Tags, maximum array size is 3.
CreateTime
Integer
Room Creation Time.
ActivityStatus
Integer
Live room active status: user-defined Definition tag.
ViewCount
Integer
Total number of times the user has entered the room.
Next
String
When the room list is fully loaded, it will return an empty string; otherwise, it returns the Next for the next request.

Error codes

Unless a network error occurs (e.g., 502 Error), the HTTP return code for this interface will always be 200. The actual error code and error information are indicated in the response payload by ErrorCode and ErrorInfo. Common Error Codes (60000 to 79999) can be found in the Error Code document. The private error codes for this API are as follows:
Error code
Description
100001
Internal server error, please retry.
100002
Invalid parameter, please check the request for correctness based on the error description.


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백