Giter VIP home page Giter VIP logo

nile.js's People

Contributors

derekmiranda avatar frozzare avatar imvetri avatar joshterrill avatar jpmitchellpierson avatar kbbqiu avatar robawilkinson avatar

Stargazers

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

Watchers

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

nile.js's Issues

Add ability to specify custom broadcast server port

Right now, it doesn't appear that I can run the broadcast server separately from viewer servers since it looks for the magnet endpoint on the same port.

It'd be nice to be able to specify a particular server/port to connect to for the magnet endpoint.

Browser crash upon consecutive seeds, possible memory leak?

As we rack up the number WebTorrent seeds on the broadcaster side, there seems to be a client side memory leak which eventually causes the browser to crash. We’ve checked the CPU and memory usage but have found no error messages or anomalies.

Unsuccessful approaches that we have taken to solve the issue:

  • Server side seeding in place of client side seeding
  • Seeding in web workers
  • Seeding in iframes
  • Destroying WebTorrent client on each new seed
  • Destroying WebTorrent file on each new seed

One solution that we have found, is browser specific. If using Chrome Canary to test the library, it seems to run indefinitely. If anyone in the open source community is able to provide some insight, please make a pull request on our GitHub repo.

Events

Hi there,

Congrats, this is a great project. It would be nice to have event handlers for the socket.io features, like emiting a broadcast notification when a broadcaster is on, so it wouldn't require a second socket.io instance.

Possible to stream video without recording feature?

I understand that you can use regular WebRTC to stream video to clients without recording, but I was wondering if it would be possible to integrate that as a flag in this library as well. That way I can use one library and keep everything in one place. If that's possible, I could probably work on it, just point me in the right direction.

Latency for live stream ?

I have not tried your solution yet, but I guess since you record some chunks, you do create some latency.
Any idea on what would be the minimal latency your solution can handle ?

Regards

Tried example, didnt work

I started the demo-server.js, opened the client/index.html, click "start streaming", it asks for permission then nothing happens for a while and then these errors.
test

Lag

What sort of lag should I expect when using this with:

  • 10 concurrent
  • 100 concurrent
  • 1000 concurrent
  • 10,000 concurrent

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.