Skip to content

Commit 87e8cee

Browse files
author
AWS
committed
Amazon Transcribe Streaming Service Update: Amazon Transcribe now supports channel identification in real-time streaming, which enables you to transcribe multi-channel streaming audio.
1 parent 4a738ba commit 87e8cee

File tree

2 files changed

+39
-0
lines changed

2 files changed

+39
-0
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Transcribe Streaming Service",
4+
"description": "Amazon Transcribe now supports channel identification in real-time streaming, which enables you to transcribe multi-channel streaming audio."
5+
}

services/transcribestreaming/src/main/resources/codegen-resources/service-2.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,10 @@
173173
"max":48000,
174174
"min":8000
175175
},
176+
"NumberOfChannels":{
177+
"type":"integer",
178+
"min":2
179+
},
176180
"RequestId":{"type":"string"},
177181
"Result":{
178182
"type":"structure",
@@ -196,6 +200,10 @@
196200
"Alternatives":{
197201
"shape":"AlternativeList",
198202
"documentation":"<p>A list of possible transcriptions for the audio. Each alternative typically contains one <code>item</code> that contains the result of the transcription.</p>"
203+
},
204+
"ChannelId":{
205+
"shape":"String",
206+
"documentation":"<p>When channel identification is enabled, Amazon Transcribe transcribes the speech from each audio channel separately.</p> <p>You can use <code>ChannelId</code> to retrieve the transcription results for a single channel in your audio stream.</p>"
199207
}
200208
},
201209
"documentation":"<p>The result of transcribing a portion of the input audio stream. </p>"
@@ -215,6 +223,8 @@
215223
},
216224
"SessionId":{
217225
"type":"string",
226+
"max":36,
227+
"min":36,
218228
"pattern":"[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}"
219229
},
220230
"StartStreamTranscriptionRequest":{
@@ -277,6 +287,18 @@
277287
"documentation":"<p>When <code>true</code>, enables speaker identification in your real-time stream.</p>",
278288
"location":"header",
279289
"locationName":"x-amzn-transcribe-show-speaker-label"
290+
},
291+
"EnableChannelIdentification":{
292+
"shape":"Boolean",
293+
"documentation":"<p>When <code>true</code>, instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.</p> <p>Amazon Transcribe also produces a transcription of each item. An item includes the start time, end time, and any alternative transcriptions.</p> <p>You can't set both <code>ShowSpeakerLabel</code> and <code>EnableChannelIdentification</code> in the same request. If you set both, your request returns a <code>BadRequestException</code>.</p>",
294+
"location":"header",
295+
"locationName":"x-amzn-transcribe-enable-channel-identification"
296+
},
297+
"NumberOfChannels":{
298+
"shape":"NumberOfChannels",
299+
"documentation":"<p>The number of channels that are in your audio stream.</p>",
300+
"location":"header",
301+
"locationName":"x-amzn-transcribe-number-of-channels"
280302
}
281303
},
282304
"payload":"AudioStream"
@@ -341,6 +363,18 @@
341363
"documentation":"<p>Shows whether speaker identification was enabled in the stream.</p>",
342364
"location":"header",
343365
"locationName":"x-amzn-transcribe-show-speaker-label"
366+
},
367+
"EnableChannelIdentification":{
368+
"shape":"Boolean",
369+
"documentation":"<p>Shows whether channel identification has been enabled in the stream.</p>",
370+
"location":"header",
371+
"locationName":"x-amzn-transcribe-enable-channel-identification"
372+
},
373+
"NumberOfChannels":{
374+
"shape":"NumberOfChannels",
375+
"documentation":"<p>The number of channels identified in the stream.</p>",
376+
"location":"header",
377+
"locationName":"x-amzn-transcribe-number-of-channels"
344378
}
345379
},
346380
"payload":"TranscriptResultStream"

0 commit comments

Comments
 (0)