Skip to content

jimmywarting/webtorrent-server-browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

webtorrent-server-browser

test torrent.createServer() using service worker

demo: https://jimmywarting.github.io/webtorrent-server-browser/

Motivation

Using html video MSE to decode/encode a video in order to support streaming/seaking with javascript is a bit slower. Using MSE means we have to support more containers manually like mp4 or webm for example.

Serving a file directly to a video element as if where a regular url will let the browser handle seeking, making range request, and encode it much faster. that probably also means more support for other media containers

Doing this makes you wonder if you even need this packages at all:

  • mp4-box-encoding
  • mp4-stream
  • mediasource
  • render-media
  • videostream
  • range-slice-stream
  • stream-to-blob-url

About

test torrent.createServer using service worker

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published