You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/compat.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ If you do use an older version of Node.js like version 16, you'll need to polyfi
13
13
To make the SDK compatible with the browser, the SDK aims to use web standards as much as possible.
14
14
However, there are still incompatibilities between Node.js and the browser.
15
15
16
-
-`RealtimeTranscriber` doesn't support the AssemblyAI API key in the browser.
17
-
Instead, you have to generate a temporary auth token using `client.realtime.createTemporaryToken`, and pass in the resulting token to the real-time transcriber.
16
+
-`StreamingTranscriber` doesn't support the AssemblyAI API key in the browser.
17
+
Instead, you have to generate a temporary auth token using `client.streaming.createTemporaryToken`, and pass in the resulting token to the streaming transcriber.
18
18
19
19
Generate a temporary auth token on the server.
20
20
@@ -23,24 +23,24 @@ However, there are still incompatibilities between Node.js and the browser.
23
23
// Ideally, to avoid embedding your API key client side,
24
24
// you generate this token on the server, and pass it to the client via an API.
0 commit comments