Re-add HLS recorder

Multimedia / MythTV - Jean-Yves Avenard [mythtv.org] - 3 June 2013 08:02 UTC

HLS recorder got removed following the IPTV branch merge a few months ago. Re-implement it using new framework Construct it as a derivative of existing IPTV Stream Handler. Extend IPTVChannel so it doesn't close immediately the stream handler. Instead we mark it for deletion and only delete it 5s later, re-use it if we attempt to use it again within that delay. This is done to speed up startup as the HLS ring buffer can take a long time to start, and the signal monitor attempts to close the stream handler causing too much delay.

af0433b Re-add HLS recorder
mythtv/libs/libmythtv/iptvtuningdata.h | 12 +-
mythtv/libs/libmythtv/libmythtv.pro | 5 +-
.../libs/libmythtv/recorders/hlsstreamhandler.cpp | 164 ++++++++++++++++++++
mythtv/libs/libmythtv/recorders/hlsstreamhandler.h | 47 ++++++
mythtv/libs/libmythtv/recorders/iptvchannel.cpp | 135 +++++++++++++---
mythtv/libs/libmythtv/recorders/iptvchannel.h | 17 +-
6 files changed, 349 insertions(+), 31 deletions(-)

Upstream: github.com


  • Share