Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2016-07-29 08:09:00 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-07-29 08:09:00 +0300
commit2be09cc2fabef37ddba365fb0b014d719fbb8fff (patch)
tree08bcc52178a98b5d4c1b382e0c4631b60e602172 /docs
parent79589dde351c8a2a305bfebc4833be02dbe6f8c3 (diff)
Add something about live streaming in the faq (fix #826)
Diffstat (limited to 'docs')
-rw-r--r--docs/faq.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/docs/faq.md b/docs/faq.md
index 3678700..00531bb 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -334,6 +334,23 @@ There are many talks online about WebTorrent. Here are a few:
<script async class="speakerdeck-embed" data-id="cb08869f2ac2445c99e8b73a4ac65d2b" data-ratio="1.77777777777778" src="//speakerdeck.com/assets/embed.js"></script>
+## Is it possible to do live streaming with WebTorrent?
+
+WebTorrent cannot do live streaming out-of-the-box, because that's beyond the scope
+of a torrent client. However, you can build a live streaming solution on top of
+WebTorrent and torrent technology.
+
+Torrents are immutable. That means that once a torrent files is created, it cannot
+be changed without changing the info hash.
+
+A naive approach would be this: The video producer could take every 10 seconds
+of live video and create a torrent from it. Viewers would follow this "feed" of
+torrent files (or info hashes) and download them sequentially. Thus, viewers would
+be around 10-20 seconds behind the live stream.
+
+This approach can definitely be improved, though! Why not give that a shot yourself
+and share the code?
+
# Troubleshooting
## Why does browser downloading not work? I see no peers!