Open clone1018 opened 1 year ago
I have some thoughts on how we could go about this.
With the former, there can be a trigger to the action of a stream "ending" that should start the process of packing the media into the desired container format. This warrants further discussion about whether we want decouple the "packing into container" process from the waveguide server, treating it as background job per stream. As far as I understand, this process is fallible/interruptable in which case there should be some retry/timeout mechanism to gracefully handle it.
On the other hand, I think there's going to be a lot of needless complexity with the latter approach with little upside unless there's a usecase to have the "packed" media available in real-time i.e. as soon as the stream ends.
wdyt @clone1018
Once we have #10 and #11 we can combine them into a singular playable file which is a recording of the entire stream. Likely wont be easy, lots to figure out!
Need to double check H264 and Opus is a good way to go for actual files...