tencent cloud

$0 14-Day TrialExperience EdgeOne for acceleration and security protection!

Feedback

Tencent Cloud AI Digital Human

Querying the Session List under UIN

Last updated: 2024-07-19 10:01:45
 It is used to query all ongoing session information for a specific UIN account.

Calling Protocol

HTTPS + JSON
POST /v2/ivh/sessionmanager/sessionmanagerservice/listsessionofuin
Header Content-Type: application/json;charset=utf-8

Request Parameters

Parameter name
Type
Required
Description
ReqId
String
Yes
Unique identifier for each request, a 32-character UUID.

Response Parameter

Parameter name
Type
Required
Description
ReqId
String
Yes
Unique identifier for a single request.
Sessions
Yes
Session list array
Session
Name
Type
Required
Description
UserId
String
Yes
User's unique identifier
SessionId
String
Yes
Unique identifier for the session.
SessionStatus
int
Yes
Stream status.1: in progress; 2: closed; 3: preparing; 4: stream creation failed
PlayStreamAddr
String
No
Stream playback address, returned upon successful stream creation
DriverType
String
Yes
Digital human type. 1: text-driven; 3: voice-driven (original sound).
IsSessionStarted
bool
Yes
It indicates whether the session has started. Drive instructions can only be sent when the session is active.

Request Sample

{
"Header": {},
"Payload": {
"ReqId": "d7aa08da33dd4a662ad5be508c5b77cf",
}
}

Response Sample

{
"Header": {
"Code": 0,
"Message": "",
"RequestID": "123",
},
"Payload": {
"ReqId": "d7aa08da33dd4a662ad5be508c5b77cf",
"Sessions": [
{
"UserId": "abc",
"SessionId": "m123",
"SessionStatus": 1,
"PlayStreamAddr": "rtmp://live.qq.com/live/m789",
"DriverType": 1,
"IsSessionStarted": true
}
]
}
}


Catalog

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
Hong Kong, China
+852 800 906 020 (Toll Free)
United States
+1 844 606 0804 (Toll Free)
United Kingdom
+44 808 196 4551 (Toll Free)
Canada
+1 888 605 7930 (Toll Free)
Australia
+61 1300 986 386 (Toll Free)
EdgeOne hotline
+852 300 80699
More local hotlines coming soon