[mythtv-commits] Ticket #12168: Extend IPTV recorder to support TS streams over HTTP 0.27

MythTV noreply at mythtv.org
Mon Jun 9 07:27:57 UTC 2014


#12168: Extend IPTV recorder to support TS streams over HTTP 0.27
------------------------------------+----------------------------------
     Reporter:  lincoln@…           |      Owner:  jyavenard
         Type:  Patch - Feature     |     Status:  new
     Priority:  minor               |  Milestone:  unknown
    Component:  MythTV - Recording  |    Version:  0.27-fixes
     Severity:  medium              |   Keywords:  IPTV, HTTP, DREAMBOX
Ticket locked:  0                   |
------------------------------------+----------------------------------
 Hi

 I have made a feature patch against fixes/0.27 that adds IPTV support to
 http transport streams. This enables direct support with a DM500 Dreambox
 (Enigma 1) but should work with many stb's.

 The patch changes the following:

 1. New HTTPTSStreamHandler class (subclass of IPTVStreamHandler) to enable
 stream support for Http TS streams.

 2. Extend iptvtuningdata to include a protocol type for udp, rtp, rtsp,
 http_hls, http_ts. This is used to determine the type of stream handler to
 use and differentiates between http-hls and http-ts.

 3. Extend ChannelUtil::GetIPTVTuningData to include setting the protocol
 type (above) in iptvtuningdata. UDP, RTP, RTSP and HTTP are determined by
 the URL name, and HLS and TS are differentiated by downloading a limited
 sample of the URL to check if it is an HLS playlist or a HTTP_TS video
 stream.

 4. Extend MythSingleDownload to support a maximum file size limit. Without
 this, if the URL from (3) is a video stream and not a playlist then the
 download would not terminate until the 30 second timeout. Limiting file
 size solves this problem and still allows accurate testing for a playlist.


 5. Extend tv_rec to include a new system event for Tuning Timeout. This
 allows user to run a script to reboot the STB in the event that the
 channel lock fails due to the stb freezing.


 This patch is succeeds #11487.

--
Ticket URL: <https://code.mythtv.org/trac/ticket/12168>
MythTV <http://www.mythtv.org>
MythTV Media Center


More information about the mythtv-commits mailing list