Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upStreaming live video #243
Streaming live video #243
Comments
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
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? |
This comment has been minimized.
This comment has been minimized.
|
You could try implementing http://datatracker.ietf.org/doc/draft-ietf-ppsp-peer-protocol/ -- I'd review and help! |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
Live streaming video is a cool idea, but out-of-scope for this module. Could be built on top of it though :P |
This comment has been minimized.
This comment has been minimized.
|
Webrtc DataChannels + Media Source Extensions can make it possible. |
This comment has been minimized.
This comment has been minimized.
|
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. |
This comment has been minimized.
This comment has been minimized.
|
See this project http://bem.tv/ |
This comment has been minimized.
This comment has been minimized.
|
also checkout the project https://livepeer.org/ |
This comment has been minimized.
This comment has been minimized.
|
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. |
Will live video from webcams be possible? Webrtc examples are already full of live video streaming, but I want to do broadcasting with webtorrent.