I’m almost sure that it would cost you more than anything, you would need to setup a P2P network using the Discourse server (or a seedbox) as the source of truth or main seeder for all the media.
That seedbox would need to have enough resources to handle one new connection opened by each request as each media file would be a different torrent file. I know WebRTC is pretty good and efficient, but opening a connection is usually the most resource intensive part of a web application.
Unless I’m missing something this would be a not trivial setup and resource intensive one for really active communities.