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
This example uses RTCBot to live stream a webcam to the browser. For details, please look at [the tutorials](https://rtcbot.readthedocs.io/en/latest/examples/index.html).
@@ -103,3 +109,21 @@ Browser code (index.html) that displays the video stream:
103
109
</body>
104
110
</html>
105
111
```
112
+
113
+
## Development
114
+
115
+
To use `rtcbot` code directly, clone the repository, and install the requirements:
116
+
117
+
```
118
+
pip install -r requirements.txt
119
+
```
120
+
121
+
Then, you will need to perform the javascript build step, to prepare the browser code. This step requires both `make` and `npm` to be installed on your machine. To build the javascript, type in:
122
+
123
+
```
124
+
make js
125
+
```
126
+
127
+
This creates `rtcbot/rtcbot.js`, which is returned by `rtcbot.getRTCBotJS()`.
128
+
129
+
After these two steps, you should be able to successfully import and use the library.
0 commit comments