Git Product home page Git Product logo

aperture's People

Contributors

darnfish avatar dependabot-preview[bot] avatar jedayoshi avatar plusreed avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

aperture's Issues

Use different keys for aperture and streaming

We can prevent abuse that way if someone gets to connect to the streaming server, which could be used to send data that's not from the VM. This can be solved by using a different key for each one - which would generate different tokens.

Future of aperture

Note that aperture is getting even closer from being deprecated, more when WebRTC is being integrated on Cryb.
Support might be left, but requires some rework as of how it works

At its current state, aperture will not scale well. It's not optimized, and it's not ideal to center all VM streams into a same endpoint, and that same endpoint stream to clients, especially network-side.

@cryb/portal could get some work to stream directly to clients, and if much, fallback to this when it's not possible for any reason.

Also needs more work as of how it works in that case, instead of only sending all the data to everyone.

From #3:

I've been looking into how aperture streams stuff - it needs some fixes and adding features on what is slow network handling, and what most surely will want - real-time streaming, and working around so it doesn't freezes every few due to slow networks.

By what I see - ffmpeg records all the stuff, then aperture just sends the data to the clients, as-is, and won't even do frame skipping etc. to prevent some issues. This would be an issue with those with slow networks and computers, so what's proposed is:

  • Do multiple encodings of the stream, in SD and HD. Doesn't needs all of them be running at once, just depending if there's any client requesting for it, based on their situation.
  • Check the performance of network and stream and switch automatically to the best choice.
  • Do some skipping in case of high loss, instead of getting the whole stream which would desync stuff between viewers and cause some freezing in some cases.

But that's kinda some curious work. Probably it might get a little of checking.

Needs working with slow network situations and doing actual real-time streaming

I've been looking into how aperture streams stuff - it needs some fixes and adding features on what is slow network handling, and what most surely will want - real-time streaming, and working around so it doesn't freezes every few due to slow networks.

By what I see - ffmpeg records all the stuff, then aperture just sends the data to the clients, as-is, and won't even do frame skipping etc. to prevent some issues. This would be an issue with those with slow networks and computers, so what's proposed is:

  • Do multiple encodings of the stream, in SD and HD. Doesn't needs all of them be running at once, just depending if there's any client requesting for it, based on their situation.
  • Check the performance of network and stream and switch automatically to the best choice.
  • Do some skipping in case of high loss, instead of getting the whole stream which would desync stuff between viewers and cause some freezing in some cases.

Any ideas are welcome.

Crash when no token is passed to streaming server

For example, if you connect to http://:9000, it tries to parse the token, and if it's not given to it, it will completely crash, without even finishing the request. Simply browsing it causes this.

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.