Skip to content

Commit

Permalink
Added comment about safari
Browse files Browse the repository at this point in the history
In #22, an issue with Safari was shown - while it isn't fixed, the suggested workaround is given in a note on the tutorials.
  • Loading branch information
dkumor committed Mar 11, 2021
1 parent 18b00f4 commit ba45b7a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions examples/webrtc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,14 @@ app.on_shutdown.append(cleanup)
web.run_app(app)
```

```eval_rst
.. note::
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::
<script crossorigin src="https://webrtc.github.io/adapter/adapter-latest.js"></script>
```

The above example establishes a WebRTC connection from the browser to python, and sends a "Button Clicked!" message
to python each time the button is clicked in the browser.

Expand Down

0 comments on commit ba45b7a

Please sign in to comment.