[mythtv] Feature patch #12168 - Extend IPTV recorder to support TS streams over HTTP

Torbjorn Jansson torbjorn.jansson at mbox200.swipnet.se
Tue Jun 10 18:54:00 UTC 2014


On 2014-06-09 09:52, Lincoln Rogers wrote:
> Hi Devs,
>
> Re: https://code.mythtv.org/trac/ticket/12168
>
> I have created a feature patch for my work extending the IPTV recorder to
> support TS streams over HTTP such as those from a dreambox.
>
> It applies cleanly to fixes/0.27 and I was wondering if there is a
> developer who has some time to look at this as. It requires no new
> dependencies and it extends the IPTVStreamHander class with some other
> small modifications to a number of other classes. It should not affect HLS
> as it differentiates between HLS playlists and video streams.
>
> The only issue I am currently aware of (and would like to discuss) is this:
>
> To differentiate between http-hls and http-ts, I added a enum (rdp, rtp,
> rtsp, http_hls, http_ts) to iptvtuningdata.h. Tuningdata is populated by
> ChannelUtil::GetIPTVTuningData so I added to that to populate it with a
> type.
>
> UDP, RTP, RTSP and HTTP are determined by the URL prefix, 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. Rather than duplicating
> code I have used HLSReader::IsValidPlaylist to test this, but this makes
> channelutil dependent on the HLSReader class. Is this ok?

interesting, i will take a look at this in the near future.
i also made a similar addition for 0.26 but due to the changes in 0.27 
it doesnt work any more and i havent had enough time to understand fully 
how it works now.

i have 2 dvb boxes i can test it with, both based on enigma2


> Additionally, this patch also adds a new Myth System Event for channel lock
> timeout so that a user can specify a script to reboot their stb (mine
> occasionally freezes).

also interesting for the problems i have.
but in my case i also need to figure out how to reset the ca module or 
similar via software so i dont need to physically unplug it and reinsert it.
not sure yet if a reset is enough, possibly i also need to tune to a 
channel.



More information about the mythtv-dev mailing list