tencent cloud

Feedback

Last updated: 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.
    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