0c83eb4e8fe892c4d44bea27b9a6db4cf2b5dce46946b3af7d66c60f9740fb5d.json 4.2 KB

1
  1. {"ast":null,"code":"\"use strict\";\n\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AvatarWebRTCConnectionResult = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Defines the avatar WebRTC connection result.\n * @class AvatarWebRTCConnectionResult\n * Added in version 1.33.0\n *\n * @experimental This feature is experimental and might change in the future.\n */\nclass AvatarWebRTCConnectionResult extends Exports_js_1.SynthesisResult {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {RTCSessionDescriptionInit} SDPAnswer - The SDP answer of WebRTC connection.\n * @param {string} resultId - The result id.\n * @param {ResultReason} reason - The reason.\n * @param {string} errorDetails - Error details, if provided.\n * @param {PropertyCollection} properties - Additional properties, if provided.\n */\n constructor(SDPAnswer, resultId, reason, errorDetails, properties) {\n super(resultId, reason, errorDetails, properties);\n this.privSDPAnswer = SDPAnswer;\n }\n /**\n * Specifies SDP (Session Description Protocol) answer of WebRTC connection.\n * @member AvatarWebRTCConnectionResult.prototype.SDPAnswer\n * @function\n * @public\n * @returns {RTCSessionDescriptionInit} Specifies the SDP answer of WebRTC connection.\n */\n get SDPAnswer() {\n return this.privSDPAnswer;\n }\n}\nexports.AvatarWebRTCConnectionResult = AvatarWebRTCConnectionResult;","map":{"version":3,"names":["Object","defineProperty","exports","value","AvatarWebRTCConnectionResult","Exports_js_1","require","SynthesisResult","constructor","SDPAnswer","resultId","reason","errorDetails","properties","privSDPAnswer"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/sdk/AvatarWebRTCConnectionResult.js"],"sourcesContent":["\"use strict\";\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.AvatarWebRTCConnectionResult = void 0;\nconst Exports_js_1 = require(\"./Exports.js\");\n/**\n * Defines the avatar WebRTC connection result.\n * @class AvatarWebRTCConnectionResult\n * Added in version 1.33.0\n *\n * @experimental This feature is experimental and might change in the future.\n */\nclass AvatarWebRTCConnectionResult extends Exports_js_1.SynthesisResult {\n /**\n * Creates and initializes an instance of this class.\n * @constructor\n * @param {RTCSessionDescriptionInit} SDPAnswer - The SDP answer of WebRTC connection.\n * @param {string} resultId - The result id.\n * @param {ResultReason} reason - The reason.\n * @param {string} errorDetails - Error details, if provided.\n * @param {PropertyCollection} properties - Additional properties, if provided.\n */\n constructor(SDPAnswer, resultId, reason, errorDetails, properties) {\n super(resultId, reason, errorDetails, properties);\n this.privSDPAnswer = SDPAnswer;\n }\n /**\n * Specifies SDP (Session Description Protocol) answer of WebRTC connection.\n * @member AvatarWebRTCConnectionResult.prototype.SDPAnswer\n * @function\n * @public\n * @returns {RTCSessionDescriptionInit} Specifies the SDP answer of WebRTC connection.\n */\n get SDPAnswer() {\n return this.privSDPAnswer;\n }\n}\nexports.AvatarWebRTCConnectionResult = AvatarWebRTCConnectionResult;\n\n"],"mappings":"AAAA,YAAY;;AACZ;AACA;AACAA,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,4BAA4B,GAAG,KAAK,CAAC;AAC7C,MAAMC,YAAY,GAAGC,OAAO,CAAC,cAAc,CAAC;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMF,4BAA4B,SAASC,YAAY,CAACE,eAAe,CAAC;EACpE;AACJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;EACIC,WAAWA,CAACC,SAAS,EAAEC,QAAQ,EAAEC,MAAM,EAAEC,YAAY,EAAEC,UAAU,EAAE;IAC/D,KAAK,CAACH,QAAQ,EAAEC,MAAM,EAAEC,YAAY,EAAEC,UAAU,CAAC;IACjD,IAAI,CAACC,aAAa,GAAGL,SAAS;EAClC;EACA;AACJ;AACA;AACA;AACA;AACA;AACA;EACI,IAAIA,SAASA,CAAA,EAAG;IACZ,OAAO,IAAI,CAACK,aAAa;EAC7B;AACJ;AACAZ,OAAO,CAACE,4BAA4B,GAAGA,4BAA4B","ignoreList":[]},"metadata":{},"sourceType":"script","externalDependencies":[]}