Interesting use case. You definitely don’t want to stop Discourse from offloading any posts, as this is core functionality intended to prevent browser crashes and computers catching on
and such.
But maybe it’d be possible to prevent a single post from being offloaded, while ditching the rest like normal.
Another possible way to solve this might be to prevent only the music player from being unloaded, conserving that stream somehow.