Git Product home page Git Product logo

nextcloud-spreedme's People

Contributors

fancycode avatar icewind1991 avatar jancborchardt avatar leonklingele avatar longsleep avatar morrisjobke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nextcloud-spreedme's Issues

Content Security Policy: The page’s settings blocked the loading of a resource at self

Hi,

installed Spreed WebRTC and the Nextcloud SpreedMe App following the documentation here.

When calling the SpreedMe App with Firefox I get the following messages:
Content Security Policy: The page’s settings blocked the loading of a resource at self (“script-src https://... 'unsafe-eval'”).
and
Firefox can’t establish a connection to the server at wss://tlocvie01.dmz.bka.gv.at/webrtc/ws.

And with Chrome:
Refused to execute script from 'https://.../webrtc/static/ver=1476194750/js/libs/require/require.js' because its MIME type ('text/x-js') is not executable, and strict MIME type checking is enabled.

In both cases the app doesn't start.

Did I do something wrong?

Thx
Stefan

Installation on Uberspace / NextCloud

Hi Folks,

i want to integrate an webrtc-server instanz in my NextCloud(aka OwnCloud). I made two configuration files. One for testing purposes and the other with the integrational conf. for my NextCloud.

When I run the webrtc-server standalone without NextCloud I can long in (testet with two different Browser and two different Workstations) and start a Video- / Chatsession.

When I start the webrtc-server instanz with the integrational conf. for NextCloud. It also works, so that I can see Spreed.Me Button (logged in User in NextCloud), and open the Session. It seems that the User logs in the Webrtc Session.
ServerLog:
server 2016/07/09 14:40:35 Starting HTTPS server on IP:Port
server 2016/07/09 14:41:02.731382 Created client 1 with id
server 2016/07/09 14:41:11.686455 Created client 2 with id

Both NexCloud Users see "Ich" as Username in the top. They can not chance the given name.
When you go to the right to the user menu it says that there is no other logged in user.

My Problem is that I can not see any other user. Even when I try it with an external link (/apps/external/). Loggin successful but no other User. And the External User also shows "Ich" as display name.

WebRTC (NextCloud) Conf. on pastebin (1 Week). The secret keys are greyed out (xxx).
http://pastebin.com/uvbHkG9V

Thanks & Regards,
Daniel

File share from ownCloud import not working

This appears to be a CSP issue.

When in a call click the "Share file" button, then click the "ownCloud Import" button.

Result: the "Please select the file(s) you want to share" dialog appears, with a brief loading icon, then goes blank. On Firefox the console logs: 'Content Security Policy: The page's settings blocked the loading of a resource at self ("script-src https:// 'unsafe-eval'").'

Spreed.ME tool v0.1.4 installed on ownCloud v9.0.0, using spreed-webrtc v0.25.3 server running in same origin.
Other functions including screen sharing appear to be working normally.

Nextcloud integration

Similar to the Nextcloud issue nextcloud/server#828 this issue tries to break down Nextcloud integration in work packages.

  • Remove top bar, integrate call control with notifications
  • Bootstrap 3 theme for buttons, headers and input which matches the Nextcloud style
  • Further Nextcloud style harmonizing
  • Make Spreed.ME settings available as Nextcloud settings – #39
  • Client and server side session resumption and keep-alive, including client-side and server-side queue
  • Call resumption support after navigation (auto hold / resume)
  • Web client build target to support Nextcloud without Go backend. / maybe split out the web client
  • Define and implement Web client API for Nextcloud UI integration from other apps

Please comment if i missed something.

Service spreed-webrtc start|stop|restart won't work

Edit: Oh my i've just figured out that I posted in the owncloud app instead of the server repo. will close and reopen.

After installing with the code below, the following happens (screenshot):

apt-add-repository ppa:strukturag/spreed-webrtc
apt-get update
apt-get install spreed-webrtc -y

deepinscreenshot20160721160240

Issue: "Unable to find client. Path correct and compiled css?"

Nextcloud Version: 10.0
I followed your instructions and installed the spreedme server via the repo.
Paste and copied the Spreed WebRTC config like in the description.
After a restart of the service the service won't start anymore.

In the log it says:

server 2016/09/30 10:18:49.470534 Warning: sessionSecret value is not a hex encoded encoding/hex: odd length hex string
server 2016/09/30 10:18:49.470580 Warning: encryptionSecret value is not a hex encoded encoding/hex: invalid byte: U+0074 't'
server 2016/09/30 10:18:49.470597 Enabled modules: [screensharing youtube presentation contacts roomlocking]
server 2016/09/30 10:18:49.470955 Using the number of CPU's (2) as GOMAXPROCS
server 2016/09/30 10:18:49.470960 Max open files are 1024
server 2016/09/30 10:18:49 Starting HTTP server on 127.0.0.1:8080
server 2016/09/30 10:20:34 Got signal 15, stopping all services
server 2016/09/30 10:20:34 Stopped HTTP server on 127.0.0.1:8080
server 2016/09/30 10:20:34 Unable to find client. Path correct and compiled css?
server 2016/09/30 10:20:34 Unable to find client. Path correct and compiled css?
server 2016/09/30 10:20:35 Unable to find client. Path correct and compiled css?
root@skynet:~# systemctl status spreed-webrtc.service
● spreed-webrtc.service - Spreed WebRTC server
   Loaded: loaded (/lib/systemd/system/spreed-webrtc.service; enabled; vendor preset: enabled)
   Active: inactive (dead) (Result: exit-code) since Fri 2016-09-30 10:20:35 CEST; 3min 2s ago
  Process: 2539 ExecStart=/usr/sbin/spreed-webrtc-server -c ${WEBRTC_CONF} -l ${WEBRTC_LOG} ${WEBRTC_ARGS} (code=exited, status=255)
 Main PID: 2539 (code=exited, status=255)

Sep 30 10:20:35 skynet systemd[1]: spreed-webrtc.service: Failed with result 'exit-code'.
Sep 30 10:20:35 skynet systemd[1]: spreed-webrtc.service: Service hold-off time over, scheduling restart.
Sep 30 10:20:35 skynet systemd[1]: Stopped Spreed WebRTC server.
Sep 30 10:20:35 skynet systemd[1]: spreed-webrtc.service: Start request repeated too quickly.
Sep 30 10:20:35 skynet systemd[1]: Failed to start Spreed WebRTC server.

Here is my webrtc.conf

; Minimal Spreed WebRTC configuration for Nextcloud

[http]
listen = 127.0.0.1:8080
basePath = /webrtc/

[app]
sessionSecret = 6d1e46440f49d3a0870b1faa05a4349f9d7118dd6cb24fa60a1e73d8d18753b0
encryptionSecret = 04f000bef26e808d2fcd978317a39e1fdf9c0a0f7dccdec3929bce72376db0eb
authorizeRoomJoin = true
serverToken = cf8df793ec83ed9b014f15ae7dd5c2a650d400f416b3e527696409e56b488f5c
serverRealm = local
extra = /var/www/nextcloud/apps/spreedme/extra
plugin = extra/static/owncloud.js

[users]
enabled = true
mode = sharedsecret
sharedsecret_secret = 215add3f6cb139c67593e3ada88f7ad61b008c9751f55dad0bb4c235507b31d8

Any ideas?

First setup of the app

I would like to use this app as a personal use with persons not familiar with computer.

When they click on an invite link, the first thing appearing are the parameter box. On a phone people doesn't recognize as a tchat and get lost; i guess because the setting area takes the overall screen.

Would it be possible to not bring this box by default for the first connection ?

Rgds

Spreed.ME Webrtc Page Blank

Hai,

I just install my nextcloud on Ubuntu Server 14.04, and im interested to install the spreed me apps, i followed all the instructions with the apache guidance, but when i clicked the spreed.me apps, i always got the spreed.me blank page, like this picture below

2016-11-09_9-27-03

could you tell me what seems to be wrong?? im having this problem for two weeks, and it makes me nutz...

Thanks,

External user 'mark'

External users (invited via 'Temporary Password') are now marked as such. Now, instead of a normal name, for instance, appears something like ext//56ddfddfdbc691.13851768 ...

spreedme
cattura

Link invite redirect to main

I've post my issue already on owncloud app website, but for a better tracking i share it here :

Thanks for this great app.

I've notice two issues when i'm sharing a room link.

  • when i click on the link icon to display the link i see : /index.php/apps/spreedme#conf/test_room but the url associated is correct.
  • When i'm generating a code to invite somebody the URL it looks like https://Mydmaine.org/index.php/apps/spreedme?tp=XXXXXXXXXXXXXXXXX%3D%3D#conf%2Ftest_room
    This link brings me only to the main room, it seems to not find the conf/test_room.
    then when the guest wrote conf/test_room in the box he is joining us without problem.
    When do you think could come from the issue ?

Regards

Translate

Hello!
Thanks for app, it's very userfull for us!
But me and my friends can't find how we can translate interface on our language(russian).
Can you help us?
P.S.: google can't help us

after Update to 0.3.1: "Could not authenticate. Please try again."

Hello,

i update the spreed.me App to the version 0.3.1 over Nextcloud -> Apps.
then i enter the Spreed.me app an there was an error. I should configure the app in the Admin-Interface. OK, i have done this and make a "cp config.php.in config.php" because the old file was deletet with the upgrade (?). I have change the "const SPREED_WEBRTC_SHAREDSECRET = 'XXX'" setting in comfig.php.

Now, i get the spreed.me Page again but i get the note "Could not authenticate. Please try again.". The log say:

Exception: {"Exception":"Exception","Message":"No user available for the given login name.","Code":0,"Trace":"#0 \/var\/www\/nextcloud\/apps\/user_ldap\/user_ldap.php(120): OCA\\user_ldap\\USER_LDAP->getLDAPUserByLoginName('(null)')\n#1 \/var\/www\/nextcloud\/lib\/private\/user\/manager.php(189): OCA\\user_ldap\\USER_LDAP->checkPassword(*** username and password replaced ***)\n#2 \/var\/www\/nextcloud\/lib\/private\/user\/session.php(219): OC\\User\\Manager->checkPassword(*** username and password replaced ***)\n#3 \/var\/www\/nextcloud\/lib\/private\/user.php(162): OC\\User\\Session->login(*** username and password replaced ***)\n#4 \/var\/www\/nextcloud\/lib\/private\/api.php(359): OC_User::login(*** username and password replaced ***)\n#5 \/var\/www\/nextcloud\/lib\/private\/api.php(297): OC_API::loginUser()\n#6 \/var\/www\/nextcloud\/lib\/private\/api.php(156): OC_API::isAuthorised(Array)\n#7 [internal function]: OC_API::call(Array)\n#8 \/var\/www\/nextcloud\/lib\/private\/route\/router.php(276): call_user_func(Array, Array)\n#9 \/var\/www\/nextcloud\/ocs\/v1.php(54): OC\\Route\\Router->match('\/ocs\/cloud\/capa...')\n#10 {main}","File":"\/var\/www\/nextcloud\/apps\/user_ldap\/user_ldap.php","Line":105}

The console from the Browser say:

Failed to load resource: the server responded with a status of 403 (Forbidden)

I have clear the browser-cache, the ../apache/error.log say nothing.

I have change nothing, any ideas whats wrong?

Enable Travis

I just noticed that Travis is not enabled for this project even though there is a .travis.yml file.

Is there a reason for that or can I just enable it?

Problem accessing spreedme through nginx

First the example seems wrong to me
location ^~ /webrtc { ... should be location ~ ^/webrtc { ...

192.168.6.1 - - [07/Nov/2016:09:56:29 +0100] "GET /webrtc/static/ver=1478477015/js/app.js HTTP/1.0" 200 163893 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36"
192.168.6.1 - - [07/Nov/2016:09:56:29 +0100] "GET /webrtc/extra/static/PostMessageAPI.js HTTP/1.0" 200 1444 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36"
192.168.6.1 - - [07/Nov/2016:09:56:29 +0100] "GET /webrtc/extra/static/config/OwnCloudConfig.js HTTP/1.0" 200 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36"
192.168.6.1 - - [07/Nov/2016:09:56:30 +0100] "GET /webrtc/extra/static/ver=1478477015/img/logo-48x48.png HTTP/1.0" 200 829 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36"
192.168.6.1 - - [07/Nov/2016:09:56:30 +0100] "GET /webrtc/static/ver=1478477015/img/logo-small.png HTTP/1.0" 200 3761 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36"
192.168.6.1 - - [07/Nov/2016:09:56:31 +0100] "GET /webrtc/static/ver=1478477015/sounds/sprite1.ogg HTTP/1.0" 200 237130 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36"
192.168.6.1 - - [07/Nov/2016:09:56:32 +0100] "GET /webrtc/ws HTTP/1.0" 400 12 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36"

the last one keeps on failing...why... the others seem to work ok.

own status message

Hi.
I think it could be very nice to see my own status message in the header (see image).
What about it?
spreedme

Keep getting "Please sign in to create rooms"

I am having a similar situation than introduced in issue 8, but in my case, my Spreed server is running on a different server than my Owncloud instance.

When I go to Spreed app in owncloud, I get the "please sign in to create rooms" hint. As I understand, this happens because Owncloud is not sharing his users with Spreed, I am right?

In webrtc.conf, I have configured:

[http] 
listen = http://my-spreed-server.com:8080
; basePath stays commented
[app]
authorizeRoomJoin = true
authorizeRoomCreation = true  ===> I have also tried false, no change at all
; extra is commented, I am not sure if it should be, but if a put a system path here, Spreed service won't start
plugin = apps/spreedme/extra/static/owncloud.js  ===> I have also tried extra/static/owncloud.js, no change

[users]
enabled = true
mode = sharedsecret
sharedsecret_secret =  f8d091c3d83........ => 64 bit random hex
allowRegistration = true   ==> I have also tried false, but nothing changes.

In my Owncloud config, I have:
File apps/spreedme/config/config.php:

const SPREED_WEBRTC_ORIGIN = 'http://my-spreed-server.com:8080'
const SPREED_WEBRTC_BASEPATH = '';
const SPREED_WEBRTC_SHAREDSECRET = 'f8d091c3d83...." ==> same 64 bit random hex than sharedsecret_secret
const OWNCLOUD_TEMPORARY_PASSWORD_LOGIN_ENABLED  = true  ==> tried false, nothing
const OWNCLOUD_TEMPORARY_PASSWORD_SIGNING_KEY = 'f20e1b84...'

File apps/spreedme/extra/static/config/OwnCloudConfig.js
OWNCLOUD_ORIGIN: 'http://my-owncloud-url.com'

Could you tell me what am I doing wrong?
In case it helps, I am using:
Spreed WebRTC under Ubuntu 14.04
Owncloud 8.2.2 under Debian 7

Thanks a lot for any help!

Limiting access to this app, temporary passwords does not work

Hello,

i limit the access to the app to the existing LDAP-Group "spreedme-users" and just user in this group see the spreed.me-App button in Nextcloud, good. I put a user i the group "spreedme-users" and "Spreed.me" so i can generate a temporary password and URL.
If i visit this URL, i got

Zugriff verboten
App is not enabled

if i disable the "spreedme-user" group, so every user can see the spreed.me-Button, the temp-link works perfect.

The output from the browser console:

https://SERVER.de/cloud/index.php/apps/spreedme?tp=MTQ2OTUxNjY0MDpleHQvZG…g0NzY6MjpVZmxMZmdDMWR1T2t4cTB2OVJFZlpJaDRwTkMwVXJjVoydlphSnFFeGtrPQ%3D%3D
Failed to load resource: the server responded with a status of 412 (Precondition failed)

i think its a bug?

Edit: i upgrade the App to the latest version (download the master.zip from github), but its the same error.

Expiring guest account by non-admins

I think this app is already very useful.
One possible improvement - at least for my use case - would be the possibility to create temporary webrtc logins by non-admins. In this way one could always invite an external user to a video conference, if necessary.

If you could point me in the right direction I may implement this feature myself.

No base path included after error msgbox/redirection

Hi,
when following an invitation without preceding authorization I'm getting an error
"Please log in into your Nextcloud account to use use this service." After clicking "OK"
I'm redirected to the server URL and have to append the whole string manually or copy and paste the invitation link. It would be much easier if the invited person is redirected to the proper room and any authorization needed would be made "on the way" - meaning no stop after authorization, manually choose Spreed.Me from the menu, enter room ID and so on...

A quick scroll through owncloud.js shows that there are some review comments concerning this matter :-)

I submitted this issue to show it's relevance - my people are not exactly computer affine...

Than you
Juergen

Screen sharing issues

Hello, I have a working installation of Spreed.me on my nextcloud installation. I am having issues getting the screen share to work. I am using the most recent version of firefox (48.0.2). I checked the webrtc config file to make sure the module is enabled. i even restarted for good measure. I can use the presentation module, and the youtube module just fine but when i try to use the screen share i get "Failed to start screen sharing (SecurityError)" on one machine and "Permission to start screen sharing was denied" on another machine. Any suggestions would be greatly appreciated. Thanks.

No one else here

After extensive config testing, I'm pretty sure this isn't a duplicate of issue #22.

Symptom: Users all logged in as "Me", unable to set persistent configurations or see other users. As far as I can tell, the username is not being effectively pulled from nextcloud into the application. Spreed sees the clients come in, issues tokens, etc. The websessions are useless, and the ../admin/debug command doesn't detect any issues.

Configs:
OwnCloudConfig.js - https://paste.ubuntu.com/22227456/
app php - http://pastebin.com/XeE1KR17
spreed server - http://pastebin.com/p5hTGtv6
apache vhost - http://pastebin.com/fDhqsSZx

Very frustrating since 1) there is no detection by the app for this issue, 2) spreed works great without owncloud in front of it.

