Bug 233477

Summary: [GStreamer][WPE] Use WPE_SHELL_MEDIA_DISK_CACHE_PATH env var to customize media disk cache path
Product: WebKit Reporter: Enrique Ocaña <eocanha>
Component: MediaAssignee: Enrique Ocaña <eocanha>
Status: RESOLVED FIXED    
Severity: Normal CC: calvaris, cgarcia, eric.carlson, ews-watchlist, glenn, gustavo, jer.noble, menard, philipj, pnormand, sergio, vjaquez, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Enrique Ocaña
Reported 2021-11-24 11:46:06 PST
"/var/tmp" isn't always the best place to store the media download cache generated by GstDownloadBuffer on embedded platforms. Each of those downloads can hold up to a whole movie (Gigabytes) and "/var/tmp" is sometimes a memory based tmpfs. Some way to control the cache path is needed. Metrological has been successfully using an environment variable for that purpose downstream since 2018. If that implementation is upstreamed, other WPE users can benefit from it.
Attachments
Patch (2.58 KB, patch)
2021-11-24 13:00 PST, Enrique Ocaña
no flags
Enrique Ocaña
Comment 1 2021-11-24 13:00:55 PST
EWS
Comment 2 2021-11-25 04:34:12 PST
Committed r286166 (244549@main): <https://commits.webkit.org/244549@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 445107 [details].
Radar WebKit Bug Importer
Comment 3 2021-11-25 04:35:22 PST
Note You need to log in before you can comment on or make changes to this bug.