tencent cloud

Feedback

FAQs About Web SDK

Last updated: 2024-04-01 17:55:54

    What frameworks does the Web SDK support?

    The Web SDK is implemented in pure JavaScript and supports running in environments such as Vue, React, uni-app, PHP, and JSP.

    Can the SDK interface display other information?

    It is not supported.

    Can the call bar button in the SDK be hidden?

    Supported.

    What is UserId when the SDK is initialized?

    UserId refers to the account in Cloud Contact Center, usually in the format of an email address. It can be created from the console or the management background.

    How do I switch accounts with the SDK?

    By reinitializing the SDK with a different UserId, the accounts can be automatically switched.

    Why does the SDK need to use HTTPS in the deployment page?

    Due to browser restrictions, microphone access can only be obtained under HTTPS.

    How do I specify the display number when making an outbound call?

    It is not supported on the interface. You can specify the display number when calling the outbound API of the SDK.

    Will the token need to be renewed? What if it expires?

    After the SDK initialization is complete, the Token will not need to be renewed. Please make sure the Token is valid while initializing the SDK.

    Why is a device error is prompted after login?

    1. Check whether the website URL is HTTPS.
    2. Check whether the microphone access is allowed.
    3. Refer to Detecting Websites, and follow the steps.
    4. Developers can make a custom prompt according to the API provided by the SDK, isBrowserSupported and isEnvSupported.
    

    Why is there no ring when a call comes in?

    If during an incoming call, the SDK's page is minimized or switched to another page, there may be no ring due to browser's restrictions. It is recommended to turn on browser notifications or listen to the SDK's callIn event, and have the business side make a strong prompt.

    Why does the outbound call fail?

    After the SDK initialization is complete, wait for the ready event before making an outbound call. In addition, ensure that there are numbers that can make outbound calls in the list of instances.

    Why is the call interrupted suddenly?

    Check the closeBy field of the SDK's sessionEnded event to determine who hung up.
    
    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