Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 8e67844

Browse files
authored
Update README.md
1 parent b81727e commit 8e67844

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,21 @@ What to try the sample ? All you need is a subscription key. [Sign up](https://w
128128

129129
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))
130130

131+
To try the sample locally, please clone this repository:
132+
```
133+
git clone https://github.com/Azure-Samples/SpeechToText-WebSockets-Javascript
134+
```
135+
136+
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+
131146
**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.
132147

133148
## Docs

0 commit comments

Comments
 (0)