tencent cloud

Cloud Application Rendering

Release Notes
Product Introduction
Overview
Basic Concepts
Strengths
Use Cases
Purchase Guide
Billing Overview
Billing
Purchase Process
Overdue Payment
Refunds
Auto-Renewal Rules
Getting Started
Basic Technical Concepts
User Guides
Technical Integration
Integration Demo
Console Guide
Application Management
Project Management
Stream Push Service
Concurrency Management
Multiplayer Interaction
Session Status
Practical Tutorial
How to Implement Cloud-Native Recording
How to Implement Application Upload and Version Update via CAR-CLI
How to Implement Concurrency Sharing
How to Implement Mobile Chinese Input
How ‍to ‍Push ‍‍Cloud ‍Video Streams to CSS
How to Implement Multi-Person Interaction
How to Implement Live Room Interaction ‍with On-Screen Comments
Configuring and Using Cloud Browser
SDK Documentation
JavaScript SDK
SDK for Android
SDK for iOS
API Documentation
History
Introduction
API Category
Making API Requests
User APIs
Application Management APIs
Project Management APIs
Concurrency Management APIs
Stream Push Service APIs
Data Types
Error Codes
FAQs
CAR Basics
CAR Integration
Cloud Application
Service Level Agreement
CAR Policy
Privacy Policy
Data Processing And Security Agreement
Contact Us

SDK

PDF
Mode fokus
Ukuran font
Terakhir diperbarui: 2024-01-26 12:02:42

SDK for JavaScript

Why does the console report the "setServerDescription" error in the browser?

Generally, this error occurs because the structure hierarchy of the request used by CreateSession to get ServerSession is incorrect. You can print the returned result to understand how to get ServerSession.

Why is a failure (other than 0) returned when I enable the data channel?

You need to create a data channel after receiving onConnectSuccess called back by the SDK.

How do I implement automatic landscape/portrait mode switching on the mobile client?

As the cloud stream is fixed in landscape mode, the image needs to be rotated to be displayed in portrait mode on the mobile client. You can pass in the autoRotateContainer (container rotation) and autoRotateMountPoint (mount point rotation) parameters to init.

Why can’t automatic playback work in Weixin?

Due to restrictions of WebView on Weixin for iOS, a media file can be played back only after the user clicks it. You can initialize the CAR SDK after the WeixinJSBridgeReady callback is returned. We recommend you add an interactive UI to ask the end user to click the media file.

Which cursor modes are available?

Currently, there are three modes:
0: No cursor is delivered.
1: The delivered cursor is rendered by the SDK.
2: The cursor is rendered in the cloud, which has a longer latency than mode 1.
We recommend you use mode 0 or 1. The default mode is 0. For the specific implementation process, see JavaScript SDK.

SDK Plugin

Why is the click direction of the stick button incorrect?

If this happens, we recommend creating a stick after connectSuccess and try again.

Bantuan dan Dukungan

Apakah halaman ini membantu?

masukan