tencent cloud

14天试用边缘安全加速平台 EO 限时免费

Feedback

Tencent Cloud AI Digital Human

Creating a Long Connection Channel

Last updated: 2024-07-19 10:11:28
Establish a WebSocket long connection channel to send drive instructions upstream and receive downstream messages.

Calling Protocol

WebSocket + JSON
WSS /v2/ws/ivh/interactdriver/interactdriverservice/commandchannel
Header Content-Type: application/json;charset=utf-8

Connection Establishment Method

websocket url: see Digital Human aPaas API Calling Method for organizing the URL.
Note:
It is particularly important to note that the requestid parameter should be filled with the value of the session ID (SessionId). For example:
wss://domin/v2/ws/ivh/interactdriver/interactdriverservice/commandchannel?appkey=xxx&requestid=m123&timestamp=xxx&signature=xxx
Websocket may disconnect due to network fluctuations, cloud service updates, etc. When a disconnection is detected, as long as the session status has not been closed, re-establishment is required.
Please call theStart Session API before establishing a WebSocket long connection; otherwise, the connection will fail. Only one long connection channel is allowed per session.



Catalog

In The Article

Creating a Long Connection Channel

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
中国香港
+852 800 906 020 (免费)
美国
+1 844 606 0804 (免费)
英国
+44 808 196 4551 (免费)
加拿大
+1 888 605 7930 (免费)
澳大利亚
+61 1300 986 386 (免费)
EdgeOne 热线
+852 300 80699
更多本地服务热线陆续新增中