Skip to content
master
Go to file
Code

README.md

Sylk

Sylk WebRTC Client, focused on multiparty conferencing, is the companion client for SylkServer.

Sylk is built using HTML and JavaScript and uses the SylkRTC API to talk to SylkServer. It can be served as a web page using the web server of your choice, or it can be packaged as a stand alone desktop application using Electron. This repository contains the code to build the website and a companion Electron app.

Features

  • Multimedia calling with SIP interoperability
  • Screen sharing for both one-to-one or multi-party
  • Multi-party conferencing (WebRTC only)
  • File sharing in WebRTC conferences
  • Guest mode (no account required when invited)

Customization

Sylk WebRTC Client is preconfigured to use with the free service SIP2SIP.

The default settings of the app are found in src/app/config.js.

If you wish to use the client together with another instance of SylkServer, you must edit src/app/config.js.

Development

Node.js is needed for development. Version >= 10.0 is recommended. For convenience the configure script and Makefile are provided.

Node.js can be downloaded from https://nodejs.org

yarn must be used to install dependencies, it can be installed as follows:

npm install -g yarn

NOTE: depending on your Node installation you might need to use sudo.

  • Install all dependencies
    ./configure

For Windows build:

    brew cask install xquartz
    brew install wine

Website

  • Build the ready to be deployed distribution (available in dist/)
    make
  • Development build, starts a test webserver which auto-reloads as the code changes
    make watch
  • Deploy the built website to the default server (SIP2SIP.info)
    make deploy
  • Deploy the built website to the default staging server (SIP2SIP.info)
    make deploy-test

To deploy the built website to your own web server, copy the contents of the dist/ folder to the location on de website where you want it to be available. See examples/apache/.htaccess for required rewrite rules.

Electron application

The version number can be set in app/package.json

  • Build the Electron application
    make electron
  • Build and run Electron application:
    make app-run
  • Build macOS DMG package
    make pkg-osx
  • Build Windows NSIS based installer (universal: 32 and 64 bits)
    make pkg-win

NOTE: If building on macOS Wine must be installed with brew install wine.

  • Build Linux AppImage (both 32 and 64 bit builds)
    make pkg-linux

NOTE: Requires a GNU/Linux system with the following packages installed: icnsutils, graphicsmagick

Common

  • Clean the distribution
    make clean
  • Clean all installed packages and generated files
    make distclean

Debugging

By default Sylk doesn't output a lot of information to the browser's JavaScript console. Console debug messages are namespaced by library, the two most important ones being 'sylkrtc' and 'blinkrtc'. In order to enable debugging for both open the browser's JavaScript console and type the following:

    window.blinkDebugger.enable('sylkrtc*,blinkrtc*');

Then reload the page. Debug messages will be logged to the console now.

Electron app debug can be enabled from Debug/Open DevTools menu.

License

Sylk is available under the AGPLv3 license. See the LICENSE file.

Authors

Credits

The following organizations have helped the development of Sylk by providing funding:

You can’t perform that action at this time.