6 Commits
Author SHA1 Message Date
shinyobjectz ebd147a076 The desktop app keeps its localStorage across launches, and a page reads it before its code runs (Shane, 11-09: the open workspace and Getting started's Hide were lost on every quit).
raea.app never set BEVY_TSX_STORAGE, so raea-io-net-calls refused net.storage.* and storage stayed in the window's memory (the launcher half is in raea-platform). With it set, a page still read its settings before the kept values came back, as net.storage.get was only asynchronous, and an app saving its settings on load (apps/app settings/store.tsx) would write its defaults over them. net.storage.get is now a synchronous host call too (raea_io_net_calls::storage_get, registered by raea-runtime-js net.rs install), and sdk/ui's storage.ts fills localStorage from it at load, falling back to the asynchronous answer on a host without it. Test: raea-runtime-js net::tests::kept_storage_answers_synchronously.
2026-11-09 12:42:59 -08:00
shinyobjectz ffd2738dcc A <Video> whose src is an http(s) URL plays it, fetched once into raea's URL cache (closes #57)
core/scene's media_path joined an https src to the composition's folder, so a remote clip was refused as
"<dir>/https:/…: no video track" (seven snapcn components in #13: hero-launch, laptop-frame, phone-frame,
phone-stack, reel-collage, reel-wall, screen-recording).

raea_io_net::cache::remote(src) gives an http(s) src's file through cache::fetch (keyed by the URL, which is in
the composition's source, so a render stays a function of its code; under $RAEA_CACHE beside the render cache)
and None for a file. The page's video elements, the export's sounds and live play's video list ask it first.
A src that can't be fetched refuses the frame saying why: "video <url>: HTTP 404 Not Found", or "(not in
raea's cache): not sent, because RAEA_OFFLINE is set". The cache's status errors no longer name the URL twice.

bench/remote-media/check.sh: a local server's red clip plays (centre 252,0,0), plays again offline from the
cache, an uncached URL offline refuses, a 404 refuses with its status. Before: all four read the URL as a path.
laptop-frame (snapcn) renders its remote clip, 240 frames at 7.0 ms a frame.
2026-11-08 10:34:24 -08:00
shinyobjectz 88ccb8284d raea 2e9eda9fa 2026-11-06 18:08:53 -08:00
shinyobjectz 5e1c192d29 raea 9565b5f97 2026-11-06 16:27:57 -08:00
shinyobjectz 1dff4f0aa8 raea e699cf684509a8bbada118cc302c56e99065a680 2026-11-05 17:19:37 -08:00
shinyobjectz f675b0ad2b raea dc579e418 2026-10-31 13:15:29 -07:00