BitTorrent Streaming
Seedess can stream video directly from BitTorrent
Streaming from BitTorrent
To stream from BitTorrent in the browser all you need is a torrentId
.
A torrentId
can be an infoHash
, magnet
or .torrent
file.
Any torrent can be streamed by appending the torrentId
to the seedess player URL https://play.seedess.com/
InfoHash Example
The infoHash ab3f1350ebe4563a710545d0e33e09a7b7943ecf
can be streamed directly from BitTorrent
InfoHash
ab3f1350ebe4563a710545d0e33e09a7b7943ecf
Video Player URL
Add the infoHash to the end of https://play.seedess.com/
https://play.seedess.com/ab3f1350ebe4563a710545d0e33e09a7b7943ecf
Video Player Embed
You can embed the player in your HTML webpage using an <iframe>
<iframe src="https://play.seedess.com/ab3f1350ebe4563a710545d0e33e09a7b7943ecf"></iframe>
Magnet Example
Magnet
A magnet is in the form
magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf
Player URL
Generate the Player URL from the magnet by appending the magnet to the seedess player URL.
https://play.seedess.com/magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf
Player HTML Embed
The player embed HTML can be created by placing the player URL in an <iframe>
<iframe
src="https://play.seedess.com/magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf">
</iframe>
.torrent URL example
For the best performance, you will need a .torrent
URL. Torrent URLs contain the metadata required to stream torrents and thus have a faster initial load time.
Torrent URL
Given a .torrent URL
you can create the Video Player URL
https://cdn.seedess.com/torrent/ab3f1350ebe4563a710545d0e33e09a7b7943ecf.torrent
Video Player URL
Create the Video Player URL by adding the torrent to the end of http://play.seedess.com/
https://play.seedess.com/https://cdn.seedess.com/torrent/ab3f1350ebe4563a710545d0e33e09a7b7943ecf.torrent
Video Player Embed
The Player Embed code can create by using the URL as the src of your iframe
<iframe
src="https://play.seedess.com/
https://cdn.torcdn.com/torrent/ab3f1350ebe4563a710545d0e33e09a7b7943ecf.torrent
"></iframe>
Combined BitTorrent Streaming
Streaming from Bittorrent doesn't give you much advantage if you don't use it to augment your existing HTTP Streaming or CDN.
Let's combine Bittorrent Streaming with a CDN
Magnet
First we need a magnet
magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf
CDN URL
Then we need the URL of the video on different CDNs
https%3A%2F%2Ffastcast.nz%2Fdownloads%2Fawakening-new-zealand-4k.mp4
https%3A%2F%2Fwebseed.btorrent.xyz%2Fawakening-new-zealand-4k.mp4
We can add other CDN URLs such as Amazon and Cloudflare URLs.
We add the URLs to the video player URL using a parameter ws
which stands for WebSeed. This is a BitTorrent term for a CDN or URL that hosts the video.
We can add as many ws
parameter as we want, however it's good to keep it under 4 URLs for performance reasons.
https://play.seedess.com/magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf&ws=https%3A%2F%2Ffastcast.nz%2Fdownloads%2Fawakening-new-zealand-4k.mp4&ws=https%3A%2F%2Fwebseed.btorrent.xyz%2Fawakening-new-zealand-4k.mp4
Video Player Embed
The video player embed uses wraps the player in an Iframe
https://play.seedess.com/magnet:?xt=urn:btih:ab3f1350ebe4563a710545d0e33e09a7b7943ecf&ws=https%3A%2F%2Ffastcast.nz%2Fdownloads%2Fawakening-new-zealand-4k.mp4&ws=https%3A%2F%2Fwebseed.btorrent.xyz%2Fawakening-new-zealand-4k.mp4
Last updated