screen shot 2016-08-04 at 5 28 02 am

screen shot 2016-08-04 at 5 07 04 am

Succesfully setup WebRTC / Spreed.me, Videochat impossible

I think my WebRTC setup works so far. The server is on my Uberspace (https://uberspace.de) installed (running Apache 2.2 Webserver). The NextCloud is on the same server. A Port for the WebRTC server has been opened in the firewall to the outside.

Now, when I try to make a video Conference from my Workstation and from my Laptop in the same LAN the Video Conference works. But when I try to start a video call from a computer outside of my network it disconnects after a short time. No picture or sound is built up. Tested with Chrome and Firefox.

The source code of the page is shown below. Same in Chrome and Firefox:
        <div id="content-wrapper">
            <div id="content" class="app-spreedme" role="main">

<script id="sharedconfig" type="application/json">{"is_guest":false,"features":{"temporary_password":true}}</script>

<div id="debug"><b>Debug</b><br /></div>

<div id="container">
    <iframe src="https://cloud.zonedata.de:63091/spreed-webrtc/?debug" allowfullscreen></iframe>
</div>
            </div>
        </div>
    </body>
</html>

The frame source code in Chrome:

<script id="globalcontext" type="application/json">{"App":"main","Cfg":{"Title":"Spreed WebRTC","S":"static/ver=1468103034","B":"/spreed-webrtc/","Token":"a long Token <deleted>","Renegotiation":false,"StunURIs":[],"TurnURIs":[],"Tokens":false,"Version":"unreleased.1468103034","UsersEnabled":true,"UsersAllowRegistration":false,"UsersMode":"sharedsecret","DefaultRoomEnabled":true,"Plugin":"extra/static/owncloud.js","AuthorizeRoomCreation":false,"AuthorizeRoomJoin":true,"Modules":["contacts","screensharing","youtube","presentation"]},"Host":"cloud.zonedata.de:63091","Ssl":true,"Csp":false,"Languages":["de-de","de","en-us","en"],"S":"static/ver=1468103034"}</script>
</head>
<body spreed-webrtc>
<div id="background"></div>
<div id="loader"><div><i class="fa fa-circle-o-notch fa-spin"></i><div class="loader-message"></div></div></div>
<ui></ui>
<script data-main="static/ver=1468103034/js/main" data-plugin="extra/static/owncloud.js" src="static/ver=1468103034/js/libs/require/require.js"></script>

cloud.zonedata.de-1468245171261.log.txt

I have only very limited access to the mobile network (only EDGE). But I can observe in the Serverlog the following (which is reproducible):

Maybe that has to do with the limited access!
@400000005783b156029df1dc server 2016/07/11 16:46:36.043823 http: TLS handshake error from IP-Adress:Port: EOF

and

@400000005783b1573265b1fc server 2016/07/11 16:46:37.845356 Error while reading 34 websocket: close 1006 unexpected EOF

I saw there was already such a case.
But I do not know how I can fix the problem. Should I make changes in the Next Cloud .htaccess file (ProxyTimeout Directive)?

Feature: Broadcasting room

I'm not sure if WebRTC supports efficiently this, but it would be nice to have a room type that lets the user, who created the room, to broadcast video and audio only one way. The rest of the users would not trigger negotiations of audio/video back to broadcaster. Chat would be allowed.

Would be handy in presentations for big amount of people.

Contacts not save after logout

Hello,

I login to nextcloud and change to the spreed.me-App. I add a contact with klicking the star:

image

The contact accept my request. Now i have this contact in my contact-list. If i logout and login to nextcloud, there are no contacts in my contact-list:

image

Maybe a bug?

installation in ubuntu 64 bits - what missed

This is my steps for install and integrate with spreed-webrtc

sudo apt-get install php5 php5-fpm php5-cli php5-curl
sudo service php5-fpm restart

git clone https://github.com/strukturag/owncloud-spreedme.git
cd owncloud-spreedme/

mkdir /home/felipe/spreed-webrtc/extra.d

ln -sf /home/felipe/owncloud-spreedme/extra /home/felipe/spreed-webrtc/extra.d/spreedme

sudo nano /home/felipe/spreed-webrtc/server.conf

##
;authorizeRoomJoin = false
To
authorizeRoomJoin = true

Add in (app section)
extra.d = /home/felipe/spreed-webrtc/extra.d

enabled = false
To
enabled = true

;mode = sharedsecret
To
mode = sharedsecret

;sharedsecret_secret = some-secret-do-not-keep
To
sharedsecret_secret = 037a21f6c779f73c1c546b02ca33cf9cdf6cd83959d845dcab6997e06e67acee

##

cp /home/felipe/owncloud-spreedme/config/config.php.in /home/felipe/owncloud-spreedme/config/config.php

sudo nano /home/felipe/owncloud-spreedme/config/config.php

##
    const SPREED_WEBRTC_ORIGIN = 'http://sesionentiemporeal.felipeurrego.com:8080';

    const SPREED_WEBRTC_SHAREDSECRET = '037a21f6c779f73c1c546b02ca33cf9cdf6cd83959d845dcab6997e06e67acee';
##

cp /home/felipe/owncloud-spreedme/extra/static/config/OwnCloudConfig.js.in /home/felipe/owncloud-spreedme/extra/static/config/OwnCloudConfig.js

sudo nano /home/felipe/owncloud-spreedme/extra/static/config/OwnCloudConfig.js

##
            OWNCLOUD_ORIGIN: 'http://sesionentiemporeal.felipeurrego.com:2017',
##

sudo apt-get install -y nginx
sudo rm /etc/nginx/sites-enabled/default
sudo nano /etc/nginx/sites-available/spreed

#####
map $http_upgrade $connection_upgrade {
    default upgrade;
    ''      close;
}

upstream php-fpm-handler {
    server unix:/var/run/php5-fpm.sock;
}

server {

    listen 2017 default_server;

    server_name 127.0.0.1 sesionentiemporeal.felipeurrego.com;

    root /home/felipe/owncloud-spreedme;

    # ownCloud blocks
    location / {
        try_files $uri $uri/ /index.php;
    }
    location ~ \.php(?:$|/) {
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        include fastcgi_params;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        fastcgi_param PATH_INFO $fastcgi_path_info;
        fastcgi_param HTTPS on;
        fastcgi_param modHeadersAvailable true; # Avoid sending the security headers twice
        fastcgi_pass php-fpm-handler;
        fastcgi_intercept_errors on;
    }

    # spreed-webrtc blocks
    location /webrtc {
        proxy_pass http://localhost:8080;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
        proxy_set_header X-Forwarded-Proto $scheme;
        proxy_set_header Host $http_host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

        proxy_buffering             on;
        proxy_ignore_client_abort   off;
        proxy_redirect              off;
        proxy_connect_timeout       90;
        proxy_send_timeout          90;
        proxy_read_timeout          90;
        proxy_buffer_size           4k;
        proxy_buffers               4 32k;
        proxy_busy_buffers_size     64k;
        proxy_temp_file_write_size  64k;
        proxy_next_upstream         error timeout invalid_header http_502 http_503 http_504;
    }

}
#####

I want in

http://sesionentiemporeal.felipeurrego.com:2017/ spreedme
http://sesionentiemporeal.felipeurrego.com:8080/ webrtc

Tnks for any help

config test is not able to handle alternative app pathes

I am using the nextcloud container. To get persistent and volume mountable app folder i use the nextcloud config entry:


  "apps_paths" => array (
      0 => array (
              "path"     => "/nextcloud/apps",
              "url"      => "/apps",
              "writable" => false,
      ),
      1 => array (
              "path"     => "/apps2",
              "url"      => "/apps2",
              "writable" => true,
      ),
  ),

The configuration tests in

https://myNextCloudURL/index.php/apps/spreedme/admin/debug

shows:

Ran test #2 (testOwncloudJavascriptConfigFile):
Error: Did not find OwnCloudConfig.js at apps/spreedme/extra/static/config/OwnCloudConfig.js

The path is wrong, because the app is located in apps2/spreedme...

Nevertheless, the spreedme app runs fine, only the test fails.

Spreed is getting error

Hello, i have configured on my oc 9.0.1 running on ubuntu 14.04 your great app.
The debugging info is shown as below:
Spreed.ME Version 0.1.6

Ran test #1 (testOwncloudPhpConfigFile):
Passed without an error

Ran test #2 (testOwncloudJavascriptConfigFile):
Passed without an error

Ran test #3 (testSpreedWebRTCAPI):
Passed without an error

Passed all tests. Everything seems to be set up correctly! :)
snip_20160504120113

