mirror of
https://github.com/NoCrypt/migu.git
synced 2026-04-05 00:59:49 +00:00
fix: uTP crash hanging torrent client, uTP peers not being preferred
feat: increase video buffer [hopefully]
This commit is contained in:
parent
b079e7978d
commit
6a8d0cbea8
4 changed files with 619 additions and 457 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "Miru",
|
||||
"version": "5.5.8",
|
||||
"version": "5.5.9",
|
||||
"private": true,
|
||||
"author": "ThaUnknown_ <ThaUnknown@users.noreply.github.com>",
|
||||
"description": "Stream anime torrents, real-time with no waiting for downloads.",
|
||||
|
|
|
|||
|
|
@ -12,10 +12,14 @@ const flags = [
|
|||
// safe performance stuff
|
||||
['enable-features', 'PlatformEncryptedDolbyVision,CanvasOopRasterization,ThrottleDisplayNoneAndVisibilityHiddenCrossOriginIframes,UseSkiaRenderer,WebAssemblyLazyCompilation'],
|
||||
['disable-renderer-backgrounding'],
|
||||
// disabling shit, vulkan rendering, widget layering aka right click context menus [I think] for macOS [I think]
|
||||
['disable-features', 'Vulkan,WidgetLayering'],
|
||||
// disabling shit, vulkan rendering, widget layering aka right click context menus [I think] for macOS [I think], rest is for chromium detecting how much video it should buffer, hopefully it makes it buffer more
|
||||
['disable-features', 'Vulkan,WidgetLayering,MediaEngagementBypassAutoplayPolicies,PreloadMediaEngagementData,RecordMediaEngagementScores'],
|
||||
// utility stuff, aka website security that's useless for a native app:
|
||||
['autoplay-policy', 'no-user-gesture-required'], ['disable-notifications'], ['disable-logging'], ['disable-permissions-api'], ['no-sandbox'], ['no-zygote'], ['bypasscsp-schemes']
|
||||
['autoplay-policy', 'no-user-gesture-required'], ['disable-notifications'], ['disable-logging'], ['disable-permissions-api'], ['no-sandbox'], ['no-zygote'], ['bypasscsp-schemes'],
|
||||
// chromium throttles stuff if it detects slow network, nono, this is native, dont do that
|
||||
['force-effective-connection-type', '4G'],
|
||||
// image video etc cache, hopefully lets video buffer more and remembers more images, might be bad to touch this?
|
||||
['disk-cache-size', '500000000']
|
||||
]
|
||||
for (const [flag, value] of flags) {
|
||||
app.commandLine.appendSwitch(flag, value)
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
"webpack": "^5.91.0",
|
||||
"webpack-cli": "^5.1.4",
|
||||
"webpack-dev-server": "^5.0.2",
|
||||
"webtorrent": "^2.4.11"
|
||||
"webtorrent": "^2.5.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@cloudflare/workers-types": "^4.20240222.0",
|
||||
|
|
|
|||
1062
pnpm-lock.yaml
1062
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue