The AI Powered Speech Analytics for Amazon Connect solution provides the combination of speech to text transcription, translation into preferred languages, and insights for agents and supervisors all in real-time
When the transcription restarts, Transcribe may be still consuming the audio input and converting it to the script. The script under transcription may not be converted in the current implementation because the KVS stream restarts from the latest position. This commit saves the fragment number used by Transcribe and restarts the stream from that number.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available:
This commit partially solves the issue #32.
Description of changes:
When the transcription restarts, Transcribe may be still consuming the audio input and converting it to the script. The script under transcription may not be converted in the current implementation because the KVS stream restarts from the latest position. This commit saves the fragment number used by Transcribe and restarts the stream from that number.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.