I have used this for installing the webrtc server:
https://github.com/strukturag/spreed-webrtc/wiki/Ubuntu-Repository

Can u give mi some tips to debug the issue?
Btw. the webrtc log shows no errors.

Please sign in to create rooms.

Hello,

when I connect to spreed.me plugin I have this message : Please sign in to create rooms.

And so my user is not recognized, i have "me" but not my username.

I configure all like in documentation ! Where is my mistake ?

server.conf

[users]
enabled = true
mode = sharedsecret
sharedsecret_secret ="Iu-****************************************************oo0ree"
allowRegistration = true
const SPREED_WEBRTC_ORIGIN = 'removed-for-privacy-reasons';
const SPREED_WEBRTC_BASEPATH = '/';
const SPREED_WEBRTC_SHAREDSECRET = 'Iu-********************************************oo0ree';
const OWNCLOUD_TEMPORARY_PASSWORD_LOGIN_ENABLED = true;
const OWNCLOUD_TEMPORARY_PASSWORD_SIGNING_KEY = 'f20e1b84781d80570fef6e2969f61ba91ccb56922398a45eXXXXXXXXXXXXXXXX';

Thanks

Make the setup easier

Nextcloud aims to be easy to use in every aspect, including the installation process. Not everyone running a personal installation is technical, or wants to configure everything.

