-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The "Web TV" section does not work - at all. #10
Comments
The WebTV has some limitations. I’m not sure what we should do. |
OK. Not a problem. I (obviously) don't use it but felt that since it was there it should work, or at least say that it doesn't in places where it doesn't. |
We should remove the link and binaries for WebTV entirely, but allow the plugin to be installed manually, and upon doing so, add a sidebar link. I spent a lot of time researching this last year and couldn't figure out any way without some command-line flags to enable deprecated functionality in the most popular browsers. And even then, I don't think it worked reliably. Anyone who wants to continue (or try) to use WebTV through VGX can put the effort in to hacking around settings so will be well-able to install a plugin on the understanding that the functionality has been deprecated by major browser makers for quite some time. The future-proof and sensible approach to this would be to serve HTML5-capable stream formats. |
For reference: Remove VXGplayer Q: Remove VXG completely Future of WebTV HTML5 video streaming format Problem Webif-Web-TV WebTV not working anymore? |
https://en.wikipedia.org/wiki/Google_Native_Client On 12 October 2016, a comment on the Chromium issue tracker indicated that Google's Pepper and Native Client teams had been destaffed.[7] On 30 May 2017, Google announced deprecation of PNaCl in favor of WebAssembly.[8] Although initially Google planned to remove PNaCl in first quarter of 2018,[8] and later in the second quarter of 2019,[9] it has been removed in June 2022 (together with Chrome Apps).[10][11] Seems the browser code that WebTV/VXG relies on has been removed from Chrome as of June 2022, so it might not even be worth providing the WebTV/VXG plugins anymore. |
I've tried the --enable-nacl hack myself, but the "Click here for install plugin" links to (*this should have linked to https://chrome.google.com/webstore/detail/vxg-media-player/hncknjnnbahamgpjoafdebabmoamcnni ) |
This is particularly frustrating, given that we've been shipping 2.3MB of an unusable binary with every single download of every single image that includes OpenWebif. Extra space on users' boxes, but more worryingly, someone, somewhere/multiple people in multiple places are paying for a shit-tonne of bandwidth that they don't need to! I want to make the executive decision here - let's get rid of all code related to WebTV (no need for user notification 'cos it hasn't worked for such a long time) and VXG, including the plugins feed. It hasn't been supported by Chrome for 4 months now (even with the --enable-nacl hack). Anyone who wants to keep using it (if indeed they even can), should have a setup frozen in time for that purpose. @jbleyel did a chunk of work quite a while back on a branch to remove related code, I've gotten myself tangled up in links at the moment but will post when I find it again. EDIT: |
[Ignore this post, I'm just using this bug report as a whiteboard to note my thoughts and findings!] A preliminary search shows that someone put a lot of work into a php transcoding proxy implementation a long (long!) time ago - https://github.com/andrisdru/E2Transcoder FFMPEG is already available as an e2 plugin. It may be possible to refer to the php code to get an idea of how to implement transcoding directly in Enigma2. For the record, weak boxes WILL NOT be supported!! Anyone who expects to stream to mobile browsers instead of other methods (Android/iOS apps, IINA/VLC etc.) should expect to invest in a capable box! |
A proof of concept:
HTML served (must be same origin):
Some points to note:
*ffmpeg is available as an Enigma2 plugin, I haven't tried it on-box Could someone create a plugin that installs ffmpeg plugin and has an action to call ffmpeg with params, please? (ideally reading config file per execution so I don't have to restart constantly) |
BTW, we shouldn't wait for a solution before removing WebTV and VXG, that code should be removed right away. |
FYI: The DresamDroid app on Android can stream live TV and recordings from my Xtrend et8000 (running OoenVix) |
Yep, DreamDroid (and other apps such as VLC, IINA et al) are able to handle a whole sleuth of video formats. Unfortunately, html5 video format support is limited, and can vary per browser vendor. This is a great summary of the state of html5 video codecs: |
Please stop here. Because we start this issue again and again and again. There is no solution right now but maybe later. Transcoding via extra pc/server is not a solution. |
Either way, VXG no longer works on any browser and should be removed from OWIF and the plugins repository. |
If I click on the "Web TV" entry under main the Player frame opens.
This "allows" me to select Channels (to play) and Movies (to Play using VLC or HTML).
Neither of these does anything.
A Firefox Network trace shows no network traffic being sent at all.
In fact, I can't see any evidence of the Play button doing anything.
The Firefox debugger has Click on it bound to this, from
jquery-2.2.4.min.js:137
:but also has Click bound to this from
jquery-2.2.4.min.js:3
(at offset 5542):I'd expect a video to play after clicking "Play".
The text was updated successfully, but these errors were encountered: