thaunknown / webtorrent-player Goto Github PK
View Code? Open in Web Editor NEWHigh performance, no compromise video player for WebTorrent
Home Page: https://thaunknown.github.io/webtorrent-player/
License: GNU General Public License v3.0
High performance, no compromise video player for WebTorrent
Home Page: https://thaunknown.github.io/webtorrent-player/
License: GNU General Public License v3.0
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
Audio is not hearing. Please check that.
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?
pause on lost focus resumes if the old state was paused
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?
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 :(
on some devices, for example mobile, which can have a different pixel density, the renderer incorrectly assumes it's target resolution, the canvas becomes incorrectly sized and in effect it displays shit incorrently
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?
add multi-audio support without experimental flags using capture streams, add multi-audio support to chromecast
play video without waiting for sub parser init, should actually improve UX
i getting error like "Cannot use import statement outside a module".
burn-in perf is degraded a lot, could make an async settimeout to improve it
every time a new subtitle is parsed the entire file is rebuild, instead push a single subtitle event, which would be a lot better, but currently not possible
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.
Can you deploy npm so I can install it as an npm package?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.