Code Monkey home page Code Monkey logo

timing-provider-server's Introduction

timing-provider-server

A command line tool to spin up a server which can be used with the timing-provider.

version

This command line tool spins up a server which can be used as the signaling server for the timing-provider. It is primarily intended for local testing.

Usage

The timing-provider-server package is published on npm. It can be installed like this:

npm install timing-provider-server

Afterwards the server can be started by executing the following command:

timing-provider-server

It is also possible to run the command above without explicitly installing a local version of this package first like this:

npx timing-provider-server

Once the server is up and running it can be used when creating a new TimingProvider.

const timingProvider = new TimingProvider('ws://localhost:2276');

Arguments

--port

This option can be used to specify the port to which the server is listening. If this argument is not used 2276 will be used as the default port.

timing-provider-server --port 4567

timing-provider-server's People

Contributors

chrisguttandin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

timing-provider-server's Issues

WebRTC: ICE failed, add a TURN server and see about:webrtc for more details

Hi chrisguttandin,

Thank you very much for this amazing work!

I am using your entire set of timing libraries in a web application to synchronise different audio tracks on different devices connected to the same local network, and I start the timing-provider-server on my laptop.
Everything works fine and the tracks are synchronised very well between the different devices!

I noticed that if I use too many devices, usually more than 10, this error arises: WebRTC: ICE failed, add a TURN server and see about:webrtc for more details. When this happens, the devices can’t connect and can’t reproduce the audio track.

Do you have an idea on how this problem can avoided?

How to use this to serve multiple group of users

Does using this and working on opera mini in Ubuntu 22 LTS is running independent without synchronizing . While on chrome and mozilla videos are synchronizing. Is it has something to do with this server or any of the module timingsrc or timingObject ?

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.