Commit graph

3778 commits

Author SHA1 Message Date
Dave Chapman
c7d0335eb1 Add documentation for the rewrite PAT/PMT options 2013-12-01 00:24:26 +00:00
Adam Sutton
b91b414c75 muxer pass: remove stray printf 2013-12-01 00:11:18 +00:00
Dave Chapman
eeaf8aa2c7 Revert to using old PMT generation code in the PMT rewrite case. 2013-12-01 00:11:18 +00:00
Adam Sutton
e4ae172467 muxer pass: some re-org, UI fixup and general tidying of PMT/PAT rewrite
I've made the PAT/PMT rewriting indepedently configured, currently I think
the multi-packet PMT is a limitation we need to look into.
2013-12-01 00:11:18 +00:00
Adam Sutton
3d5b0f22d8 mpegts: don't pass unecessary stream specific PIDs for other streams
This mostly affected the PMTs which were all passed to any service, rather
than just the specific one for the relevant service.
2013-12-01 00:11:17 +00:00
Adam Sutton
cee904bf52 mpegts: ensure PMT PID is stored and that on update service restarts 2013-12-01 00:11:17 +00:00
Dave Chapman
40fb1d1a6a Clean up handing of unsupported PMT/PAT formats 2013-12-01 00:11:17 +00:00
Dave Chapman
c8d1f2390a Remove a debugging printf 2013-12-01 00:11:17 +00:00
Dave Chapman
6df74d3d75 Merge relevant parts of PR#255 to complete the implementation of PAT/PMT passthrough, with the option of rewriting the PAT and PMT so the PAT only contains a reference to the included service, and the PMT only contains references to the included streams. This still needs more work - the PMT PID is being passed to the muxer as zero the first time a channel is streamed after tvh starts, and the PMT rewrite code fails if the PMT spans multiple TS packets 2013-12-01 00:11:17 +00:00
Adam Sutton
7f11eac58a mpegts: remove stray printf! 2013-12-01 00:11:17 +00:00
Adam Sutton
d61c93afb7 mpegts: pass certain PIDs through to the TS muxer
Note: this will probably break the muxer atm, as its not expecting
those packets and will still mux in its own. But its just a start.
2013-12-01 00:11:17 +00:00
Adam Sutton
d1eabea12d iptv: fix lock ordeirng bug 2013-11-30 21:31:31 +00:00
Adam Sutton
fcc97df55c epggrab: fix configuration issues 2013-11-30 14:38:19 +00:00
Adam Sutton
8193c28d0b mpegts: some minor corrections to table extraid in PAT/PMT 2013-11-28 12:21:59 +00:00
Adam Sutton
d25fba8a14 mpegts: stop NIT processing from hanging
Was stupidly returning error (instead of marking complete) when unwanted
NID is detected. This causes real problems on DVB-C, and possibly DVB-S.

