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

6 Коммитов

Автор SHA1 Сообщение Дата
Glenn Harper a552ae3427
add getWaveFormat API to AudioStreamFormat to support non-PCM wav for… (#460)
* add getWaveFormat API to AudioStreamFormat to support non-PCM wav formats, include test and test files

* extend gitattributes for mulaw, alaw

* Use CTS specific key for CTS tests

* use different CTS key

* key change again
2021-12-03 11:36:12 -08:00
Brandon Miller 2053c62454
DialogServiceConnector, Connect/Disconnect impl (#90)
* Implemented DialogConnectorFactory.

* WIP

* begin add dialog tests

* connect impl and first test

* headers for browser

* expose connect

* initial listenOnce

* repalce websocket use

* listenOnce with browser connection support

* listenOnce with activity responses

* expose get/setter props

* cleanup

* generic send fnc

* extracting functionality from base reco

* Save the day

* First incarnation of the BaseAudioPlayer class.

# Conflicts:
#	tests/DialogServiceConnectorTests.ts

* Fix bugs in BaseAudioPlayer and added manual tests for it.
- server.js - web socket streaming long audio file (node server.js from the folder)
- AudioPlayerBaseTest.html lauch http-server in the folder and then load the page

* lint cleanup

* Added missed server.js file for audio player manual tests

* Added audio output stream

* TSLint fixes

* AudioOutputStreamTests

* update message loop

* AudioOutputStream fixes
Jsonification of activity
Added AudioOutputStream to activity
ActivityPayloadResponse class

* refactor message loop and add sendActivity

* Turn management classes

* Add integration with turn management

* Few fixes - turn.end is not coming
Merge branch 'brandom/dialog' of https://github.com/microsoft/cognitive-services-speech-sdk-js into gghizila/TTSStreamIntegration

# Conflicts:
#	src/common.speech/DialogServiceAdapter.ts

* Fixed the traces for turns to report "debugturn" to help with turn.end investigation missing

* Added timeouts as workaround to not routed messages to 2s.
Added debugturn logging for investingating the messages not routed.
Added timestamps to console.info

* remove promisehelper wait, rm cancel recos

* minor code restructuring

* * The last audio message is null. When we encounter it we closed the audio stream.
* Added isClosed to the audio output stream impl.
* Changed tests to defer the shutdown to avoid random red herrings.

* * The last audio message is null. When we encounter it we closed the audio stream.
 * Added isClosed to the audio output stream impl.
 * Changed tests to defer the shutdown to avoid random red herrings.

* Added try / catch for audio message handling.

* restrict config to once per connection

* Upgrade https-proxy-agent to 2.2.3 after the last alert.

* fix reco end, remove speech context on turn.end

* Fix machine in the middle vulnerability for "https-proxy-agent" (#97)

- changes generated by npm audit fix --force
- upgrade "https-proxy-agent" to 3.0.0 as there is inconsistency on reports as what version fixes the vulnerability

* fix for mic staying open

* split config into BF and Commands

* add temporary ApplicationId to tests

* add reconnect on websocket timeout, config parity

* remove authHeader from botFramework config

* Implemented DialogConnectorFactory.

* WIP

* begin add dialog tests

* connect impl and first test

* headers for browser

* initial listenOnce

* expose connect

* repalce websocket use

* listenOnce with browser connection support

* listenOnce with activity responses

* expose get/setter props

* cleanup

* generic send fnc

* extracting functionality from base reco

* Save the day

* First incarnation of the BaseAudioPlayer class.

# Conflicts:
#	tests/DialogServiceConnectorTests.ts

* Fix bugs in BaseAudioPlayer and added manual tests for it.
- server.js - web socket streaming long audio file (node server.js from the folder)
- AudioPlayerBaseTest.html lauch http-server in the folder and then load the page

* lint cleanup

* Added missed server.js file for audio player manual tests

* Added audio output stream

* TSLint fixes

* AudioOutputStreamTests

* update message loop

* AudioOutputStream fixes
Jsonification of activity
Added AudioOutputStream to activity
ActivityPayloadResponse class

* refactor message loop and add sendActivity

* Turn management classes

* Add integration with turn management

* Few fixes - turn.end is not coming
Merge branch 'brandom/dialog' of https://github.com/microsoft/cognitive-services-speech-sdk-js into gghizila/TTSStreamIntegration

# Conflicts:
#	src/common.speech/DialogServiceAdapter.ts

* Fixed the traces for turns to report "debugturn" to help with turn.end investigation missing

* Added timeouts as workaround to not routed messages to 2s.
Added debugturn logging for investingating the messages not routed.
Added timestamps to console.info

* remove promisehelper wait, rm cancel recos

* minor code restructuring

* * The last audio message is null. When we encounter it we closed the audio stream.
* Added isClosed to the audio output stream impl.
* Changed tests to defer the shutdown to avoid random red herrings.

* * The last audio message is null. When we encounter it we closed the audio stream.
 * Added isClosed to the audio output stream impl.
 * Changed tests to defer the shutdown to avoid random red herrings.

* Added try / catch for audio message handling.

* restrict config to once per connection

* fix reco end, remove speech context on turn.end

* fix for mic staying open

* split config into BF and Commands

* add temporary ApplicationId to tests

* add reconnect on websocket timeout, config parity

* remove authHeader from botFramework config

* merge

* restore code coverage

* extend gitattributes
2019-10-31 11:48:40 -07:00
Mark Hillebrand 661e668ca2 .editorconfig: added 2018-12-19 13:47:47 +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 42baca452b Initial build.yml 2018-12-07 15:11:08 +01:00