Very cool. Peertube supports remote runners [1] [2], might take a look for inspiration. As a distributed compute enthusiast, big fan of of this model for media processing.
[1] https://docs.joinpeertube.org/maintain/tools#peertube-runner
[1] https://docs.joinpeertube.org/maintain/tools#peertube-runner
My usecase is just-in-time media transcoding, I'll see if PeerTube remote runners support it