I’ll go through the readme and see what we can improve:

1. Do away with the decision of running on the same origin or on different origins.
In the Preparations section people are faced with the choice of running Spreed on the same or different origin. As you note yourself, running it on the same origin is »much easier to maintain« and that »you can't use Screensharing in latest browsers« when using a different origin. Hence the same origin should be default and running on a different origin should only be a sidenote (with those advisories) instead of making it seem as if it was a hard decision.

2. Automate the adjustments to webrtc.conf and other files

4 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)

Most of this stuff is just busywork of copypasting values, and the rest could automatically be sourced from a config.php or the Nextcloud server.

5 Head over to the apps/spreedme/config folder in your ownCloud installation. Copy config.php.in to config.php and adjust the constants as already done in server.conf

Same here.

6 Head over to the apps/spreedme/extra/static/config folder in your ownCloud installation. Copy OwnCloudConfig.js.in to OwnCloudConfig.js and adjust the constants as already done in server.conf and config.php:

Here you even say: »If you chose option 1. in the Preparations step above, you can set OWNCLOUD_ORIGIN to an empty string« so we can just leave this empty by default (of course mention it in the note for different origins). Makes everything a lot easier.


With those 2 main changes, we are moving closer to making it as simple as just enabling the app from the appstore.

cc @leonklingele – maybe we can work on this and also the design in the workweek in August? cc @karlitschek

