Coder Social home page Coder Social logo

thaunknown / webtorrent-player Goto Github PK

View Code? Open in Web Editor NEW
69.0 69.0 17.0 20.48 MB

High performance, no compromise video player for WebTorrent

Home Page: https://thaunknown.github.io/webtorrent-player/

License: GNU General Public License v3.0

JavaScript 95.08% HTML 2.30% CSS 2.62%

webtorrent-player's Introduction

Metrics

webtorrent-player's People

Contributors

combe15 avatar thaunknown avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

webtorrent-player's Issues

fileStreams do not get destroyed

currently, when a stream is meant to close, it instead destroys the parser, not the stream itself, this leaks minor amts of ram, but a leak is a leak

resize event creates multiple canvases

when using offscreenRender, when a resize event fires 2 canvases end up getting created? most likely happens before first event is ever rendered, so before the renderer is initiated?

Websocket 403

I get this error on every torrent I try:

WebSocket connection to 'wss://peertube.cpy.re/tracker/socket' failed: Error during WebSocket handshake: Unexpected response code: 403
The websocket is returning 403. Tested on firefox & chrome, hosted on 2 different domains. Do you know why this happens? Thanks

I'm not sure I installed everything correctly. In my main folder I have /sw.js, /dist/bundle.js, /lib/peer.js & the octopus files.

Firefox says:

GETwss://peertube.cpy.re/tracker/socket [[HTTP/1.1 403 Forbidden 700ms]]()
05:31:54.589 Failed to load ''. A ServiceWorker intercepted the request and encountered an unexpected error. [sw.js:19:8](https://xcxxxcvxvxvxvxck.com/tsf-cinema-beta/sw.js)

Also a URL in my own server throws 404:
HTTP load failed with status 404. Load of media resource https://xaxax.com/subdir/webtorrent/3f4a4bd12234109e93dc5ec384d0e3d511da06e3/video.mp4 failed.
The thing is /webtorrent folder doesn't exist in my server. Should it?

Chromecast

In theory chromecasting should be possible, but here I'd need to cast a MediaSource, something like what burn-in for PiP uses, to support more containers, codecs and subtitles, then combining the """transcoded""" video with audio but I don't know how to do this :(

parser misses large font files

the parser misses large font files, this happens consistently on PAS releases, I assume this is because of my changes to how the parser is initiated in order to fix the pieced metadata not being parsed which would result in nothing being parsed at all.

This shouldn't be a fix, more a patch since the original issue is way worse, maybe create an additional linear parser on top of the stream parser which parses infinitely until it reaches empty headers or the first subtitle file, it should be fine to assume that the font files would be parsed before any subtitles? additionally this means that the subtitle renderer wouldn't be initiated until all the font files were created?

multi-audio without flags

add multi-audio support without experimental flags using capture streams, add multi-audio support to chromecast

faster parsing init

play video without waiting for sub parser init, should actually improve UX

Seeking preview thumbnails on hover

The seeking preview thumbnails is pretty cool. It would be even nicer if it would show the thumbnail on hover instead having to actually click/drag the current video position tracker ball.

npm package

Can you deploy npm so I can install it as an npm package?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.