diff --git a/www/about.html b/www/about.html index d8c93b3..8baa0f2 100755 --- a/www/about.html +++ b/www/about.html @@ -1,239 +1,227 @@ - - - - - - - - - About Talk - - - - - + + + + + +
+
+ +
+ Talk + Legal +
+
+
+
+
Talk is a free group video call app with screen sharing.
+
+ It is built using WebRTC, so all your video chat is peer-to-peer. Group video call is + achieved using WebRTC mesh. So the quality of the call is inversely proportional to the number of people on the call. The sweet number is somewhere around 6 to 8 people in an average high-speed connection.
-
-
-
-
Free
-
- Use the app as much as you need. -
    -
  • Unlimited rooms
  • -
  • Unlimited call time
  • -
  • No limitations
  • -
  • No signups
  • -
  • No downloads
  • -
  • 100% Free
  • -
- Open app -
+
+
+
+
+
Free
+
+ Use the app as much as you need. +
    +
  • Unlimited rooms
  • +
  • Unlimited call time
  • +
  • No limitations
  • +
  • No signups
  • +
  • No downloads
  • +
  • 100% Free
  • +
+ Open app
-
-
Pro
-
- Same as free plan, but you get to do it in your own domain. Create rooms that are - private to your own domain like: - -
$2 / Month
-
Billed Annually at $24
- Request Pro -
+
+
+
Pro
+
+ Same as free plan, but you get to do it in your own domain. Create rooms that are + private to your own domain like: + +
$2 / Month
+
Billed Annually at $24
+ Request Pro
-
-
You own it
-
- I give you the source code, and you can use it as you wish. You can add video call - feature in your product, protect the rooms with authentication. Anything you wish. No - attribution required. -

One time fee $500

- Contact me -
+
+
+
You own it
+
+ I give you the source code, and you can use it as you wish. You can add video call + feature in your product, protect the rooms with authentication. Anything you wish. No + attribution required. +

One time fee $500

+ Contact me
-
- - -
- + + + + + + + diff --git a/www/script.js b/www/script.js index 1deafa5..3e96b41 100755 --- a/www/script.js +++ b/www/script.js @@ -7,8 +7,8 @@ const getRoomName = () => { if (roomName == '') { const randomName = () => Math.random() - .toString(36) - .substr(2, 6); + .toString(36) + .substr(2, 6); roomName = randomName(); const newurl = appURL() + '/' + roomName; window.history.pushState({ url: newurl }, roomName, newurl); @@ -81,9 +81,7 @@ function init() { signalingSocket.on('addPeer', function(config) { var peer_id = config.peer_id; if (peer_id in peers) return; - peerConnection = new RTCPeerConnection( - { iceServers: ICE_SERVERS }, - { optional: [{ DtlsSrtpKeyAgreement: true }] } // this will no longer be needed by chrome eventually (supposedly), but is necessary for now to get firefox to talk to chrome + peerConnection = new RTCPeerConnection({ iceServers: ICE_SERVERS }, { optional: [{ DtlsSrtpKeyAgreement: true }] } // this will no longer be needed by chrome eventually (supposedly), but is necessary for now to get firefox to talk to chrome ); peers[peer_id] = peerConnection; @@ -129,7 +127,8 @@ function init() { session_description: local_description }); }, - function() { + function(err) { + console.log(err); alert('Offer setLocalDescription failed!'); } ); @@ -161,8 +160,9 @@ function init() { session_description: local_description }); }, - function() { - Alert('Answer setLocalDescription failed!'); + function(err) { + console.log(err); + alert('Answer setLocalDescription failed!'); } ); },