File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed
fern/pages/02-speech-to-text/universal-streaming Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -952,8 +952,8 @@ You send:
952952<AccordionGroup >
953953<Accordion title = " Audio data" >
954954
955- ``` json
956- " UklGRtjIAABXQVZFZ "
955+ ```
956+ "\x52\x49\x46\x46\xd8\xc8\x00\x00\x57\x41\x56\x45\x46 "
957957```
958958
959959</Accordion >
Original file line number Diff line number Diff line change @@ -230,14 +230,13 @@ components:
230230 AudioChunk :
231231 name : AudioChunk
232232 title : Audio Data Chunk
233- summary : Client sends audio data as a base64-encoded string within a JSON object.
234- type : string
235- format : base64
233+ summary : Client sends audio data as raw binary.
234+ contentType : application/octet-stream
236235 payload :
237236 type : string
238- format : base64
237+ format : binary
239238 examples :
240- - payload : " UklGRiQAAABXQVZFZm10IBAAAAABAAEAgD4AAAB9AAACABAAZGF0YQAAAAA= "
239+ - payload : ' \x10\x00\x20\x00\x30\x00\x40\x00\x30\x00\x20\x00\x10\x00\x00\x00\xf0\xff\xe0\xff\xd0\xff\xc0\xff '
241240
242241 SessionBegins :
243242 name : SessionBegins
You can’t perform that action at this time.
0 commit comments