Opened 11 years ago
Closed 10 years ago
Last modified 10 years ago
#12168 closed Patch - Feature (fixed)
Extend IPTV recorder to support TS streams over HTTP 0.27
Reported by: | Owned by: | paulh | |
---|---|---|---|
Priority: | minor | Milestone: | 0.28 |
Component: | MythTV - Recording | Version: | 0.27-fixes |
Severity: | medium | Keywords: | IPTV, HTTP, DREAMBOX |
Cc: | Ticket locked: | no |
Description
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:
- New HTTPTSStreamHandler class (subclass of IPTVStreamHandler) to enable stream support for Http TS streams.
- 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.
- 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.
- 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.
- 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.
Attachments (2)
Change History (9)
Changed 11 years ago by
Attachment: | iptv_extension_01.patch added |
---|
Changed 11 years ago by
Attachment: | iptv_extension_master_01.patch added |
---|
Patch against current master
comment:2 Changed 11 years ago by
With more MPEG-2 TS via HTTP streams on the Internet some appear to be unrestricted (no GEOIP, so good for testing) e.g. http://x4012c4000.edge.core-cdn.net/40000mb/live/4672family/familytv.ts
comment:3 Changed 10 years ago by
Milestone: | unknown → 0.28 |
---|---|
Owner: | changed from JYA to paulh |
Status: | new → assigned |
comment:4 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 10 years ago by
I've been applying the patch against fixes0.27 plus commit e740947. Have been running this for 2 months now and happily recording IPTV using HTTPTS. Can you apply to fixes0.27 as well?
comment:7 Changed 10 years ago by
For the record: pull request executed and fixes/0.27 works as well.
Patch for fixes/0.27