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
Copy file name to clipboardExpand all lines: README.md
+6-20
Original file line number
Diff line number
Diff line change
@@ -21,30 +21,16 @@ Your server has to be available via HTTPS. If your Nextcloud server is not using
21
21
1. Place this app in the **apps/** folder of your Nextcloud installation. Make sure the directory of this app is named `spreedme`.
22
22
2. Enable this Nextcloud app by browsing to **/index.php/settings/apps**
23
23
3. Open the Nextcloud admin settings page (**/index.php/settings/admin#goto-spreed.me**) in your browser and configure this app:
24
-
1. Click on **Generate new shared secret**. It will output a random string which you will need in one of the next steps. Copy it to your clipboard.
24
+
1. Click on **Generate Spreed WebRTC config**. It will output the Spreed WebRTC configuration you will need in one of the next steps. Copy it to your clipboard.
25
25
2. Click on **Save settings**.
26
26
4. Set up a Spreed WebRTC server and continue with the next step.
27
27
An easy-to-follow installation guideline can be found further below, see [Installation / Setup of a Spreed WebRTC server](#installation--setup-of-a-spreed-webrtc-server).
28
28
5. You now should have a running Spreed WebRTC server.
29
-
6. This app requires you to change some settings in the `server.conf` of the Spreed WebRTC server (`webrtc.conf` if you use the packaged version), namely:
30
-
1. In the **[http]** section:
31
-
- Enable (= uncomment) **basePath** and set it to **/webrtc/**
32
-
(`basePath = /webrtc/`)
33
-
2. In the **[app]** section:
34
-
- Enable **authorizeRoomJoin** and set it to **true**
35
-
(`authorizeRoomJoin = true`)
36
-
- Enable **extra** and set it to the full absolute path of the **spreedme/extra** directory in your **apps** folder of your Nextcloud installation
4. Restart the Spreed WebRTC server to reload its configuration
29
+
6. This app requires you to change some settings in the `server.conf` of the Spreed WebRTC server (`webrtc.conf` if you use the packaged version):
30
+
1. Empty the contents of the file.
31
+
2. Paste in the Spreed WebRTC config from step 1 (you should have it in your clipboard).
32
+
3. Save the file.
33
+
4. Restart the Spreed WebRTC server to reload its configuration.
48
34
7.**That's it.** You can now start communicating securely with your friends and family by opening the **Spreed.ME app** of your Nextcloud host in your browser.
Copy file name to clipboardExpand all lines: templates/settings-admin.php
+10-1
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,22 @@
28
28
<p><code>config/config.php</code> was not found. We will use the Nextcloud database to read/write config values.</p>
29
29
<p>You can change them here:</p>
30
30
<form action="#" method="POST">
31
+
<p class="hidden SPREED_WEBRTC_CONFIG warning">
32
+
<label for="SPREED_WEBRTC_CONFIG">A new SPREED_WEBRTC_CONFIG was generated.<br />Simply remove everything from your current <code>server.conf</code> and paste the new config in instead.<br />Restart Spreed WebRTC afterwards.</label>
<!-- label for and input id removed intentionally. This makes it possible to copy&paste 'sharedsecret_secret' -->
33
42
<label>A new SPREED_WEBRTC_SHAREDSECRET was generated.<br />Use it for <code>sharedsecret_secret</code> in Spreed WebRTC's configuration.<br />Restart Spreed WebRTC afterwards.</label>
class="needs-confirmation" data-confirmation-message="Do you really want to generate a new shared secret?\nYou will need to change it in Spreed WebRTC's configuration, too." value="Generate new shared secret" />
0 commit comments