Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browser support #10

Open
louiscenter opened this issue Mar 15, 2017 · 2 comments
Open

Browser support #10

louiscenter opened this issue Mar 15, 2017 · 2 comments
Assignees

Comments

@louiscenter
Copy link
Collaborator

louiscenter commented Mar 15, 2017

It would be cool to port hypervision out of electron and make it completely usable within consumer browsers like Firefox and Chrome.

For this to happen, hypercore would first need to add browser support, and this is already planned: holepunchto/hypercore#72

Then we would need to use something like mafintosh/random-access-memory for feed storage.

Swarming the data is also something that needs work, because hyperdiscovery and its dependencies don't run in the browser. The following link recommends ways in which you can do dat stuff in the browser: https://docs.datproject.org/browser

Being able to watch broadcasts from a browser would be the first priority, as there are still a number of use cases where broadcasting from an Electron app is useful (doing cool things with ffmpeg for example). That said, clients swarming via discovery-swarm aren't compatible with clients swarming via webrtc-swarm, so if broadcasting continues to be done via a desktop app, it would have to swarm via WebRTC instead.

@louiscenter louiscenter changed the title Add browser support Browser support Mar 16, 2017
@t-mullen
Copy link

t-mullen commented Apr 6, 2017

The http server would need to be replaced too. MediaSource should work.

@mafintosh Feeding the header and clusters from webm-cluster-stream into the MediaSource API only works if none of them are missing. Are they somehow dependent on each other?

@louiscenter louiscenter self-assigned this Apr 7, 2017
@sheddup
Copy link

sheddup commented Aug 14, 2018

Any progress on this? I noticed hypercast but that is for beaker browser only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants