Questions tagged [signalmaster]

signalmaster is a simple socket.io server for WebRTC signaling

signalmaster

A simple signaling server for clients to connect and do signaling for WebRTC.

Specifically created as a default connection point for SimpleWebRTC.js

It also supports vending STUN/TURN servers with the shared secret mechanism as described in this draft. This mechanism is implemented e.g. by rfc-5766-turn-server or by a patched version of restund.

Read more: - Introducing SimpleWebRTC and conversat.io - SimpleWebRTC.com - talky.io

Running

Running the server requires a valid installation of node.js which can be installed from the nodejs.org website. After installing the package you will need to install the node dependencies.

1) npm install async, node-uuid, redis, underscore, precommit-hook, getconfig, yetify, socket.io

2) run the server using "node server.js"

3) In the console you will see a message which tells you where the server is running:

                    "signal master is running at: http://localhost:8888"

4) Open a web browser to the specified URL and port to ensure that the server is running properly. You should see the message

                    "Welcome to socket.io"

Production Environment

  • generate your ssl certs

shell $ ./scripts/generate-ssl-certs.sh * run in Production mode

shell $ NODE_ENV=production node server.js

Use with Express

var express = require('express')
var sockets = require('signalmaster/sockets')

var app = express()
var server = app.listen(port)
sockets(server, config) // config is the same that server.js uses

Docker

You can build this image by calling:

docker build -t signalmaster https://github.com/andyet/signalmaster.git

To run the image execute this:

docker run --name signalmaster -d -p 8888:8888 signalmaster

This will start a signal master server on port 8888 exposed on port 8888.

11 questions
5
votes
1 answer

How to fix unreliable WebRTC calling?

WebRTC calls are not reliable in our application. Sometimes we see the black screen, sometimes we don’t see call start at all and sometimes there are seen huge delays or de-sync in audio/video. Setup: Google’s public STUN server…
Rustem Mustafin
  • 957
  • 1
  • 11
  • 23
1
vote
1 answer

What happens in a multi-party webrtc connection when some users use STUN and/or TURN?

In my case, I have a webrct based web app that supports multi-parti video chat and has STUN and TURN servers configured. The connections are done in a mesh way (peer to peer) What happens when some of the users involved in the video chat need to…
ee11131
  • 51
  • 1
  • 6
1
vote
0 answers

simpleWebRTC with Signalmaster - allow origion

My web app using the simpleWebRTC for video chat. I deployed the signalmaster in Azure web app. On localhost - the video chat working well. Once I change the "SimpleWebRTC url" to point to the real server - I got an error: "Credentials flag is…
zeevblu
  • 1,059
  • 2
  • 11
  • 26
1
vote
0 answers

WebRTC no video with some networks

I create web app with Ruby on Rails using WebRTC for video connections (with SimpleWebRTC: https://simplewebrtc.com/). It works on remote server, and use signalmaster (https://github.com/andyet/signalmaster). Everything works good on most networks,…
Tomasz Czura
  • 2,414
  • 1
  • 14
  • 18
1
vote
0 answers

SimpleWebRTC Signalling server - server.js not working

I try to do a simpleWebRTC demo for screensharing. For my signalling server, I used the server.js file at: https://github.com/andyet/signalmaster/blob/master/server.js However, when I run the file on my Ubuntu as server, and browse to the port where…
0
votes
0 answers

Is it possible to communicate with SignalMaster webRTC signaling server using C#

My company as a signalMaster signaling server install at https://signaling.mycompany.com https://github.com/simplewebrtc/signalmaster We have a web page that uses simpleWebRTC to communicate with it. I am working on a .net Application that need to…
ElRosbif
  • 353
  • 1
  • 6
  • 18
0
votes
1 answer

Is it possible to implement a MCU with SimpleWebRTC and signalmaster? How?

I have a peer to peer videoconference app using simpleWebRTC and signalmaster for signaling. When more than 4 users connects the stress it causes on the network and the TURN server is too big, so I was thinking, is it possible to implement a MCU in…
ee11131
  • 51
  • 1
  • 6
0
votes
1 answer

"getaddrinfo ENOTFOUND" error on heroku

I am tring to deploy a webRTC signaling server on Heroku. It works on my local machine but gave: Error: getaddrinfo ENOTFOUND global.xirsys.net global.xirsys.net` when deployed on Heroku. I am using simpleWebRTC + signalmaster + XirSys The…
Tianhao Zhou
  • 784
  • 1
  • 9
  • 28
0
votes
1 answer

TURN server connection fails while trying to connect via SimpleWebRTC

I'm trying to make videochat app using SimpleWebRTC, Signalmaster and Coturn. On the webpage everything works fine when I try to connect from one tab to another in same browser or over LAN. I'm encountering problems while connecting between…
0
votes
1 answer

Signalmaster on https: ERR_CONNECTION_REFUSED

I have an ember project using Signalmaster. In the config/environment.js I have the following: if (environment === 'production') { ENV.SIGNALMASTER = { HOST: 'https://localhost:8890', PORT: '8890', FORCE_CONNECTION: true }; On my server I…
ZhouW
  • 1,187
  • 3
  • 16
  • 39
0
votes
1 answer

simpleWebRTC signalmaster - setting a signaling + STUN and TURN

I used simpleWebRTC as a kind of multi video app. Now I need to set up a signaling server. The problem: I have no node knowledge. Possible solutions: is there a solution in PHP? (yea... probably not....) is there some service? ( I did try Xirsys -…
Nami Nam
  • 91
  • 2
  • 9