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

Live/stream #151

Open
Tucsky opened this Issue Dec 13, 2017 · 20 comments

Comments

Projects
None yet
@Tucsky
Copy link

commented Dec 13, 2017

Is it something that could be done the peertube way, in the future ?

@Chocobozzz

This comment has been minimized.

Copy link
Owner

commented Dec 13, 2017

Not really sure, torrents are immutable.

@Chocobozzz Chocobozzz changed the title Could PeerTube support a live/stream feature ? Live/stream Dec 13, 2017

@Wack0

This comment has been minimized.

Copy link

commented Dec 27, 2017

Well, today there is acestream, which is basically "livestream but with torrents"; the initial seeder has to stay seeding throughout as they are the one providing the stream. I wonder if something similar can be done with webtorrent..?

Acestream seems to be closed source (which is odd, given that they seem to have forked vlc); but I guess it's proof enough that it is in fact possible.

@voronoipotato

This comment has been minimized.

Copy link

commented Jan 6, 2018

nile.js presently does this on top of webtorrent by basically uploading slices of video that point to the next upcoming slice.

@aledomu

This comment has been minimized.

Copy link

commented Mar 20, 2018

Maybe this can be used as an inspiration: https://github.com/muaz-khan/WebRTC-Scalable-Broadcast

@SoniEx2

This comment has been minimized.

Copy link

commented Apr 1, 2018

There is also dat, which provides encrypted append-only streams.

@voronoipotato

This comment has been minimized.

Copy link

commented Apr 12, 2018

@rigelk

This comment has been minimized.

Copy link
Collaborator

commented Apr 12, 2018

@voronoipotato very interesting! It doesn't cover the topic of live streaming, however.

Technically, it may not be so easy. It would be a lot simpler if Salsify were just a better video codec, or a better transport protocol. Because Salsify is instead a better way of putting the pieces together, we expect it will be harder to retrofit into an existing application without significant refactoring. In our conversations with industry, we’ve found that the burden of proof will be high to demonstrate (1) that Salsify’s gains are real, and (2) that they can’t be achieved with less-intrusive surgery to existing applications.

Even they admit the integration burden is difficult. We already have a hard time switching codecs and have a tight coupling with webtorrent, so I don't expect a refactoring to salsify to happen.

@voronoipotato

This comment has been minimized.

Copy link

commented Apr 12, 2018

no, I didn't it was likely either I just saw it and thought it would be fun to share lol.

@rodneyrod

This comment has been minimized.

Copy link

commented May 21, 2018

Tribler looks to be doing something along these lines:
https://www.tribler.org/StreamingExperiment/

@rigelk

This comment has been minimized.

Copy link
Collaborator

commented Jul 16, 2018

I just noticed that the hls.js lib also features a POC branch called hlstorrent. The maintainer (of that branch) even made some comments about it on SO, so it's working beyond the POC branch apparently.

EDIT: looks pretty hackish though.

@fredsif

This comment has been minimized.

Copy link

commented Jul 22, 2018

There's also this project:
https://github.com/cdnbye/hlsjs-p2p-engine
Haven't tried it yet but it seems in active development

@rigelk

This comment has been minimized.

Copy link
Collaborator

commented Jul 22, 2018

@fredsif interesting but it's apparently not fully open source (their tracker isn't).

@tcitworld

This comment has been minimized.

Copy link
Collaborator

commented Jul 22, 2018

@fredsif

This comment has been minimized.

Copy link

commented Aug 13, 2018

There seems to be another new project (also based on webtorrent) that delivers live streaming:
https://github.com/Novage/p2p-media-loader

@rigelk

This comment has been minimized.

Copy link
Collaborator

commented Aug 13, 2018

@fredsif that's a very good find! It is technically very close to our current stack, as it uses webtorrent/bittorrent-tracker. It also has the advantage to support both HLS and DASH, so that lets us choose. Oh and they provide explicit support for videojs-contrib-hls (although now https://github.com/videojs/http-streaming sounds like the future of hls/dash/other in videojs).

cc @Chocobozzz

@SarHawk

This comment has been minimized.

Copy link

commented Feb 2, 2019

Will this be added on your Roadmap for 2019?
@Chocobozzz @rigelk

@rigelk

This comment has been minimized.

Copy link
Collaborator

commented Feb 2, 2019

@SarHawk p2p-media-loader and hls support are being brought in a refactor happening right now. It won't bring live streaming, but it will bring better playback support and it is the first step towards live streaming support anyway.

@sschueller

This comment has been minimized.

Copy link
Contributor

commented Feb 18, 2019

There is also some information here https://news.ycombinator.com/item?id=13378145 regarding BitTorrent Live which was not open source but some of its parts have been made open source now.

@Serkan-devel

This comment has been minimized.

Copy link

commented Apr 10, 2019

Maybe someonce could create a BEP with a livestreaming spec if that doesn't exist yet

@draconicfae

This comment has been minimized.

Copy link

commented Apr 18, 2019

RFC 7574 maybe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.