Граф коммитов

390 Коммитов

Автор SHA1 Сообщение Дата
Ryan Hurey c2b14574d6
Add support for Connection object. (#30)
* Add support for Connection object.

Expose internalData object on base Recognizer class. This is used to allow the fromRecognizer* pattern on the connection object and other future objects that will be conjured from a recognizer.
Seperate the concept of a connection being established from one being configured with context information via the speech.config message.
Support multiple recognize* iterations being done in the same connection. Previously each recognizeOnce / startContinuousRecog call established a new connection.

Add & Update Tests.

* Add additional test

* Remove extra blank like
2019-01-30 15:33:46 -08:00
Mark Hillebrand d517651b5e Build fix: publish NPM package to artifacts (#28) 2019-01-16 17:31:10 +01:00
Wolfgang Manousek fb255d4f24
Wolfma/readme (#27)
* updates to readme

* minore changes in readme layout/formatting/text

* addressed CR comments
2019-01-16 13:23:39 +01:00
Friedel van Megen c3824331d1
updating property docs, setters get getters doc as well and come last. (#26) 2019-01-14 19:14:26 +01:00
Ryan Hurey 4770ca9745
Remove storage classes and consumers. These were being used to cache host endpoints and doing string concat isn't that expensive plus we have another way to specify a custom endpoint. (#25) 2019-01-10 09:34:37 -08:00
Ryan Hurey ae4fd7d543 Add tests for authtoken utilization. These tests run over the course of an auth token's timeout, and take a long time (20 min each). (#24)
They are in seperate files to enable jest to run them in parallel and reduce the amount of clock time spent.

Also moved existing reconnect tests to seperate files for parallelism.

Instead of adding long running tests with .skip tagging in the code, there's now a setting for this so they can be controlled at runtime. Currently off by default.

Also, found that the message for the auth token expiring and not refreshing cleanly was being eaten and some bad promise chain being invoked instead of the error being cleanly returned. Fixed.
2019-01-10 17:04:08 +01:00
Wolfgang Manousek 08d1dfc976
remove ambiguity in doc string, the service is Speech Service, not anymore Custom Speech Service (#23) 2019-01-10 12:06:16 +01:00
Ryan Hurey be7de53c82 Fix bug in audio pump that did not schedule next send if the current send failed. (#22)
This resulted in no additional audio being sent when the connection was lost mid-send.

Also fixed over transmission of audio data from SpeechRecognizer & TranslationRecognizers when the connection was dropped.

Updated test cases to use multiple alternating phrasesto help detect over transmission of audio data.
2019-01-09 10:30:30 +01:00
Wolfgang Manousek 444f2dd380
improved documentation, installation links (#18) 2018-12-24 11:12:14 +01:00
Friedel van Megen 7810d3b1fd
adding support to run tests in vscode (#13)
* updating versions, adding ts-jest

* adding vscode jest launch configuration
2018-12-20 11:03:22 +01:00
Friedel van Megen de56af8635
Merge pull request #14 from Microsoft/fmegen/adding-lu-comment-to-api
clarifying that the intent recognizer uses a different subscription key.
2018-12-20 10:58:21 +01:00
Friedel van Megen 3894ca740c
Merge pull request #10 from Microsoft/mahilleb/editorconfig
.editorconfig: added
2018-12-20 10:57:26 +01:00
Friedel van Megen 85578b82e1 adding comment to intent recognizer authorizationToken 2018-12-20 10:32:14 +01:00
Friedel van Megen 2eb1ff3c85 clarifying that the intent recognizer uses a different subscription key. 2018-12-20 10:18:56 +01:00
Friedel van Megen e9262805ab
Merge pull request #11 from Microsoft/fmegen/re-enable-telemetry-test
re-enable telemetry test
2018-12-20 09:26:34 +01:00
Friedel van Megen 87b9d750b3
Merge pull request #7 from Microsoft/fmegen/fix-event-ordering-end-of-stream
fire end of stream at turn.end, not at speech.end
2018-12-20 09:14:49 +01:00
Friedel van Megen 6d24401d86 adding missing target 2018-12-20 08:57:35 +01:00
Friedel van Megen 98deb82e3c remove vscode launch config 2018-12-20 08:56:46 +01:00
Friedel van Megen a53f79ebd2 one more revert 2018-12-20 08:56:08 +01:00
Friedel van Megen 4baa2bf565 revert package changes 2018-12-20 08:53:47 +01:00
Friedel van Megen 9f6981ae6b re-enable telemetry test after fixing service 2018-12-19 17:58:18 +01:00
Friedel van Megen 57c066f2fd only send eof, if required 2018-12-19 15:21:28 +01:00
Mark Hillebrand 661e668ca2 .editorconfig: added 2018-12-19 13:47:47 +01:00
Mark Hillebrand 12d5198e5b
Bump master branch base version to 1.3.0 (#9) 2018-12-19 10:32:56 +01:00
Mark Hillebrand 4a9ce800cf
Build updates (#8)
* Fold in the JsBuild.yml template.
* Publish test results on test failkure as well.
* Add CG.
* Temporarily skip testStopContinuousRecognitionAsyncWithoutTelemetry
* version.js: fix for non-prerelease versions.
2018-12-19 10:13:29 +01:00
Friedel van Megen ec3e226653 adding vscode jest launch configuration 2018-12-18 15:25:46 +01:00
Friedel van Megen fb4ecfde2d updating versions, adding ts-jest 2018-12-18 15:25:18 +01:00
Friedel van Megen bf94d4cef1 fire end of stream at turn.end, not at speech.end 2018-12-17 22:23:59 +01:00
Mark Hillebrand f6e913bdf0
REDIST.txt: add microsoft.cognitiveservices.speech.sdk.bundle-min.js (#6) 2018-12-17 19:09:38 +01:00
Mark Hillebrand f495d7423a
package.json: add distrib/browser/**/* (#5) 2018-12-17 16:51:14 +01:00
Friedel van Megen f1672ded32
Merge pull request #4 from Microsoft/fmegen-patch-1
Update README.md
2018-12-17 11:00:12 +01:00
Friedel van Megen be6a751af5
Update README.md 2018-12-17 10:39:34 +01:00
Microsoft Open Source 7a0c6e3610 Edit property ID documentation 2018-12-17 10:39:13 +01:00
Microsoft Open Source 384e49ae0f Initial import of sources (#2) 2018-12-17 10:13:23 +01:00
Mark Hillebrand 6478fd8cec
ci/check-git-head.sh: added (#1) 2018-12-07 17:28:08 +01:00
Mark Hillebrand eb796fd065 PR and CI trigger 2018-12-07 15:18:15 +01:00
Mark Hillebrand 42baca452b Initial build.yml 2018-12-07 15:11:08 +01:00
Microsoft Open Source 5916f7f188 Initial commit 2018-11-26 07:29:11 -08:00
Microsoft Open Source b5c2e9877c Initial commit 2018-11-26 07:29:11 -08:00
Microsoft GitHub User 6ac677c747
Initial commit 2018-11-26 07:29:05 -08:00