"/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.
Created attachment 445107 [details] Patch
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].
<rdar://problem/85748939>