Configuration files lost on web upgrade

update to Spreed.ME 0.2.0 workes, but it seems to overwrite
/apps/spreedme/extra/static/config/OwnCloudConfig.js
and
/apps/spreedme/config/config.php

So after upgrade you have to restore the old files or

cd /var/www/owncloud/apps/spreedme/config
Go to the nextcloud spreedme app configuration folder
cp config.php.in config.php
Create the config file from the default file
nano config.php
Edit the config file and make these modifications:
Set SPREED_WEBRTC_BASEPATH to /webrtc/: const SPREED_WEBRTC_BASEPATH = '/webrtc/';
Set SPREED_WEBRTC_SHAREDSECRET to the shared secret you generated for the Spreed.ME server configuration above: const SPREED_WEBRTC_SHAREDSECRET = 'bb04fb058e2d7fd19c5bdaa129e7883195f73a9c49414a7eXXXXXXXXXXXXXXXX';
You can choose to modify OWNCLOUD_TEMPORARY_PASSWORD_LOGIN_ENABLED to true to allow your users to invite other, unregistered users for a call. With this on false users need to have a Nextcloud account to join a call. If you enable it, generate a new random string and put it below, see the included instructions.
Now save and close the file.
cd /var/www/owncloud/apps/spreedme/extra/static/config
Go to the nextcloud spreedme app extra/static/config folder
cp OwnCloudConfig.js.in OwnCloudConfig.js
Create the javascript config file
If you put Spreed.ME in /webrtc/ (as this manual assumes), you don't need to make any other changes. If you put it in its own domain you have to edit the file and make sure you set OWNCLOUD_ORIGIN to your Nextcloud server.

TP expiration date field not present

In the window for defining temporary password there is only "expiration" label and NOT the field. (See attached image), so you cannot enter expiration date.

image

Create docker contrainer for nextcloud: issues with 'extra' folder

I'm trying to follow the instructions in the README to create a docker container, but I seem to have some issues with the right path for the extra folder.
In the documentation just pwd is mentioned, but for its not clear, so I tried the commands mentioned below.

