Commit 84893cb
[TTS Avatar][JS, Python] Trigger reconnection for websockets disconnection (#2782)
* [TalkingAvatar] Add sample code for TTS talking avatar real-time API
* sample codes for batch avatar synthesis
* Address repository check failure
* update
* [Avatar] Update real time avatar sample code to support multi-lingual
* [avatar] update real time avatar chat sample to receive GPT response streamingly
* [Live Avatar] update chat sample to make some refinements
* [TTS Avatar] Update real-time sample to support 1. non-continuous recognition mode 2. a button to stop speaking 3. user can type query without speech
* [TTS Avatar] Update real time avatar sample to support auto-reconnect
* Don't reset message history when re-connecting
* [talking avatar] update real time sample to support using cached local video for idle status, to help save customer cost
* Update chat.html and README.md
* Update batch avatar sample to use mp4 as default format, to avoid defaultly showing slow speed with vp9
* A minor refinement
* Some refinement
* Some bug fixing
* Refine the reponse receiving logic for AOAI streaming mode, to make it more robust
* [Talking Avatar] update real-time sample code to log result id (turn id) for ease of debugging
* [Talking Avatar] Update avatar live chat sample, to upgrade AOAI API version from 2023-03-15-preview to 2023-12-01-preview
* [Talking Avatar][Live Chat] Update AOAI API to be long term support version 2023-06-01-preview
* [Talking Avatar] Add real time avatar sample code for server/client hybrid web app, with server code written in python
* Some refinements
* Add README.md
* Fix repo check failure: files that are neither marked as binary nor text, please extend .gitattributes
* [Python][TTS Avatar] Add chat sample
* [Python][TTS Avatar] Add chat sample - continue
* Support multiple clients management
* Update README.md
* [Python][TTS Avatar] Support customized ICE server
* [Talking Avatar][Python] Support stop speaking
* Tolerat speech sdk to unsupport sending message with connection
* [Python][TTS Avatar] Send local SDP as post body instead of header, to avoid header size over limit
* [python][avatar] update requirements.txt to add the missing dependencies
* [python][avatar] update real-time sample to make auto-connection more smoothy
* [Python][Avatar] Fix some small bugs
* [python][avatar] Support AAD authorization on private endpoint
* [Java][Android][Avatar] Add Android sample code for real time avatar
* Code refinement
* More refinement
* More refinement
* Update README.md
* [Java][Android][Avatar] Remove AddStream method, which is not available with Unified Plan SDP semantics, and use AddTrack per suggestion
* [Python][Avatar][Live] Get speaking status from WebRTC event, and remove the checkSpeakingStatus API from backend code
* [Java][Android][Live Avatar] Update the sample to demonstrate switching audio output device to loud speaker
* [Python][Avatar][Live] Switch from REST API to SDK for calling AOAI
* [Python][Avatar][Live] Trigger barging at first recognizing event which is earlier
* [Python][Avatar][Live] Enable continuous conversation by default
* [Python][Avatar][Live] Disable multi-lingual by default for better latency
* [Python][Avatar][Live] Configure shorter segmentation silence timeout for quicker SR
* [Live Avatar][Python, CSharp] Add logging for latency
* [TTS Avatar][Live][Python, CSharp, JS] Fix a bug to correctly clean up audio player
* [TTS Avatar][Live][JavaScript] Output display text with a slower rate, to follow the avatar speaking progress
* Make the display text / speech alignment able for on/off
* [TTS Avatar][Live][CSharp] Output display text with a slower rate, to follow the avatar speaking progress
* Create an auto-deploy file
* Unlink the containerApp yinhew-avatar-app from this repo
* Delete unnecessary file
* [talking avatar][python] Update real time sample to add option to connect with server through WebSocket, and do STT on server side
* [TTS Avatar][Live][js] update sample code for support of setting of background image and remote TURN server URL
* [talking avatar][live][python] make sure host can still start up without AOAI resource
* [Talking Avatar][Live] update sample code to close WS connection in-time, when user closes/refreshes web page, or auto-reconnection is applied
* Some refinement to connection object
* Update csharp sample as well
* [Talking Avatar][Live][Python] Check ICE token fetching success
* [Talking Avatar][Live][Python] Add VAD for interruption with lower delay
* [TTS Avatar][JS] Continue speaking unfinished sentences after reconnection
* [TTS Avatar][Python] Continue speaking unfinished sentences after reconnection
* [TTS Avatar][Python] Trigger reconnection for websockets disconnection
* [TTS Avatar][JS] Trigger reconnection for websockets disconnection
---------
Co-authored-by: Yulin Li <yulili@microsoft.com>1 parent 11333dd commit 84893cb
2 files changed
+34
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
207 | 209 | | |
208 | 210 | | |
209 | 211 | | |
| 212 | + | |
210 | 213 | | |
211 | 214 | | |
212 | 215 | | |
| |||
223 | 226 | | |
224 | 227 | | |
225 | 228 | | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
226 | 244 | | |
| 245 | + | |
227 | 246 | | |
228 | 247 | | |
229 | 248 | | |
| |||
620 | 639 | | |
621 | 640 | | |
622 | 641 | | |
| 642 | + | |
623 | 643 | | |
624 | 644 | | |
625 | 645 | | |
| |||
670 | 690 | | |
671 | 691 | | |
672 | 692 | | |
| 693 | + | |
673 | 694 | | |
674 | 695 | | |
675 | 696 | | |
| |||
687 | 708 | | |
688 | 709 | | |
689 | 710 | | |
| 711 | + | |
690 | 712 | | |
691 | 713 | | |
692 | 714 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
249 | 250 | | |
250 | 251 | | |
251 | 252 | | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
252 | 261 | | |
253 | 262 | | |
254 | 263 | | |
| |||
477 | 486 | | |
478 | 487 | | |
479 | 488 | | |
| 489 | + | |
| 490 | + | |
480 | 491 | | |
481 | 492 | | |
482 | 493 | | |
| |||
532 | 543 | | |
533 | 544 | | |
534 | 545 | | |
| 546 | + | |
535 | 547 | | |
536 | 548 | | |
537 | 549 | | |
| |||
0 commit comments