go-livepeer
go-livepeer copied to clipboard
dms-api: Add stream cleanup after timeout
We should introduce a mechanism for cleaning up streams from:
- Stream Cache
- Mist
Otherwise, in case any issues with the stream Upload/Transcoding, we may end up with a number of streams created in Mist and in our Stream Cache.
I think we should agree on some timeout for the stream processing and after the timeout is reached, we clean up Mist and Stream Cache, the same way it's already done after receiving the Push End trigger.