Welcome to mirror list, hosted at ThFree Co, Russian Federation.

README.md - github.com/nextcloud/spreedme-snap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 663eb96e48332760838e590a4555d731571e888c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Spreed.ME snap

## Description

Chat and make audio/video calls straight from Nextcloud using [Spreed WebRTC](https://github.com/strukturag/spreed-webrtc/) on Ubuntu Snappy.

If you are a company wanting a secure and private alternative for online communication make sure to check out the [Spreedbox](http://spreedbox.com/), providing a ready to use hardware with Spreed.ME included.

## Maintainers

* [Simon Eisenmann](https://github.com/longsleep)
* [Olivier Paroz](https://github.com/oparoz)

## Compilation

*Prerequisite: You need to have both snapcraft and snapd installed. See https://snapcraft.io*

Download the source

`$ git clone https://github.com/nextcloud/spreedme-snap`

Compile the snap

```bash
$ cd spreedme-snap
$ sudo snapcraft
```

Install it locally

`$ sudo snap install spreedme_0.29.2snap1-1_amd64.snap --force-dangerous`

*Note: Replace the filename with the one which has been generated*

## Installation

This downloads the app from the Ubuntu app store

`$ sudo snap install spreedme`

## How to use

### 1. Set up your reverse proxy

You need to configure your reverse proxy so that Nextcloud can communicate with the snap

#### Apache

Make sure the following modules are installed

* mod_proxy
* mod_proxy_http
* mod_proxy_wstunnel

Add an entry in your Nextcloud virtualhost which points the /webrtc directory to the Spreed.ME snap.

```
	<Location /webrtc>
		ProxyPass http://127.0.0.1:8080/webrtc
		ProxyPassReverse /webrtc
	</Location>

	<Location /webrtc/ws>
		ProxyPass ws://127.0.0.1:8080/webrtc/ws
	</Location>

	ProxyVia On
	ProxyPreserveHost On
	RequestHeader set X-Forwarded-Proto 'https' env=HTTPS
```

### 2. Install the Spreed.ME app

#### From the app store

1. Go to the app store inside Nextcloud
1. Enable experimental apps support (wheel icon, bottom left)
1. Click on "Tools" in the left sidebar
1. Scroll down until you see the Spreed.ME app

#### From the command line (not recommended)

Go to the Nextcloud sub-folder where you install your apps

**Install via Git**

Clone the Spreed.ME Nextcloud app or download it from https://github.com/strukturag/nextcloud-spreedme/releases
```bash
git clone https://github.com/strukturag/nextcloud-spreedme.git spreedme
```

**Install via wget**

```bash
$ wget https://github.com/strukturag/nextcloud-spreedme/archive/v0.3.6.tar.gz
$ tar zxvf v0.3.6.tar.gz
$ mv nextcloud-spreedme-0.3.6 spreedme
$ sudo -u www-data php /var/www/nextcloud/occ app:enable spreedme
```

*Note: You need to adjust the version number*

### 3. Configure the Spreed.ME app

1. Go to the admin panel, click on Spreed.ME on the left side-bar
1. Click on "Generate Spreed WebRTC config"
1. Copy-paste the random string next to "sharedsecret_secret" for later use
1. Edit the Spreed me configuration file located at:
`/var/snap/spreedme/current/server.conf`
1. In the [users] section, add the shared secret copy-pasted from earlier, like this
`sharedsecret_secret = bb04fb058e2d7fd19c5bdaa129e7883195f73a9c49414a7eXXXXXXXXXXXXXXXX`
1. Restart Spreed.ME. On a system using systemd, this can be done like this:
`$ systemctl restart snap.spreedme.spreed-webrtc.service`

### 4. Start spreeding!

1. Open the Spreed.ME app in the apps menu
1. Authorise your browser to send your notifications and to use your microphone and camera
1. Ask other users to come and have a chat

#### Additional features

* You can create rooms and share the link to other Nextcloud users on the same instance
* You can define the video quality in the settings panel, after clicking on the wheels icon, top right

### Nextcloud VM
This snap is included in the [Nextcloud VM](https://github.com/nextcloud/vm) and installed when you boot for the first time.

----
Spreed WebRTC & Spreed.ME (c)2017 struktur AG