Role | Description |
CAR SDK | CAR client SDKs include SDK for JavaScript, SDK for Android, and SDK for iOS. This section takes the JavaScript SDK as an example. |
Business client | The platform you provide for your users. You can see Step 3 in Getting Started and for reference when setting up your business client. |
Business backend | Your backend service that can be deployed on any server. You can see Step 3 in Getting Started for reference when setting up your backend. |
CAR backend | Tencent Cloud APIs provided by CAR. |
Cloud application | The application you uploaded. |
ClientSession
.UserId
and ClientSession
. Here, UserId
is the unique user identifier customized by the business and should remain unchanged during user queuing and application reconnection.UserId
at a time. If you use the same UserId
to send requests, concurrency contention may occur. The CAR backend sends the currently connected concurrency to the device sending the latest request, and the previous device will be disconnected and display a black screen.[ApplyConcurrent()](https://www.tencentcloud.com/document/product/1547/72827?from_cn_redirect=1)
API through the Real-Time Cloud Rendering API to apply to reserve a concurrency. If there are no available concurrencies or an error is returned, go back to Step 2 to send a request again.ServerSession
to the business client.onConnectSuccess()
callback. We recommend you call the data channel creation API and APIs for other features after this callback.
この記事はお役に立ちましたか?