{"ast":null,"code":"\"use strict\";\n\nvar _asyncToGenerator = require(\"F:/workspace/202226701027/huinongbao-app/node_modules/@babel/runtime/helpers/asyncToGenerator.js\").default;\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TranscriberRecognizer = void 0;\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nconst Exports_js_1 = require(\"../../common/Exports.js\");\nconst Contracts_js_1 = require(\"../../sdk/Contracts.js\");\nconst Exports_js_2 = require(\"../../sdk/Exports.js\");\nconst Exports_js_3 = require(\"../Exports.js\");\nclass TranscriberRecognizer extends Exports_js_2.Recognizer {\n /**\n * TranscriberRecognizer constructor.\n * @constructor\n * @param {SpeechTranslationConfig} speechTranslationConfig - Non-audio configuration associated with the recognizer\n * @param {AudioConfig} audioConfig - An audio configuration associated with the recognizer\n */\n constructor(speechTranslationConfig, audioConfig) {\n const speechTranslationConfigImpl = speechTranslationConfig;\n Contracts_js_1.Contracts.throwIfNull(speechTranslationConfigImpl, \"speechTranslationConfig\");\n const audioConfigImpl = audioConfig;\n Contracts_js_1.Contracts.throwIfNull(audioConfigImpl, \"audioConfigImpl\");\n Contracts_js_1.Contracts.throwIfNullOrWhitespace(speechTranslationConfigImpl.speechRecognitionLanguage, Exports_js_2.PropertyId[Exports_js_2.PropertyId.SpeechServiceConnection_RecoLanguage]);\n super(audioConfig, speechTranslationConfigImpl.properties, new Exports_js_3.TranscriberConnectionFactory());\n this.privDisposedRecognizer = false;\n this.isMeetingRecognizer = false;\n }\n get speechRecognitionLanguage() {\n Contracts_js_1.Contracts.throwIfDisposed(this.privDisposedRecognizer);\n return this.properties.getProperty(Exports_js_2.PropertyId.SpeechServiceConnection_RecoLanguage);\n }\n get properties() {\n return this.privProperties;\n }\n get authorizationToken() {\n return this.properties.getProperty(Exports_js_2.PropertyId.SpeechServiceAuthorization_Token);\n }\n set authorizationToken(token) {\n Contracts_js_1.Contracts.throwIfNullOrWhitespace(token, \"token\");\n this.properties.setProperty(Exports_js_2.PropertyId.SpeechServiceAuthorization_Token, token);\n }\n set conversation(c) {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(c, \"Conversation\");\n this.isMeetingRecognizer = false;\n this.privConversation = c;\n }\n getConversationInfo() {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(this.privConversation, \"Conversation\");\n return this.privConversation.conversationInfo;\n }\n set meeting(m) {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(m, \"Meeting\");\n this.isMeetingRecognizer = true;\n this.privMeeting = m;\n }\n getMeetingInfo() {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(this.privMeeting, \"Meeting\");\n return this.privMeeting.meetingInfo;\n }\n IsMeetingRecognizer() {\n return this.isMeetingRecognizer;\n }\n startContinuousRecognitionAsync(cb, err) {\n Exports_js_1.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(Exports_js_3.RecognitionMode.Conversation), cb, err);\n }\n stopContinuousRecognitionAsync(cb, err) {\n Exports_js_1.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(), cb, err);\n }\n close() {\n var _this = this;\n return _asyncToGenerator(function* () {\n if (!_this.privDisposedRecognizer) {\n yield _this.dispose(true);\n }\n })();\n }\n // Push async join/leave conversation message via serviceRecognizer\n pushConversationEvent(conversationInfo, command) {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n const reco = _this2.privReco;\n Contracts_js_1.Contracts.throwIfNullOrUndefined(reco, \"serviceRecognizer\");\n yield reco.sendSpeechEventAsync(conversationInfo, command);\n })();\n }\n // Push async join/leave meeting message via serviceRecognizer\n pushMeetingEvent(meetingInfo, command) {\n var _this3 = this;\n return _asyncToGenerator(function* () {\n const reco = _this3.privReco;\n Contracts_js_1.Contracts.throwIfNullOrUndefined(reco, \"serviceRecognizer\");\n yield reco.sendMeetingSpeechEventAsync(meetingInfo, command);\n })();\n }\n enforceAudioGating() {\n var _this4 = this;\n return _asyncToGenerator(function* () {\n const audioConfigImpl = _this4.audioConfig;\n const format = yield audioConfigImpl.format;\n const channels = format.channels;\n if (channels === 1) {\n if (_this4.properties.getProperty(\"f0f5debc-f8c9-4892-ac4b-90a7ab359fd2\", \"false\").toLowerCase() !== \"true\") {\n throw new Error(\"Single channel audio configuration for MeetingTranscriber is currently under private preview, please contact diarizationrequest@microsoft.com for more details\");\n }\n } else if (channels !== 8) {\n throw new Error(`Unsupported audio configuration: Detected ${channels}-channel audio`);\n }\n return;\n })();\n }\n connectMeetingCallbacks(transcriber) {\n this.isMeetingRecognizer = true;\n this.canceled = (s, e) => {\n if (!!transcriber.canceled) {\n transcriber.canceled(transcriber, e);\n }\n };\n this.recognizing = (s, e) => {\n if (!!transcriber.transcribing) {\n transcriber.transcribing(transcriber, e);\n }\n };\n this.recognized = (s, e) => {\n if (!!transcriber.transcribed) {\n transcriber.transcribed(transcriber, e);\n }\n };\n this.sessionStarted = (s, e) => {\n if (!!transcriber.sessionStarted) {\n transcriber.sessionStarted(transcriber, e);\n }\n };\n this.sessionStopped = (s, e) => {\n if (!!transcriber.sessionStopped) {\n transcriber.sessionStopped(transcriber, e);\n }\n };\n }\n disconnectCallbacks() {\n this.canceled = undefined;\n this.recognizing = undefined;\n this.recognized = undefined;\n this.sessionStarted = undefined;\n this.sessionStopped = undefined;\n }\n /**\n * Disposes any resources held by the object.\n * @member ConversationTranscriber.prototype.dispose\n * @function\n * @public\n * @param {boolean} disposing - true if disposing the object.\n */\n dispose(disposing) {\n var _superprop_getDispose = () => super.dispose,\n _this5 = this;\n return _asyncToGenerator(function* () {\n if (_this5.privDisposedRecognizer) {\n return;\n }\n if (disposing) {\n _this5.privDisposedRecognizer = true;\n yield _this5.implRecognizerStop();\n }\n yield _superprop_getDispose().call(_this5, disposing);\n })();\n }\n createRecognizerConfig(speechConfig) {\n return new Exports_js_3.RecognizerConfig(speechConfig, this.properties);\n }\n createServiceRecognizer(authentication, connectionFactory, audioConfig, recognizerConfig) {\n const configImpl = audioConfig;\n return new Exports_js_3.TranscriptionServiceRecognizer(authentication, connectionFactory, configImpl, recognizerConfig, this);\n }\n}\nexports.TranscriberRecognizer = TranscriberRecognizer;","map":{"version":3,"names":["_asyncToGenerator","require","default","Object","defineProperty","exports","value","TranscriberRecognizer","Exports_js_1","Contracts_js_1","Exports_js_2","Exports_js_3","Recognizer","constructor","speechTranslationConfig","audioConfig","speechTranslationConfigImpl","Contracts","throwIfNull","audioConfigImpl","throwIfNullOrWhitespace","speechRecognitionLanguage","PropertyId","SpeechServiceConnection_RecoLanguage","properties","TranscriberConnectionFactory","privDisposedRecognizer","isMeetingRecognizer","throwIfDisposed","getProperty","privProperties","authorizationToken","SpeechServiceAuthorization_Token","token","setProperty","conversation","c","throwIfNullOrUndefined","privConversation","getConversationInfo","conversationInfo","meeting","m","privMeeting","getMeetingInfo","meetingInfo","IsMeetingRecognizer","startContinuousRecognitionAsync","cb","err","marshalPromiseToCallbacks","startContinuousRecognitionAsyncImpl","RecognitionMode","Conversation","stopContinuousRecognitionAsync","stopContinuousRecognitionAsyncImpl","close","_this","dispose","pushConversationEvent","command","_this2","reco","privReco","sendSpeechEventAsync","pushMeetingEvent","_this3","sendMeetingSpeechEventAsync","enforceAudioGating","_this4","format","channels","toLowerCase","Error","connectMeetingCallbacks","transcriber","canceled","s","e","recognizing","transcribing","recognized","transcribed","sessionStarted","sessionStopped","disconnectCallbacks","undefined","disposing","_superprop_getDispose","_this5","implRecognizerStop","call","createRecognizerConfig","speechConfig","RecognizerConfig","createServiceRecognizer","authentication","connectionFactory","recognizerConfig","configImpl","TranscriptionServiceRecognizer"],"sources":["F:/workspace/202226701027/huinongbao-app/node_modules/microsoft-cognitiveservices-speech-sdk/distrib/lib/src/common.speech/Transcription/TranscriberRecognizer.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TranscriberRecognizer = void 0;\n// Copyright (c) Microsoft Corporation. All rights reserved.\n// Licensed under the MIT license.\nconst Exports_js_1 = require(\"../../common/Exports.js\");\nconst Contracts_js_1 = require(\"../../sdk/Contracts.js\");\nconst Exports_js_2 = require(\"../../sdk/Exports.js\");\nconst Exports_js_3 = require(\"../Exports.js\");\nclass TranscriberRecognizer extends Exports_js_2.Recognizer {\n /**\n * TranscriberRecognizer constructor.\n * @constructor\n * @param {SpeechTranslationConfig} speechTranslationConfig - Non-audio configuration associated with the recognizer\n * @param {AudioConfig} audioConfig - An audio configuration associated with the recognizer\n */\n constructor(speechTranslationConfig, audioConfig) {\n const speechTranslationConfigImpl = speechTranslationConfig;\n Contracts_js_1.Contracts.throwIfNull(speechTranslationConfigImpl, \"speechTranslationConfig\");\n const audioConfigImpl = audioConfig;\n Contracts_js_1.Contracts.throwIfNull(audioConfigImpl, \"audioConfigImpl\");\n Contracts_js_1.Contracts.throwIfNullOrWhitespace(speechTranslationConfigImpl.speechRecognitionLanguage, Exports_js_2.PropertyId[Exports_js_2.PropertyId.SpeechServiceConnection_RecoLanguage]);\n super(audioConfig, speechTranslationConfigImpl.properties, new Exports_js_3.TranscriberConnectionFactory());\n this.privDisposedRecognizer = false;\n this.isMeetingRecognizer = false;\n }\n get speechRecognitionLanguage() {\n Contracts_js_1.Contracts.throwIfDisposed(this.privDisposedRecognizer);\n return this.properties.getProperty(Exports_js_2.PropertyId.SpeechServiceConnection_RecoLanguage);\n }\n get properties() {\n return this.privProperties;\n }\n get authorizationToken() {\n return this.properties.getProperty(Exports_js_2.PropertyId.SpeechServiceAuthorization_Token);\n }\n set authorizationToken(token) {\n Contracts_js_1.Contracts.throwIfNullOrWhitespace(token, \"token\");\n this.properties.setProperty(Exports_js_2.PropertyId.SpeechServiceAuthorization_Token, token);\n }\n set conversation(c) {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(c, \"Conversation\");\n this.isMeetingRecognizer = false;\n this.privConversation = c;\n }\n getConversationInfo() {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(this.privConversation, \"Conversation\");\n return this.privConversation.conversationInfo;\n }\n set meeting(m) {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(m, \"Meeting\");\n this.isMeetingRecognizer = true;\n this.privMeeting = m;\n }\n getMeetingInfo() {\n Contracts_js_1.Contracts.throwIfNullOrUndefined(this.privMeeting, \"Meeting\");\n return this.privMeeting.meetingInfo;\n }\n IsMeetingRecognizer() {\n return this.isMeetingRecognizer;\n }\n startContinuousRecognitionAsync(cb, err) {\n Exports_js_1.marshalPromiseToCallbacks(this.startContinuousRecognitionAsyncImpl(Exports_js_3.RecognitionMode.Conversation), cb, err);\n }\n stopContinuousRecognitionAsync(cb, err) {\n Exports_js_1.marshalPromiseToCallbacks(this.stopContinuousRecognitionAsyncImpl(), cb, err);\n }\n async close() {\n if (!this.privDisposedRecognizer) {\n await this.dispose(true);\n }\n }\n // Push async join/leave conversation message via serviceRecognizer\n async pushConversationEvent(conversationInfo, command) {\n const reco = (this.privReco);\n Contracts_js_1.Contracts.throwIfNullOrUndefined(reco, \"serviceRecognizer\");\n await reco.sendSpeechEventAsync(conversationInfo, command);\n }\n // Push async join/leave meeting message via serviceRecognizer\n async pushMeetingEvent(meetingInfo, command) {\n const reco = (this.privReco);\n Contracts_js_1.Contracts.throwIfNullOrUndefined(reco, \"serviceRecognizer\");\n await reco.sendMeetingSpeechEventAsync(meetingInfo, command);\n }\n async enforceAudioGating() {\n const audioConfigImpl = this.audioConfig;\n const format = await audioConfigImpl.format;\n const channels = format.channels;\n if (channels === 1) {\n if (this.properties.getProperty(\"f0f5debc-f8c9-4892-ac4b-90a7ab359fd2\", \"false\").toLowerCase() !== \"true\") {\n throw new Error(\"Single channel audio configuration for MeetingTranscriber is currently under private preview, please contact diarizationrequest@microsoft.com for more details\");\n }\n }\n else if (channels !== 8) {\n throw new Error(`Unsupported audio configuration: Detected ${channels}-channel audio`);\n }\n return;\n }\n connectMeetingCallbacks(transcriber) {\n this.isMeetingRecognizer = true;\n this.canceled = (s, e) => {\n if (!!transcriber.canceled) {\n transcriber.canceled(transcriber, e);\n }\n };\n this.recognizing = (s, e) => {\n if (!!transcriber.transcribing) {\n transcriber.transcribing(transcriber, e);\n }\n };\n this.recognized = (s, e) => {\n if (!!transcriber.transcribed) {\n transcriber.transcribed(transcriber, e);\n }\n };\n this.sessionStarted = (s, e) => {\n if (!!transcriber.sessionStarted) {\n transcriber.sessionStarted(transcriber, e);\n }\n };\n this.sessionStopped = (s, e) => {\n if (!!transcriber.sessionStopped) {\n transcriber.sessionStopped(transcriber, e);\n }\n };\n }\n disconnectCallbacks() {\n this.canceled = undefined;\n this.recognizing = undefined;\n this.recognized = undefined;\n this.sessionStarted = undefined;\n this.sessionStopped = undefined;\n }\n /**\n * Disposes any resources held by the object.\n * @member ConversationTranscriber.prototype.dispose\n * @function\n * @public\n * @param {boolean} disposing - true if disposing the object.\n */\n async dispose(disposing) {\n if (this.privDisposedRecognizer) {\n return;\n }\n if (disposing) {\n this.privDisposedRecognizer = true;\n await this.implRecognizerStop();\n }\n await super.dispose(disposing);\n }\n createRecognizerConfig(speechConfig) {\n return new Exports_js_3.RecognizerConfig(speechConfig, this.properties);\n }\n createServiceRecognizer(authentication, connectionFactory, audioConfig, recognizerConfig) {\n const configImpl = audioConfig;\n return new Exports_js_3.TranscriptionServiceRecognizer(authentication, connectionFactory, configImpl, recognizerConfig, this);\n }\n}\nexports.TranscriberRecognizer = TranscriberRecognizer;\n\n"],"mappings":"AAAA,YAAY;;AAAC,IAAAA,iBAAA,GAAAC,OAAA,qGAAAC,OAAA;AACbC,MAAM,CAACC,cAAc,CAACC,OAAO,EAAE,YAAY,EAAE;EAAEC,KAAK,EAAE;AAAK,CAAC,CAAC;AAC7DD,OAAO,CAACE,qBAAqB,GAAG,KAAK,CAAC;AACtC;AACA;AACA,MAAMC,YAAY,GAAGP,OAAO,CAAC,yBAAyB,CAAC;AACvD,MAAMQ,cAAc,GAAGR,OAAO,CAAC,wBAAwB,CAAC;AACxD,MAAMS,YAAY,GAAGT,OAAO,CAAC,sBAAsB,CAAC;AACpD,MAAMU,YAAY,GAAGV,OAAO,CAAC,eAAe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