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
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,6 +128,21 @@ What to try the sample ? All you need is a subscription key. [Sign up](https://w
128
128
129
129
Here is a handy link to our [Sample](https://htmlpreview.github.io/?https://github.com/Azure-Samples/SpeechToText-WebSockets-Javascript/blob/preview/samples/browser/Sample.html) that you can try out. (Rendered using [htmlPreview](https://github.com/htmlpreview/htmlpreview.github.com))
130
130
131
+
To try the sample locally, please clone this repository:
compile the TypeScript sources and bundle/browserfy them into a single JavaScript file:
137
+
138
+
```
139
+
cd SpeechToText-WebSockets-Javascript && npm run bundle
140
+
```
141
+
142
+
open `samples\browser\Sample.html`in your favorite browser.
143
+
144
+
To use token-based authentication, please launch a local node server, as described [here](https://github.com/Azure-Samples/SpeechToText-WebSockets-Javascript/blob/master/samples/browser/README.md)
145
+
131
146
**Note:** Some browsers block microphone access on un-secure origin. So, it is recommended to host the 'sample'/'your app' on https to get it working on all supported browsers.
0 commit comments