microsoft-cognitiveservices-speech-sdk
Version:
Microsoft Cognitive Services Speech SDK for JavaScript
30 lines (29 loc) • 1.32 kB
TypeScript
import { ResultReason, PropertyCollection, SynthesisResult } from "./Exports.js";
/**
* Defines the avatar WebRTC connection result.
* @class AvatarWebRTCConnectionResult
* Added in version 1.33.0
*
* @experimental This feature is experimental and might change in the future.
*/
export declare class AvatarWebRTCConnectionResult extends SynthesisResult {
private readonly privSDPAnswer;
/**
* Creates and initializes an instance of this class.
* @constructor
* @param {RTCSessionDescriptionInit} SDPAnswer - The SDP answer of WebRTC connection.
* @param {string} resultId - The result id.
* @param {ResultReason} reason - The reason.
* @param {string} errorDetails - Error details, if provided.
* @param {PropertyCollection} properties - Additional properties, if provided.
*/
constructor(SDPAnswer?: RTCSessionDescriptionInit, resultId?: string, reason?: ResultReason, errorDetails?: string, properties?: PropertyCollection);
/**
* Specifies SDP (Session Description Protocol) answer of WebRTC connection.
* @member AvatarWebRTCConnectionResult.prototype.SDPAnswer
* @function
* @public
* @returns {RTCSessionDescriptionInit} Specifies the SDP answer of WebRTC connection.
*/
get SDPAnswer(): RTCSessionDescriptionInit;
}