Here some information about my nextcloud structure (running still in owncloud folder as I just upgraded it and don't want to change it right now):

root@owncloud ~www/owncloud/apps/spreedme (git)-[master] # pwd                                                                                                                                                         
/var/www/owncloud/apps/spreedme
root@owncloud ~www/owncloud/apps/spreedme (git)-[master] # ll
total 168K
drwxr-x--- 21 www-data www-data 4.0K Oct 14 21:35 .
drwxr-x--- 37 www-data www-data 4.0K Oct 14 17:45 ..
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 appinfo
-rw-r-----  1 www-data www-data   39 Oct 14 17:43 AUTHORS.md
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 changelog
-rw-r-----  1 www-data www-data 3.1K Oct 14 17:43 CHANGELOG.md
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 config
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 controller
-rw-r-----  1 www-data www-data  34K Oct 14 17:43 COPYING
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 css
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 debug
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 doc
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 errors
drwxr-x---  3 www-data www-data 4.0K Oct 14 17:43 extra
drwxr-x---  8 www-data www-data 4.0K Oct 14 21:04 .git
-rw-r-----  1 www-data www-data   62 Oct 14 17:43 .gitignore
-rw-r-----  1 www-data www-data  387 Oct 14 17:43 .gitlab-ci.yml
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 helper
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 img
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 js
-rw-r-----  1 www-data www-data 1.3K Oct 14 17:43 Makefile
-rw-r-----  1 www-data www-data  194 Oct 14 17:43 phpunit.integration.xml
-rw-r-----  1 www-data www-data  187 Oct 14 17:43 phpunit.xml
-rw-r-----  1 www-data www-data 7.4K Oct 14 17:43 README.md
drwxr-x---  3 www-data www-data 4.0K Oct 14 17:43 screenshots
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 security
lrwxrwxrwx  1 root     root       28 Oct 14 21:35 server.conf -> spreed-webrtc-nextcloud.conf
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 settings
-rw-r--r--  1 www-data www-data  612 Oct 14 18:13 spreed-webrtc-nextcloud.conf
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 templates
drwxr-x---  5 www-data www-data 4.0K Oct 14 17:43 tests
-rw-r-----  1 www-data www-data  437 Oct 14 17:43 TODO.txt
-rw-r-----  1 www-data www-data  675 Oct 14 17:43 .travis.yml
drwxr-x---  2 www-data www-data 4.0K Oct 14 17:43 user

In this folder, I then ran:

root@owncloud ~www/owncloud/apps/spreedme (git)-[master] # docker run --name spreedme -p 127.0.0.1:8080:8080 -p 127.0.0.1:8443:8443 -v /var/www/owncloud/apps/spreedme/:/srv/extra -i -t spreed/webrtc -c /srv/extra/spreed-webrtc-nextcloud.conf

Which gives me after some time:

Staring Spreed WebRTC server ...
server 2016/10/15 07:48:11 Using '/webrtc/' base base path.
server 2016/10/15 07:48:11.243038 Enabled modules: [youtube presentation contacts screensharing]
server 2016/10/15 07:48:11 Configured extra '/var/www/owncloud/apps/spreedme/extra' is not a directory.

But of course it is a directory:

1 root@owncloud ~www/owncloud/apps/spreedme (git)-[master] # ll /var/www/owncloud/apps/spreedme/extra                                                                                                                        :(
total 24K
drwxr-x---  3 www-data www-data 4.0K Oct 14 17:43 .
drwxr-x--- 21 www-data www-data 4.0K Oct 14 21:35 ..
-rw-r-----  1 www-data www-data   51 Oct 14 17:43 body.html
-rw-r-----  1 www-data www-data  356 Oct 14 17:43 extra-head.html
-rw-r-----  1 www-data www-data  284 Oct 14 17:43 head.html
drwxr-x---  5 www-data www-data 4.0K Oct 14 20:01 static

Maybe its a permission problem with docker? How do fix that? Is the path correct that I assumed for pwd?

P.S.: The file and folder permissions are those recommended by nextcloud

P.P.S.: I had a similar issue when using:

root@owncloud ~www/owncloud/apps/spreedme (git)-[master] # docker run --name spreedme -p 127.0.0.1:8080:8080 -p 127.0.0.1:8443:8443 -v /var/www/owncloud/apps/spreedme/extra/:/srv/extra -i -t spreed/webrtc -c /srv/extra/spreed-webrtc-nextcloud.conf

error in debug

Hey i had owncloud 8.2.2 running with spreedme on ubuntu 14.04.
Now i have owncloud 9.0 and ubuntu 14.04, with spreedme 1.4.

I changed everything to the exact same in /etc/spreed/webrtc.conf, apps/spreedme/config/config.php, apps/spreedme/extra/static/OwnCloudConfig.js and in apache virtualhost config, everything is the exact same.

(not copied the different folders/files over just the settings itself)
I can access spreedme but it doesnt sign me in as a user i also cant join a chat room.

debug gives me this error:

GET https://domain.com/webrtc/extra/static/img/spreedme.svg 404 (Not Found)w @ main.js:38H.extend.css @ main.js:39(anonymous function) @ main.js:39H.access @ main.js:39H.fn.extend.css @ main.js:39(anonymous function) @ app.js:218(anonymous function) @ app.js:218r @ main.js:41(anonymous function) @ main.js:41n @ main.js:41r @ main.js:41(anonymous function) @ main.js:42o @ main.js:41(anonymous function) @ main.js:42r @ main.js:41(anonymous function) @ main.js:41n @ main.js:41q @ main.js:42O @ main.js:42T @ main.js:42T @ main.js:42T @ main.js:42T @ main.js:42A @ main.js:42(anonymous function) @ main.js:41l.$eval @ main.js:43l.$apply @ main.js:43(anonymous function) @ main.js:41r @ main.js:41V.i @ main.js:41V @ main.js:41(anonymous function) @ main.js:45c @ main.js:43(anonymous function) @ main.js:43l.$eval @ main.js:43l.$digest @ main.js:43(anonymous function) @ main.js:43a @ main.js:42(anonymous function) @ main.js:42

Might anyone know what this is about?

Thanks for this great app
Kind regards,

Ezra

Upgrade to oc 9.0.3

Hey thanks for the amazing app!!

Few days back I've upgraded to OC 9.0.3, every app got disabled. When enabling spreedme it gave me the white screen that it wasn't setup yet, which it was... ran great before.

Now I saw that the config.php and Owncloud.js got overwritten, or a whole new spreeme folder, could also be the case, don't know why but the original files where gone.

After setting it back up, i get a white screen with a error 500

Oc logs show:

Error   PHP require_once(): Failed opening required '/var/www/owncloud/apps/spreedme/config/config.php' (include_path='/var/www/owncloud/3rdparty/pear/console_getopt:/var/www/owncloud/3rdparty/pear/pear_exception:/var/www/owncloud/3rdparty/pear/pear-core-minimal/src:/var/www/owncloud/3rdparty/pear/archive_tar:/var/www/owncloud/3rdparty/phpseclib/phpseclib/phpseclib:/var/www/owncloud/lib/private:/var/www/owncloud/config:/var/www/owncloud/3rdparty:/var/www/owncloud/apps:.:/usr/share/php:/var/www/owncloud') at /var/www/owncloud/lib/autoloader.php#183   3 minutes ago
Error   PHP require_once(/var/www/owncloud/apps/spreedme/config/config.php): failed to open stream: Permission denied at /var/www/owncloud/lib/autoloader.php#183

Would this be a core bug?

ps: debug console gives me nothing.

Thank you again

Provide an Android client to Spreed.me OC/NC app

Dear devs,

Thanks for this great app & server.
The Webui of the OC/NC app is fine but takes too much space to be useable for handheld devices. As Spreed already provides an Android app for the commercial side and a Spreed.me app for IOS, is it possible to have a Spreed.me app Android too to use with my own OC/Spreed-webrtc server?

An app that would just provide a cleaner/minimal version of the webui would be more that enough to get going. I'd be happy to help test such an app.

My setup:

  • Debian Stretch (next stable)
  • PHP 7.0
  • Ngnix 1.11
  • Owncloud 9.1 (soon to be switched to Nextcloud 10 or 11).

Kind regards,

owncloud.js has to be renamed

Installed nextcloud-spreed on my nextcloud installation.

Spreed shows me "Failed to load app!"

Had to rename :/var/www/owncloud/apps/spreedme/extra/static/owncloud.js to nextcloud.js

Than it worked...
spreed_failed
404

an error occured retry

Hi all,

I'installed spreedme no erreur

Spreed.ME Version 0.1.6

Ran test #1 (testOwncloudPhpConfigFile):
Passed without an error

Ran test #2 (testOwncloudJavascriptConfigFile):
Passed without an error

Ran test #3 (testSpreedWebRTCAPI):
Passed without an error

Passed all tests. Everything seems to be set up correctly! :)

But when i connect me on the application, i've the screen with all option but i've the message An error occured " Retry"

Could you help me please ?

Cheers,

Feature: choosing a roomtype when creating a room

Nice feature would be to have a checkbox [ ] Conference in the room dialog. The result should be the prepending of "conference" to the roomname (auto or manually generated).
Even better would be a listbox for choosing one of the roomtypes (up to now the names of the conference types).
And absolutly TOP would be to have more roomtypes. For example:

  • Limited rooms (limited by nextcloud groups or user accounts)
  • Public predefined rooms (Lounge, Juergen's office,...)

Just some thoughts :-)
Juergen

