Commit Graph

242 Commits

Author SHA1 Message Date
Ben Menesini f27e940c7b use xvfb-maybe in start-local-ci 2024-05-08 02:31:07 +00:00
Ben Menesini fd3654f006 Use xvfb-maybe to build 2024-05-08 02:25:39 +00:00
Ben Menesini 246b2e08c4 Update test.yml 2024-05-07 19:20:39 -07:00
Ben Menesini e8544a4cc2 Add xvfb-maybe for actions 2024-05-08 02:10:30 +00:00
Ben Menesini dfe87755f7 Update package.json 2024-05-07 19:04:48 -07:00
Ben Menesini 96972ef43c Update test.yml 2024-05-07 19:04:17 -07:00
Ben Menesini 15b002e5a0 Update test.yml 2024-05-07 19:00:28 -07:00
Ben Menesini 9e0938a3d4 Update test.yml 2024-05-07 18:57:58 -07:00
Ben Menesini 5fc22ce5f5 Update test.yml 2024-05-07 18:56:26 -07:00
Ben Menesini 26b4f9b9b3 Update test.yml 2024-05-07 18:55:44 -07:00
sayhiben 22a9c9fe94 Guess at a list of necessary dependencies I found ? 2024-05-05 20:31:32 -07:00
sayhiben 0125bec77d Try starting the app prior to running tests 2024-05-05 20:11:34 -07:00
sayhiben 8d937161e0 Debug logging 2024-05-05 20:04:05 -07:00
Ben Menesini 6977045f26 Create dependabot.yml 2024-05-05 19:12:54 -07:00
Max Goodhart d9688a7bff Update node version used for tests 2023-04-14 22:29:37 -07:00
Max Goodhart a581ba2c6f Quick and dirty mass dependency update 2023-04-14 22:22:37 -07:00
Max Goodhart 5c10e7fc82 Add TikTok icon 2022-06-24 23:22:34 -07:00
Max Goodhart 9de3ffd1e2 Add playHLS files 2022-06-05 15:35:23 -07:00
Max Goodhart fd75dba562 Add support for playing HLS m3u8/m3u URLs 2022-06-05 14:19:53 -07:00
Max Goodhart bd1dc48574 Display streamdelay stream duration 2022-06-05 14:19:25 -07:00
Max Goodhart e7bd4a674c Update electron to fix Let's Encrypt cert validation 2021-11-19 12:35:11 -08:00
Max Goodhart 13fe2a0dac Fix start-local settings to match README 2021-05-04 22:08:27 -07:00
Max Goodhart e961bc21b7 Add handling for insta's tap to play interstitial 2021-03-06 21:32:44 -08:00
Max Goodhart 441897ad3e Remove default stream list endpoint 2020-12-19 22:54:25 -08:00
Max Goodhart dbe63c6aef Fix streams starting out with audio muted 2020-11-13 18:48:00 -08:00
Max Goodhart 68c16f3d50 Fix overlay crash on undefined stream data 2020-11-13 18:45:16 -08:00
Max Goodhart 524bcb5ed1 Fix overflow of overlay labels 2020-11-13 01:38:45 -08:00
Max Goodhart cc74cf6518 Add labelPosition parameter to control overlay label corner 2020-11-13 00:19:06 -08:00
Max Goodhart db00bb2fe6 Update role names in control page checks 2020-11-12 01:24:45 -08:00
Max Goodhart ff4be9080b Fix action names for operator role 2020-11-12 01:19:47 -08:00
Max Goodhart e10507780e Don't remove view from onscreen window when reloading
I'm observing that when a BrowserView is removed from the main window
and added to the offscreenView, it loses visibility state and RAFs no
longer execute. This prevents the subsequent video load from succeeding
on some sites like Twitch. As a workaround, we'll no longer offscreen the
view when reloading. This means the view may linger onscreen for a
moment, and potentially if there are issues loading there might be
glitches onscreen. I'd like to find a better solution for moving the
view offscreen in the future and keeping it rendering.

If this causes disruptive glitches, we could either:

- Remove and recreate the view on reload (wasteful, ensures clean
starts)

- Size the view down to 1x1 pixels so it is barely visible (could this
interfere with responsive designs?)
2020-11-12 01:05:14 -08:00
Max Goodhart a25d2211cd Update view cleanup code (destroy method was removed from electron) 2020-11-12 00:24:24 -08:00
Max Goodhart d890c6750e Bump to Electron 11 beta
Electron 10 (and 9?) had glitchy behavior where some BrowserViews would
stop painting when the overlay view was removed and re-added.
2020-11-12 00:23:19 -08:00
Max Goodhart 17f2d80282 Time out videos taking too long to start 2020-11-12 00:13:33 -08:00
Max Goodhart 6312081477 Ensure offscreen window sized to full stream dimensions 2020-11-12 00:06:55 -08:00
Max Goodhart 356d84dfc6 Add media preload logging 2020-11-12 00:06:27 -08:00
Max Goodhart 9ba7dc564b Set bounds after adding BrowserView
Otherwise apparently the view won't display.
2020-11-11 23:54:50 -08:00
Max Goodhart c1b9d46fa7 Skip unnecessary view re-positions 2020-11-11 23:39:52 -08:00
Max Goodhart 7f2868e0ae Fix incorrect display options lookup 2020-11-11 23:27:44 -08:00
Max Goodhart a8f01fa3b2 Apply rotation on initial load 2020-11-11 23:12:25 -08:00
Max Goodhart d30fc8e4d7 Clarify comment 2020-11-11 22:58:58 -08:00
Max Goodhart 4648a07e15 Update bounds before adding BrowserView to window 2020-11-11 22:30:52 -08:00
Max Goodhart 6ea529c26f Remove redundant render in offscreen win when positioning 2020-11-11 22:30:05 -08:00
Max Goodhart 8df7dab144 Fix Periscope autoplay by waiting for button to exist 2020-11-11 22:23:57 -08:00
Max Goodhart 07619eaee7 Bump babel electron target ver 2020-11-11 21:54:10 -08:00
Max Goodhart 62ad3a5cbf Resolve FIXME 2020-11-11 21:47:25 -08:00
Max Goodhart 18bdae3b16 Force BrowserView visibility to start visible
This fixes Twitch videos not loading on the offscreen window.
2020-11-11 21:45:40 -08:00
Max Goodhart 531bfa1756 Size offscreen window to match main window
This should hopefully help preload videos with appropriate quality.
2020-11-11 21:44:54 -08:00
Max Goodhart 8dde079bd0 Preload videos with full viewport size
Hopefully this will cause them to load with higher quality settings.
2020-11-11 11:54:48 -08:00
Max Goodhart 1d2d961982 Remove unused / noop offscreen rendering
At one point I think this might have helped make pages treated as
"visible" when added to the window, but it doesn't seem to have any
effect.
2020-11-11 00:00:56 -08:00