-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Comments
|
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. |
nile.js presently does this on top of webtorrent by basically uploading slices of video that point to the next upcoming slice. |
Maybe this can be used as an inspiration: https://github.com/muaz-khan/WebRTC-Scalable-Broadcast |
There is also dat, which provides encrypted append-only streams. |
https://snr.stanford.edu/salsify/ A new thing |
@voronoipotato very interesting! It doesn't cover the topic of live streaming, however.
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. |
no, I didn't it was likely either I just saw it and thought it would be fun to share lol. |
Tribler looks to be doing something along these lines: |
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. |
There's also this project: |
@fredsif interesting but it's apparently not fully open source (their tracker isn't). |
There seems to be another new project (also based on webtorrent) that delivers live streaming: |
@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 |
Will this be added on your Roadmap for 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. |
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. |
Maybe someonce could create a BEP with a livestreaming spec if that doesn't exist yet |
RFC 7574 maybe? |
I stream on Twitch with a 30sec latency between "what i say" and "the live". |
Have you guys checked out https://www.thetatoken.org/ ? |
i dont think you need a token or blockchain to do p2p live streaming 🤔 |
Note: OBS support SRT since version 25, see wiki |
whats the current state? |
|
https://joinpeertube.org/roadmap There is not going to be a live chat feature for live streaming? It says in the roadmap |
Yes for the beginning. If you know how to code a tchat start helping. |
just thoughts: does activpub support something like that? |
I reckon it is not adapted to live chat. But one shouldn't reimplement yet another live chat system. Xmpp does this just right, and there are already stable JavaScript clients (see JSXC or converse.js) |
Just add a little matrix iframe bob's your uncle |
Matrix would be a great idea. |
That would mean relying on a third-party server or adding a matrix server as a dependency, which is pretty heavyweight. |
There is work to have P2P Matrix, with some bits already running. https://matrix.org/blog/2020/06/02/introducing-p-2-p-matrix |
Please create a separate issue to discuss about a chat feature for live videos |
This comment has been minimized.
This comment has been minimized.
|
For live chat on live stream videos, i hope they use the foss, e2ee Matrix protocol for that. (matrix.org) |
It says that there will be no chat at the first stage-). |
(Professor Farnsworth voice) : "Good news everyone!" : https://bits.debian.org/2020/10/debian-donation-peertube.html (relevant to this issue because it's specifically about this issue) :) |
This is the killer feature for me — excited to see progress towards P2P livestreams! |
How about having an option to watch through the recording by the streamer before deciding whether to publish them? To this I didn't see a clear answer yet. |
Implemented in #3250. You can see the details of the implementation/UX in the PR description. This is just a first step, we'll improve the live feature next year. |
Is it something that could be done the peertube way, in the future ?
The text was updated successfully, but these errors were encountered: