crybapp / aperture Goto Github PK
View Code? Open in Web Editor NEWMicroservice that handles video and audio forwarding to clients
License: MIT License
Microservice that handles video and audio forwarding to clients
License: MIT License
Not important but would be epic!
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.
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.
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:
Any ideas are welcome.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.