Skip to content

Commit ba45b7a

Browse files
committed
Added comment about safari
In #22, an issue with Safari was shown - while it isn't fixed, the suggested workaround is given in a note on the tutorials.
1 parent 18b00f4 commit ba45b7a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

examples/webrtc/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,14 @@ app.on_shutdown.append(cleanup)
132132
web.run_app(app)
133133
```
134134

135+
```eval_rst
136+
.. note::
137+
If you use Safari, you might want to add an additional adapter script to the head element `to fix connection issues <https://github.com/dkumor/rtcbot/issues/22>`_ when running locally::
138+
139+
<script crossorigin src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
140+
141+
```
142+
135143
The above example establishes a WebRTC connection from the browser to python, and sends a "Button Clicked!" message
136144
to python each time the button is clicked in the browser.
137145

0 commit comments

Comments
 (0)