"You didn't set up this ownCloud app."... except that I did.

I'm getting the following error:

You didn't set up this ownCloud app. Please follow the instructions in the README.md file in the apps/spreedme folder.

The trouble is that I have gone through and edited both the spreed.me server.conf file and the ownCloud app's config.php file as outlined in readme.md. I've restarted the spreed.me server, and there are no errors in the command line or in the owncloud.log file.

I'm running Nextcloud 9.0.52 + Nginx + Php 7.0.2 + Spreedme ownCLoud app 0.1.6 (enabled from app screen). I'm running as an admin.

I've changed ownership of all the spreed.me server files to the same user that Nginx uses to run PHP / Nextcloud, and started the Spreed.me server with that same user.

Can't do video calls with the Nextcloud app

I can chat, but not make video calls either with users on my server, or by shared link (Temporary Pass). When I make a video call the other user doesn't see it, and it times out after about 5-10 seconds.

Server

Ubuntu Server 16.04
PHP 7.0.8
MySQL 5.7
Spreed.Me version 0.29.2 (Nextcloud Snap)

Firewall

OPNsense 16.7.7
deepinscreenshot20161031191445

192.168.4.201 = Nginx Reverse Proxy
192.168.4.111 = Nextcloud + SpreedMe

I'm not sure, but I think UDP is enabled.

Client

Nextcloud app version 0.3.3
Chrome for Debian 64-bit
Also tried on Android 7.0

Logs

Debug log

JQMIGRATE: Migrate is installed, version 1.4.0
main.js:47 Launching ...
main.js:47 Web fonts loaded.
app.js:253 Selected language: en
main.js:47 Bootstrapping ...
app.js:242 App runtime id: uusra6u
app.js:242 Service version: unreleased.1477929444
app.js:242 Ws URL: wss://cloud.techandme.se/webrtc/ws
app.js:242 Secure Contextual Escaping: true
app.js:253 Initializing ...
PostMessageAPI.js:50 PostMessageAPI: POSTING FROM Location TO https://cloud.techandme.se Object
app.js:244 Screensharing support true autoinstall
app.js:242 Initial room path set, continuing to connect ...
app.js:242 Ready to connect ...
app.js:246 Checking for media access ...
app.js:246 Continue with connect after media check ...
app.js:253 Initializing complete.
app.js:242 Connecting ...
PostMessageAPI.js:50 PostMessageAPI: Got event MessageEvent
PostMessageAPI.js:50 PostMessageAPI: Got event MessageEvent
PostMessageAPI.js:50 PostMessageAPI: Got event MessageEvent
app.js:243 Created new video layout renderer invisible l
app.js:240 Connector on connection open.
app.js:244 TURN servers selected:  Array[0] 0 Array[0]
owncloud.js:86 OC: selfReceived Object
owncloud.js:86 OC: Retrieved nonce - authenticating as user: [email protected]
app.js:248 Session is now authenticated: [email protected] YncmAmpKVIAANmgB2Q8AsadwnK/l1V6ElMZxYc0m5mM=
app.js:244 TURN servers selected:  Array[0] 0 Array[0]
app.js:244 TURN servers selected:  Array[0] 0 Array[0]
owncloud.js:86 OC: selfReceived Object
app.js:244 TURN servers selected:  Array[0] 0 Array[0]
app.js:244 Joining room Array[1]
app.js:244 Joined room Array[1]
app.js:241 Joined room Object JSbkBkqimYLc7GhAvkpGiECBpf_0RTmCRVsV3Izwklh8PT1RTzlxUDVOSkJRcFFncHJMUVlhWWhqYlhoaHNOVWhOUjFiMmR2bGVISFYtUVBJRFBSeGFkaW85MFVJdDRnV0VrMWI2UTB6fDU0MTgzOTc3NDE=
PostMessageAPI.js:50 PostMessageAPI: POSTING FROM Location TO https://cloud.techandme.se Object
app.js:246 Create new chatroom Array[1]

#######

JQMIGRATE: Migrate is installed, version 1.4.0
main.js:47 Launching ...
main.js:47 Web fonts loaded.
app.js:253 Selected language: en
main.js:47 Bootstrapping ...
app.js:242 App runtime id: lfx24tw
app.js:242 Service version: unreleased.1477929444
app.js:242 Ws URL: wss://cloud.techandme.se/webrtc/ws
app.js:242 Secure Contextual Escaping: true
app.js:253 Initializing ...
PostMessageAPI.js:50 PostMessageAPI: POSTING FROM Location {hash: "", search: "?debug=1", pathname: "/webrtc/", port: "", hostname: "cloud.techandme.se"…} TO https://cloud.techandme.se Object {type: "init"}
app.js:244 Screensharing support true autoinstall
app.js:242 Initial room path set, continuing to connect ...
app.js:242 Ready to connect ...
app.js:246 Checking for media access ...
app.js:246 Continue with connect after media check ...
app.js:253 Initializing complete.
app.js:242 Connecting ...
PostMessageAPI.js:50 PostMessageAPI: Got event MessageEvent {isTrusted: true, data: Object, origin: "https://cloud.techandme.se", lastEventId: "", source: Window…}
PostMessageAPI.js:50 PostMessageAPI: Got event MessageEvent {isTrusted: true, data: Object, origin: "https://cloud.techandme.se", lastEventId: "", source: Window…}
PostMessageAPI.js:50 PostMessageAPI: Got event MessageEvent {isTrusted: true, data: Object, origin: "https://cloud.techandme.se", lastEventId: "", source: Window…}
app.js:243 Created new video layout renderer invisible l {}
app.js:240 Connector on connection open.
app.js:244 TURN servers selected:  [] 0 []
owncloud.js:86 OC: selfReceived Object {Type: "Self", Id: "a3_XpLYuJ592XxJ_grcFjXDFj5FAte5hojnPQ5zuPQZ8PT1nWj…iMlhtTXk0MklwdTBTRXhjLVluQzI0Z2hEfDE5MzgzOTc3NDE=", Sid: "a3plTVV4tLlOdGEbR3wcwuOZO0WexeDX", Userid: "", Suserid: ""…}
owncloud.js:86 OC: Retrieved nonce - authenticating as user: [email protected]
app.js:248 Session is now authenticated: [email protected] YncmAmpKVIAANmgB2Q8AsadwnK/l1V6ElMZxYc0m5mM=
app.js:244 TURN servers selected:  [] 0 []
app.js:244 TURN servers selected:  [] 0 []
owncloud.js:86 OC: selfReceived Object {Type: "Self", Id: "a3_XpLYuJ592XxJ_grcFjXDFj5FAte5hojnPQ5zuPQZ8PT1nWj…iMlhtTXk0MklwdTBTRXhjLVluQzI0Z2hEfDE5MzgzOTc3NDE=", Sid: "a3plTVV4tLlOdGEbR3wcwuOZO0WexeDX", Userid: "[email protected]", Suserid: "YncmAmpKVIAANmgB2Q8AsadwnK/l1V6ElMZxYc0m5mM="…}
app.js:244 TURN servers selected:  [] 0 []
app.js:244 Joining room [""]
app.js:244 Joined room [""]
app.js:241 Joined room Object {Type: "Room", Name: "", Credentials: null} a3_XpLYuJ592XxJ_grcFjXDFj5FAte5hojnPQ5zuPQZ8PT1nWjJZRW5NVDA5Q2M4b2QxRG5EX3dBdjNBMXBHMW9Jel9sVDF1TWJSVVRqZ3hiMlhtTXk0MklwdTBTRXhjLVluQzI0Z2hEfDE5MzgzOTc3NDE=
PostMessageAPI.js:50 PostMessageAPI: POSTING FROM Location {hash: "", search: "?debug=1", pathname: "/webrtc/", port: "", hostname: "cloud.techandme.se"…} TO https://cloud.techandme.se Object {type: "roomChanged", roomChanged: ""}
app.js:246 Create new chatroom [""]

