Skip to content

Commit c3c9347

Browse files
committed
Merge branch 'release-0.24'
2 parents 617c348 + 9b91154 commit c3c9347

File tree

10 files changed

+543
-250
lines changed

10 files changed

+543
-250
lines changed

debian/changelog

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
spreed-webrtc-server (0.24.5) trusty; urgency=medium
2+
3+
* Updated ua-parser to 0.7.9.
4+
* Fixed errors in unit tests.
5+
* Added Apache HTTPD example configuration.
6+
* Fixed a problem where Firefox did not release media permissions.
7+
* More use of track API instead of stream API.
8+
* SignalingState changes are now triggered as event.
9+
* Fixed a problem where Firefox did not start the call when media permission was denied.
10+
* Fixed a problem where streams could not be started when they were disabled when call was started and server has renegotiation disabled.
11+
* Fixed a problem where the renegotiation shrine was ignored.
12+
13+
-- Simon Eisenmann <[email protected]> Fri, 07 Aug 2015 16:08:14 +0200
14+
115
spreed-webrtc-server (0.24.4) precise; urgency=low
216

317
* Updated German translations.

doc/APACHE.txt

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
## Apache HTTP Server configuration for Spreed WebRTC
2+
3+
Apache supports websocket proxy starting with 2.4.5.
4+
5+
Make sure you have the module mod_proxy_wstunnel enabled. In addition proxy,
6+
proxy_http and headers modules have to be enabled. On Ubuntu this goes like
7+
this: `a2enmod proxy proxy_http proxy_wstunnel headers`
8+
9+
Then add the following lines to your VirtualHost section:
10+
11+
<Location />
12+
ProxyPass http://127.0.0.1:8080/
13+
ProxyPassReverse /
14+
</Location>
15+
16+
<Location /ws>
17+
ProxyPass ws://127.0.0.1:8080/ws
18+
</Location>
19+
20+
ProxyVia On
21+
ProxyPreserveHost On
22+
RequestHeader set X-Forwarded-Proto 'https' env=HTTPS
23+
24+
Thats it.
25+
26+
--
27+
(c)2015 struktur AG
28+
29+
30+

doc/NGINX.txt

Lines changed: 45 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,48 @@
1-
A few notes on Nginx configuration
2-
3-
In general Nginx with websocket support is required
4-
(I am using Nginx 1.4). It should work with Nginx 1.3 too.
5-
6-
Add the following to your Nginx server section:
7-
8-
location / {
9-
proxy_pass http://localhost:8090;
10-
proxy_http_version 1.1;
11-
proxy_set_header Upgrade $http_upgrade;
12-
proxy_set_header Connection $connection_upgrade;
13-
proxy_set_header X-Forwarded-Proto $scheme;
14-
proxy_set_header Host $http_host;
15-
proxy_set_header X-Real-IP $remote_addr;
16-
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
17-
}
18-
19-
This is using a map to provide the Upgrade and Connection
20-
headers to the backend server. You need to add this map to
21-
the http section of your server:
22-
23-
map $http_upgrade $connection_upgrade {
24-
default upgrade;
25-
'' close;
26-
}
27-
28-
Also make sure that you have the general proxy configuration
29-
like this in place:
30-
31-
proxy_buffering on;
32-
proxy_ignore_client_abort off;
33-
proxy_redirect off;
34-
proxy_connect_timeout 90;
35-
proxy_send_timeout 90;
36-
proxy_read_timeout 90;
37-
proxy_buffer_size 4k;
38-
proxy_buffers 4 32k;
39-
proxy_busy_buffers_size 64k;
40-
proxy_temp_file_write_size 64k;
41-
proxy_next_upstream error timeout invalid_header http_502 http_503 http_504;
42-
43-
Thats it.
44-
45-
--
46-
(c)2013 struktur AG
1+
## Nginx HTTP server configuration for Spreed WebRTC
2+
3+
In general Nginx with websocket support is required (Nginx >= 1.3).
4+
5+
Add the following to your Nginx server section:
6+
7+
location / {
8+
proxy_pass http://localhost:8090;
9+
proxy_http_version 1.1;
10+
proxy_set_header Upgrade $http_upgrade;
11+
proxy_set_header Connection $connection_upgrade;
12+
proxy_set_header X-Forwarded-Proto $scheme;
13+
proxy_set_header Host $http_host;
14+
proxy_set_header X-Real-IP $remote_addr;
15+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
16+
}
17+
18+
This is using a map to provide the Upgrade and Connection
19+
headers to the backend server. You need to add this map to
20+
the http section of your server:
21+
22+
map $http_upgrade $connection_upgrade {
23+
default upgrade;
24+
'' close;
25+
}
26+
27+
Also make sure that you have the general proxy configuration
28+
like this in place:
29+
30+
proxy_buffering on;
31+
proxy_ignore_client_abort off;
32+
proxy_redirect off;
33+
proxy_connect_timeout 90;
34+
proxy_send_timeout 90;
35+
proxy_read_timeout 90;
36+
proxy_buffer_size 4k;
37+
proxy_buffers 4 32k;
38+
proxy_busy_buffers_size 64k;
39+
proxy_temp_file_write_size 64k;
40+
proxy_next_upstream error timeout invalid_header http_502 http_503 http_504;
41+
42+
And thats it.
43+
44+
--
45+
(c)2013 struktur AG
4746

4847

4948

src/app/spreed-webrtc-server/room_manager_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ import (
2626
)
2727

2828
func NewTestRoomManager() (RoomManager, *Config) {
29-
config := &Config{}
29+
config := &Config{
30+
roomTypeDefault: "Room",
31+
}
3032
return NewRoomManager(config, nil), config
3133
}
3234

static/js/controllers/uicontroller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ define(['jquery', 'underscore', 'bigscreen', 'moment', 'sjcl', 'modernizr', 'web
454454
var reconnect = function() {
455455
if (appData.flags.connected && appData.flags.autoreconnect) {
456456
if (appData.flags.resurrect === null) {
457-
// Storage data at the resurrection shrine.
457+
// Store data at the resurrection shrine.
458458
appData.flags.resurrect = {
459459
status: $scope.getStatus(),
460460
id: $scope.id

0 commit comments

Comments
 (0)