Skip to content

Commit 80c3d0d

Browse files
Google APIscopybara-github
authored andcommitted
feat: expose MP3_64_KBPS and MULAW for output audio encodings.
PiperOrigin-RevId: 364697203
1 parent c2bdbfa commit 80c3d0d

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

google/cloud/dialogflow/v2beta1/audio_config.proto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,17 @@ enum OutputAudioEncoding {
359359
// MP3 audio at 32kbps.
360360
OUTPUT_AUDIO_ENCODING_MP3 = 2;
361361

362+
// MP3 audio at 64kbps.
363+
OUTPUT_AUDIO_ENCODING_MP3_64_KBPS = 4;
364+
362365
// Opus encoded audio wrapped in an ogg container. The result will be a
363366
// file which can be played natively on Android, and in browsers (at least
364367
// Chrome and Firefox). The quality of the encoding is considerably higher
365368
// than MP3 while using approximately the same bitrate.
366369
OUTPUT_AUDIO_ENCODING_OGG_OPUS = 3;
370+
371+
// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law.
372+
OUTPUT_AUDIO_ENCODING_MULAW = 5;
367373
}
368374

369375
// Configures speech transcription for [ConversationProfile][google.cloud.dialogflow.v2beta1.ConversationProfile].

google/cloud/dialogflow/v2beta1/session.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@ message QueryInput {
276276

277277
// The event to be processed.
278278
EventInput event = 3;
279+
280+
// The DTMF digits used to invoke intent and fill in parameter value.
281+
TelephonyDtmfEvents dtmf = 4;
279282
}
280283
}
281284

0 commit comments

Comments
 (0)