Closed wlerin closed 6 months ago
First order of business will be to implement and test an ffmpeg HLS fallback to be used automatically if no RTMP stream is found. Also defaulting to a TS container for raw recordings rather than MP4 to minimise unusable outputs (a recurring issue last time I tried using FFmpeg with Showroom's HLS).
Remedied with b7f82ce2ec317fbf0d6dae0869161ced6b337013, though when comparing recordings from rtmp and hls, the rtmp continues on a little longer, and fills any gaps in the stream better. This may be an unavoidable consequence of the switch, however.
On September 17th, Showroom will end support for the Flash player. This will most likely also kill the rtmp endpoint, and may change other aspects of the API.
In order to be prepared for this, it is crucial to implement a working HLS download option, ideally one that will be automatically activated if/when the RTMP stream stops being available.
Previous attempts at doing so either using FFmpeg or pure Python were unstable, unreliable, and consumed too many resources. May be necessary to investigate an asynchronous solution.