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

Streaming live video #243

Closed
Charuru opened this issue Jan 14, 2015 · 10 comments
Closed

Streaming live video #243

Charuru opened this issue Jan 14, 2015 · 10 comments

Comments

@Charuru
Copy link

@Charuru Charuru commented Jan 14, 2015

Will live video from webcams be possible? Webrtc examples are already full of live video streaming, but I want to do broadcasting with webtorrent.

@Svenskunganka

This comment has been minimized.

Copy link

@Svenskunganka Svenskunganka commented Jan 14, 2015

WebTorrent is an implementation of the BitTorrent protocol for Node and the browser, not a video streaming module. As BitTorrent isn't built to allow file changes to a file within a torrent after it has been created, this is not possible. You can't write a live video feed to a torrent.

You can probably achieve your goal by using parts of the WebRTC code behind WebTorrent, but you won't be able to do this using WebTorrent alone.

@Charuru

This comment has been minimized.

Copy link
Author

@Charuru Charuru commented Jan 14, 2015

The official bittorrent company had a streaming video site. It should just be a question of changing the protocol to support streaming needs, eg low latency, sending things in order, editing torrents. But that sounds like it's out of the scope of this project?

@astro

This comment has been minimized.

Copy link
Contributor

@astro astro commented Jan 14, 2015

You could try implementing http://datatracker.ietf.org/doc/draft-ietf-ppsp-peer-protocol/ -- I'd review and help!

@bradisbell

This comment has been minimized.

Copy link

@bradisbell bradisbell commented Jan 19, 2015

I've often wondered if HLS-style segmenting of streams would allow for streaming over the existing BitTorrent client. Is it possible to create a torrent with segment, followed by a pointer to the next torrent, even if that next torrent hasn't been created yet? I don't know much about the BitTorrent protocol itself. If there was some way to reference the next torrent in the stream, then the same segmentation that allows for HLS could enable BitTorrent streaming to work, complete with multiple bitrate streams.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Apr 11, 2015

Live streaming video is a cool idea, but out-of-scope for this module. Could be built on top of it though :P

@feross feross closed this Apr 11, 2015
@ernado

This comment has been minimized.

Copy link

@ernado ernado commented Apr 12, 2015

Webrtc DataChannels + Media Source Extensions can make it possible.
But not serverless, because we need to convert Webrtc video stream to chunks that MSE can consume.

@feross

This comment has been minimized.

Copy link
Member

@feross feross commented Apr 15, 2015

Actually - have you seen https://github.com/gpac/mp4box.js/ ? You can do the conversion for MSE in the browser! That's what https://instant.io currently does.

@ocordeiro

This comment has been minimized.

Copy link

@ocordeiro ocordeiro commented Jun 29, 2015

See this project http://bem.tv/

@hbakhtiyor

This comment has been minimized.

Copy link

@hbakhtiyor hbakhtiyor commented Sep 6, 2017

also checkout the project https://livepeer.org/

@voronoipotato

This comment has been minimized.

Copy link

@voronoipotato voronoipotato commented Jan 6, 2018

those projects are interesting but aren't free. More interestingly is something like nile.js which is actually using webtorrent to achieve the aforementioned goal by cutting up the video into segments as was described earlier in the thread.

@lock lock bot locked as resolved and limited conversation to collaborators May 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
9 participants
You can’t perform that action at this time.