D-ID Client SDK - v3.0.9
    Preparing search index...

    Interface SttTokenResponse

    A short-lived Azure Speech authorization token, issued by the Agents API.

    What getSttToken() resolves with. It lets an application run Azure speech recognition in the browser without holding a speech subscription key. Azure tokens expire after about ten minutes, so request one per recognition session.

    interface SttTokenResponse {
        region: string;
        token: string;
    }
    Index
    region: string

    The Azure region the token is valid in.

    token: string

    The authorization token to present to Azure Speech.