166 Commits

Author SHA1 Message Date
Jerko Steiner
6d92c1add3 Fix broken tests after update 2018-11-07 10:36:15 +01:00
b7314643cc Add ability to run a https server 2017-10-29 14:22:51 -04:00
795d31f89f Add ability to set custom base url (reverse proxy)
The URL can be set by either:

1. Setting the `baseUrl` property in `config/default.json`,
   `config/local.json`, or `config/${NODE_ENV}.json` file.
2. Setting the `PEERCALLS_BASE_URL` environment variable.

For example:

```
$ PEERCALLS_BASE_URL=/test1/test2 npm start

> peer-calls@2.0.3 start /peer-calls
> node src/index.js

  peercalls WebSocket URL: /test1/test2/ws +0ms
  peercalls Listening on: 3000 +76ms
```

In this case, opening `http://localhost:3000/test1/test2` would open the
homepage.

Fix #42
2017-08-17 20:14:17 -04:00
1740b4b752 Add autoPlay & playsInline to <video /> 2017-06-20 22:27:28 -04:00
cc1639eade Add compatibility layer for iOS 11 2017-06-20 19:11:51 -04:00
7d9f5dce01 Show version on front page 2017-06-18 10:35:38 -04:00
57b3d3ca6a Migrate to redux
Detailed list of changes

1. Migrate off flux to redux stores, closes #35
2. Reorganize stores
3. Use PureComponents, closes #36
4. Rewrite most tests, increase coverage to 100%, closes #17
5. Allow preview to people without camera & mic, closes #26
6. Add package-lock.json for npm 5
7. Add mock of window object, closes #13
2017-06-18 09:36:53 -04:00
6c24bf4e60 Switch to pure components, closes #36 2017-06-18 09:28:18 -04:00
609f370de0 Add more server-side tests 2017-06-18 09:21:17 -04:00
df37ed93fb Allow peers w/o streams to receive streams, closes #26
Related to: https://github.com/feross/simple-peer/issues/95
2017-06-18 08:56:11 -04:00
8a8c7b570f Show peer icon when no video 2017-06-18 08:35:20 -04:00
cad9b70d50 Add ACTIVE_TOGGLE 2017-06-18 08:24:01 -04:00
54c7cdad00 Fix linting errors 2017-06-17 23:17:31 -04:00
edda50b287 Reorganize window 2017-06-17 23:14:26 -04:00
368fa5102b Move peer stuff to actions 2017-06-17 22:54:29 -04:00
e0474ccb4f Make calls work 2017-06-17 13:22:40 -04:00
84fe55f342 Update README.md 2017-06-17 13:01:48 -04:00
bcbf6b0291 Fix jest not exiting cleanly 2017-06-17 11:37:25 -04:00
b8ebbf8cc4 Fix build 2017-06-17 11:06:48 -04:00
4009b9c7d7 Add Input-test.js 2017-06-17 10:56:05 -04:00
06821e1fce Increase test coverage 2017-06-17 10:43:01 -04:00
300afd6b2f Add tests for actions & reducers 2017-06-17 09:49:48 -04:00
46ec853280 Fix old unit tests 2017-06-15 23:00:17 -04:00
33b891f170 First unit test 2017-06-14 21:05:12 -04:00
15e446b540 browserify/sass build working 2017-06-09 00:02:22 -04:00
80c8be2f56 Middle of refactor 2017-06-08 21:35:24 -04:00
b50eb79463 Use standard linter 2017-06-08 19:47:45 -04:00
6bbabc1f33 Add messaging support (experimental) 2017-05-30 23:56:24 -04:00
d3d7fc3848 Fix linting errors 2017-05-30 20:31:35 -04:00
d00b1d825c Add turn server debug function 2017-05-30 20:11:18 -04:00
ddb54a28e2 Add support for coturn authentication 2017-05-30 20:11:18 -04:00
aa2f3f47d8 Fix a bug introduced by SocketIO not having consistent ids
During the time of the initial release of Peer Calls, the server and
client sockets used to have different namespaces - one side had `/#`
prepended to the name, whereas the other did not, so I had to check for
this in the code.

This was fixed since the release of [SocketIO v1.5.0][1], thus breaking the
compatibility with PeerCalls. Any new `npm install` would break this
because of the way it works - it tries to install the latest available
"compatible" release.

As of this commit, the SocketIO version is locked to v1.6.0.

[1]: https://github.com/socketio/socket.io/releases/tag/1.5.0
2016-11-22 11:10:08 -05:00
db493d5901 Fix formatting in routes 2016-04-24 14:48:45 -04:00
add5b707d1 Fix front page call redirect 2016-04-24 12:13:45 -04:00
c675e553c2 Fix /call redirect with/wo trailing slash 2016-04-24 12:08:33 -04:00
71185dcd54 Fix mute video 2016-04-24 12:02:44 -04:00
2dab961f55 Add turn server (2) 2016-04-24 11:59:01 -04:00
daa8827c70 Add turn server 2016-04-24 11:58:18 -04:00
8e1cef5408 Fix new call redirect bug 2016-04-24 10:39:39 -04:00
3b95107bbc Make it work on Firefox 2016-04-24 10:37:30 -04:00
Krishna Halaharvi
fe79da8e8f Issue #18 adding Express.Router (#20)
* Issue #18 adding Express.Router

* Updating failed pull with eslint recomended changes
2016-04-10 14:55:54 -04:00
942d0f57c4 Add tests for peers.js 2016-04-06 21:25:55 -04:00
5ec24dd399 Separate socket/peer event handlers 2016-04-06 20:44:12 -04:00
Jerko Steiner
a71fc2cfb5 Change front page text 2016-04-06 08:55:55 -04:00
d592fc9c0c Add target _blank for fork me ribbon 2016-04-05 20:16:47 -04:00
fef7e321ad Set background blend mode for call view 2016-04-05 20:15:36 -04:00
8969ff219f Redesigned front page 2016-04-05 20:12:12 -04:00
Jerko Steiner
46ccd1d26a Fix broken app for clients with react dev tools extension 2016-04-05 12:50:25 -04:00
Jerko Steiner
bd8e7a67f6 Refactor call initialization 2016-04-04 18:22:21 -04:00
Jerko Steiner
f92bb8a6c1 Rename src/js to src/client 2016-04-04 18:01:31 -04:00