Skip to content

Commit 1b70f24

Browse files
wanlin31copybara-github
authored andcommitted
feat: Add support for the audio/webm MIME type.
PiperOrigin-RevId: 972825855
1 parent df0ab55 commit 1b70f24

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

google/genai/_gaos/types/interactions/audiocontent.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"audio/opus",
4747
"audio/alaw",
4848
"audio/mulaw",
49+
"audio/webm",
4950
],
5051
UnrecognizedStr,
5152
]

google/genai/_gaos/types/interactions/audiodelta.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
"audio/opus",
4141
"audio/alaw",
4242
"audio/mulaw",
43+
"audio/webm",
4344
],
4445
UnrecognizedStr,
4546
]

0 commit comments

Comments
 (0)