Vhosts

#56


If you need more info, just ask!

Allow calls with external persons

It would probably make sense to offer a possibility to start a call with an external person that does not have an ownCloud account. Something like: "Create conference link" that can then be shared with external persons.

Simplify text chat experience

Currently you need to go through 3 steps to be able to chat with people via text:

  1. Click on the chat icon in the top right
  2. Select the room
  3. Click into the input field

Some means to simplify that:

  • when selecting a room, automatically focus the message input field so one can just start typing
  • when clicking on the chat icon, open the room chat by default
  • and lastly, simply show the room chat by default in the right sidebar, along with the contacts. Not in a second sidebar.

Mixed content (HTTP & HTTPS) while loading app (Nextcloud)

I don't know if it's a bug or if my setup is wrong, but I'm trying to setup Spreed.Me on a Nextcloud server with Nginx Reverse Proxy in front and Nextcloud on a backend Apache server. This is my setup:

Vhosts

Nginx Vhost

Handles port 443 and 80

server {
        # Cloudflare IP that is masked by mod_real_ip

	error_page 404 500 502 503 504 /cloud-error.html;
        location = /cloud-error.html {
                root /usr/share/nginx/html;
                internal;
        }
     	set_real_ip_from 103.21.244.0/22;
     	set_real_ip_from 103.22.200.0/22;
     	set_real_ip_from 103.31.4.0/22;
     	set_real_ip_from 104.16.0.0/12;
     	set_real_ip_from 108.162.192.0/18;
     	set_real_ip_from 131.0.72.0/22;
     	set_real_ip_from 141.101.64.0/18;
     	set_real_ip_from 162.158.0.0/15;
     	set_real_ip_from 172.64.0.0/13;
     	set_real_ip_from 173.245.48.0/20;
     	set_real_ip_from 188.114.96.0/20;
     	set_real_ip_from 190.93.240.0/20;
     	set_real_ip_from 197.234.240.0/22;
     	set_real_ip_from 198.41.128.0/17;
     	set_real_ip_from 199.27.128.0/21;

	real_ip_header     X-Forwarded-For;
        real_ip_recursive  on;

        listen 192.168.4.201:443 ssl http2;

        ssl on;
        ssl_certificate /etc/letsencrypt/live/cloud.techandme.se/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/cloud.techandme.se/privkey.pem;
	ssl_dhparam /etc/nginx/sites-available/cloudflare_ip/cloud.techandme/cloud-dhparams.pem;
        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_session_timeout 1d;
        ssl_session_cache shared:SSL:10m;
        ssl_stapling on;
        ssl_stapling_verify on;

        # Only use safe chiphers
	ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA';
	ssl_prefer_server_ciphers on;
	
	# Add secure headers
	add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload";
#	add_header X-Content-Type-Options nosniff;
	
        server_name cloud.techandme.se;
        set $upstream 192.168.4.111;

        location /webrtc/ws {
                proxy_pass https://$upstream:443;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
        }

        location / {
                proxy_pass_header Authorization;
                proxy_pass http://$upstream:80;
                proxy_set_header Host $host;
                proxy_set_header X-Real-IP  $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_http_version 1.1;
                proxy_set_header Connection "";
                proxy_buffering off;
                proxy_request_buffering off;
		client_max_body_size 0;
                proxy_read_timeout  36000s;
                proxy_redirect off;
                proxy_ssl_session_reuse off;
        }
}

server {
  listen 192.168.4.201:80;
  server_name cloud.techandme.se;
  return 301 https://cloud.techandme.se$request_uri;
}

Apache Vhost Nextcloud

nextcloud.conf

<VirtualHost 192.168.4.111:80>
    Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
    Header always set X-Content-Type-Options nosniff

### YOUR SERVER ADDRESS ###
    ServerAdmin [email protected]
    ServerName cloud.techandme.se

### SETTINGS ###
    DocumentRoot /var/www/nextcloud

    <Directory /var/www/nextcloud>
    Options Indexes FollowSymLinks
    AllowOverride All
    Require all granted
    Satisfy Any
    </Directory>

    <IfModule mod_dav.c>
    Dav off
    </IfModule>

    <Directory "/var/ncdata">
    # just in case if .htaccess gets disabled
    Require all denied
    </Directory>

    SetEnv HOME /var/www/nextcloud
    SetEnv HTTP_HOME /var/www/nextcloud

</VirtualHost>

Apache Vhost SpreedMe

spreedme.conf (As Include in Apache.conf)

<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

Errors

Here are a good summary of all the errors: nextcloud/spreedme-snap#10

Summary

It seems like you need to implement wss so that I can get secure connections, or it's my config that are wrong. Can you please help me here?

Thanks!

Telephone Connection aborts after about 20 seconds

Hi, I've successfully installed spreed.me with owncloud.
it runs on a apache https proxy with a certificate signed by cacert.org (they are not in the browser certificate store)

I've successful tested a telephone call between irdium (based on chromium) and chrome between
2 windows pc's. But when I try to make a telephone call between a windows and a linux pc, the call is first established and then aborts with an error message indicating a connection problem.

the log file (of the spreed.me server instance) shows this error message:

server 2016/05/06 21:26:16.840149 Error while reading 9 websocket: close 1006 unexpected EOF

what can I do?

thanks in advance

Integration with Nextcloud contacts

The contacts list should be integrated with the contacts in ownCloud. In other words, when saving a contact in the Spreed.ME app, I expect that contact to show up in the ownCloud Contacts app.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.