Might need to revisit some SDT stuff, which I think was blocking, and
now isn't waiting, for NIT.
2013-11-27 17:50:24 +00:00
Adam Sutton
446e063b0c support: very rough and ready script to multicast TS file for IPTV testing. 2013-11-27 16:34:37 +00:00
Adam Sutton
cea5d3ffac iptv: fix mistakes that stopped UDP/RTP streaming from working. 2013-11-27 16:34:19 +00:00
Adam Sutton
0e7601b140 linuxdvb: remove class delete method
This is redundant and should have been comitted with last IPTV change.
2013-11-25 16:55:23 +00:00
Adam Sutton
08fd5f7af5 iptv: make it possible to delete muxes
Slight restructuring of delete calls to take advantage of existing mpegts_mux
internal delete callback. Though had to fix static mux_instance issue.
2013-11-25 15:12:13 +00:00
Adam Sutton
f0810d1e25 webui: enable state on all idnode based grids 2013-11-25 09:43:18 +00:00
Adam Sutton
6137958b79 http: make line processing dynamic
This overcomes issues caused by long lines, as experienced when enabling
cookies for extjs grid state.
2013-11-25 09:42:50 +00:00
Adam Sutton
eed658ec10 epggrab: move message to debug, to stop startup spam! 2013-11-25 07:21:19 +00:00
Adam Sutton
4848533c21 tvhlog: shut up the Lucid build complaining about un-init var 2013-11-25 07:21:19 +00:00
Adam Sutton
5ef248a00f Merge pull request #305 from manio/master
capmt: do not duplicate subscribed services
2013-11-24 12:35:27 -08:00
Adam Sutton
ccc6e4f58a iptv: added new configuration to allow subs and bandwidth limitations
The bandwidth limit is a soft one, it will stop any new subscriptions if
the peak bandwidth on the current services exceeds the limit. Possibly
this will need a bit of additional averaging in future to stop false
triggers.
2013-11-24 20:34:39 +00:00
Adam Sutton
5fede076db mpegts: add helper function for determining the weight of a mux instance 2013-11-24 20:34:39 +00:00
Adam Sutton
31d0690da2 webui streaming: make weight param universal for all HTTP streaming 2013-11-24 20:34:39 +00:00
Adam Sutton
e71b343bca linuxdvb: move scanfile lines from debug to trace 2013-11-24 20:34:39 +00:00
Adam Sutton
6c25add4e3 iptv: ensure that IPTV network settings are saved 2013-11-24 20:34:39 +00:00
Adam Sutton
e26a202034 support iptv: updated the configure script and Makefile for iptv code 2013-11-24 20:34:39 +00:00
Adam Sutton
d4d92c4217 iptv: re-structure IPTV code, including adding back in IPv6 support
Backends for handling various protocols are now modular. It's not
well tested and I think the APIs could probably be improved/simplified.
2013-11-24 20:34:39 +00:00
Adam Sutton
cf97cbafa7 util iptv: add support for using liburiparser
This is more flexible (it supports IPv6) and almost certainly more robust!
2013-11-24 20:34:39 +00:00
Adam Sutton
dd7ef9e8f9 util iptv: some url processing utilities 2013-11-24 20:34:38 +00:00
Adam Sutton
dd9e58a2e0 http: added new HTTP client code to use CURL
this is being used within IPTV code, and eventually I might make this a bit
more generic so I can use from elsewhere, like imagecache.
2013-11-24 20:34:38 +00:00
Adam Sutton
de84d759cc webui: minor re-ordering of status tabs 2013-11-24 20:34:38 +00:00
Adam Sutton
fe5f076ddd tvhpoll: added support (epoll) for auto-modifying poll entries 2013-11-24 20:34:38 +00:00
John Törnblom
ec4d5f7675 webui: replaced non-working vlc plugin wrapper with the experimental html5 video wrapper. 2013-11-24 15:30:09 +01:00
John Törnblom
9f3a5fa39c html5 streaming: updated to use new HTTP api 2013-11-24 12:58:02 +01:00
Adam Sutton
ef8107e72d Merge pull request #306 from xhaggi/fix-conf-migrate
[migrate] fix property mapping for muxes
2013-11-20 10:20:32 -08:00
xhaggi
3949e50d2b [migrate] fix property mapping for muxes 2013-11-20 19:04:59 +01:00
Mariusz Bialonczyk
3c9e815b08 capmt: do not duplicate subscribed services
descrambler_service_start() was sometimes called multiple times
resulting in duplicate start of capmt server for the same
service.
2013-11-19 16:50:05 +01:00
Adam Sutton
4b3c1dc30f linuxdvb: fix some mistake in previous commits and reduce level of config saving
There was excessive saving as a result of some mistakes in the MPEGTS/DVB code.
2013-11-19 11:42:03 +00:00
Adam Sutton
95a9c3bbf1 linuxdvb: old code would update tuning params even without auto-discovery
This is important for correcting mistakes in the pre-defined configuration
files, and also picking up potential changes (not sure that will quite work).

The one thing that is left untouched is the frequency, a) to not confuse people
and b) I've seen 2 transponders sending slightly diff freq and this can cause
the config to be constantly updated.

The one thing this will also do, for better or worse, is remove an AUTO
settings. Cons are it could be less flexible an tuners may automatically deal
with small changes in settings, Pro's are if you have some tuners that accept
AUTO and some that don't, once its scanned on something that does it will get
updated. Plus its probably better, where possible, to have the full settings.
2013-11-18 09:21:35 +00:00
Adam Sutton
974d5f4cb0 mpegts: remove stray \n from debug message 2013-11-17 20:58:00 +00:00
Adam Sutton
7d8360eddd webui: protection for failures in comet callbacks
Previously it was possible for such an error to result in a total failure of
the comet system.
2013-11-17 20:55:40 +00:00
Adam Sutton
b510e60272 mpegts: ensure ONID/TSID are updated from NIT 2013-11-17 20:51:47 +00:00
Adam Sutton
8acf93a61e Merge remote-tracking branch 'origin/pr/290' 2013-11-16 12:00:04 +00:00
Adam Sutton
6d0a1d08b7 Merge remote-tracking branch 'origin/pr/296' 2013-11-16 11:58:04 +00:00
Adam Sutton
0f01bd7fe8 Merge remote-tracking branch 'origin/pr/297' 2013-11-16 11:55:31 +00:00
Adam Sutton
9e6564bd09 Merge remote-tracking branch 'origin/pr/299' 2013-11-16 11:54:10 +00:00