]>
git.ipfire.org Git - thirdparty/tvheadend.git/log
Damjan Marion [Fri, 16 May 2014 20:37:39 +0000 (22:37 +0200)]
build: autodetect platform
Jaroslav Kysela [Thu, 15 May 2014 06:00:02 +0000 (08:00 +0200)]
IPTV: fix http recv buffer size typo
Jaroslav Kysela [Wed, 14 May 2014 21:12:57 +0000 (23:12 +0200)]
httpc fixes: end of stream & redirection poll
Jaroslav Kysela [Wed, 14 May 2014 21:10:59 +0000 (23:10 +0200)]
IPTV: add configurable stream timeout
Jaroslav Kysela [Wed, 14 May 2014 18:47:38 +0000 (20:47 +0200)]
muxer: Use fdatasync() instead fsync() to reduce I/O
Jaroslav Kysela [Wed, 14 May 2014 16:16:47 +0000 (18:16 +0200)]
SAT>IP: Add new options to the help text
Jaroslav Kysela [Wed, 14 May 2014 12:45:10 +0000 (14:45 +0200)]
mux create: do not update mux parameters from multiple origin muxes (nit)
NIT data:
mux: '12109H' : dvb-s2 pos 235E freq
12129000 V sym 275000 fec 2/3 mod 8PSK roff 20
mux: '11739V' : dvb-s2 pos 235E freq
12129000 V sym 275000 fec 2/3 mod 8PSK roff 25
This change avoids the frequent automatic parameter changes using
the origin (first hit) mux which broadcasted the data. The origin
mux is locked for 24 hours from the last update.
Jaroslav Kysela [Wed, 14 May 2014 12:29:38 +0000 (14:29 +0200)]
SAT>IP: fix the full mux streaming outside tvh
Jaroslav Kysela [Wed, 14 May 2014 09:08:17 +0000 (11:08 +0200)]
Do not trust tsid in the NIT mux delivery descriptor
Reason:
Thor 0.8W
onid 1111 (4369) tsid 000B (11)
dvb-s pos 8W freq
12090000 H sym 280000 fec 7/8 mod QPSK roff 35
onid 1111 (4369) tsid 0063 (99)
dvb-s pos 8W freq
12092000 H sym 280000 fec 7/8 mod QPSK roff 35
The frequency is same for DVB-S tuners, but tsid in other tables is 11.
Jaroslav Kysela [Wed, 14 May 2014 08:29:37 +0000 (10:29 +0200)]
dvb network: improve satellite position check for auto discovery
Jaroslav Kysela [Wed, 14 May 2014 07:31:18 +0000 (09:31 +0200)]
SAT>IP: improve mux stop
Jaroslav Kysela [Wed, 14 May 2014 06:48:57 +0000 (08:48 +0200)]
Do not accept new muxes from different satellite positions in dvb network
Jaroslav Kysela [Wed, 14 May 2014 06:35:04 +0000 (08:35 +0200)]
epggrab: tuning and optimizations
- reduce timeout value for nit to 240
- increase interval value for nit to 3600
- process all waiting muxes in one shot
- add the grace value for satellite positioners
Jaroslav Kysela [Tue, 13 May 2014 14:09:13 +0000 (16:09 +0200)]
Fixes for the network scan
- improve dvb_network_find_mux() to better distinguish
the different muxes
- ensure that the new mux matches the network type
Jaroslav Kysela [Mon, 12 May 2014 15:20:19 +0000 (17:20 +0200)]
SAT>IP: Use any UDP port for the UPnP client responses
Jaroslav Kysela [Mon, 12 May 2014 14:04:36 +0000 (16:04 +0200)]
SAT>IP: OctopusNet - force a delay after teardown
Jaroslav Kysela [Mon, 12 May 2014 13:52:26 +0000 (15:52 +0200)]
SAT>IP: Send M-SEARCH request three times
Jaroslav Kysela [Mon, 12 May 2014 13:29:37 +0000 (15:29 +0200)]
SAT>IP: Add USER-AGENT to the M-SEARCH query
Jaroslav Kysela [Mon, 12 May 2014 13:26:39 +0000 (15:26 +0200)]
SAT>IP: Serialize the tuning - configurable delay
Jaroslav Kysela [Sun, 11 May 2014 15:16:27 +0000 (17:16 +0200)]
SAT>IP: Fix the --satip_xml parameter (local IP address)
Jaroslav Kysela [Thu, 8 May 2014 21:15:43 +0000 (23:15 +0200)]
dvb support: fix the pilottab[] - none
Jaroslav Kysela [Thu, 8 May 2014 21:15:09 +0000 (23:15 +0200)]
SAT>IP: rtsp - fix the value fraction
Jaroslav Kysela [Thu, 8 May 2014 20:41:44 +0000 (22:41 +0200)]
Fix the memory leak in the udp multirecv
perexg [Wed, 7 May 2014 15:32:12 +0000 (17:32 +0200)]
Merge pull request #382 from VittGam/channelname
Restored ability to subscribe to a channel via HTTP using the channel name.
perexg [Wed, 7 May 2014 15:26:28 +0000 (17:26 +0200)]
Merge pull request #383 from scooter1556/master
Check manual priority of adapter before weighting.
Jaroslav Kysela [Wed, 7 May 2014 15:22:25 +0000 (17:22 +0200)]
Merge PR#385 - Freebsd fixes
Nicolas Gilles [Thu, 1 May 2014 06:53:00 +0000 (08:53 +0200)]
replaced a strdupa with a variable length array
Nicolas Gilles [Tue, 29 Apr 2014 17:35:09 +0000 (19:35 +0200)]
add qsort_r wrapper to fix differences between BSD and GNU qsort_r
The order of parameters of both qsort_r and its compar function differ,
the wrapper matches the GNU version and swaps things around on FreeBSD.
Jaroslav Kysela [Wed, 7 May 2014 13:11:55 +0000 (15:11 +0200)]
IPTV: Add missing url structure initialization
Jaroslav Kysela [Wed, 7 May 2014 12:32:08 +0000 (14:32 +0200)]
This is merge of PR#341 (esfilter) and PR#369 (SAT>IP)
Jaroslav Kysela [Fri, 7 Mar 2014 07:39:00 +0000 (08:39 +0100)]
Add esfilter (elementary stream filter)
Some feeds (especially from satellite) includes many language mutations
and other elementary streams. It may be useful to define the filters and
order scheme for the streaming and DVR.
The service information dialog is extended to show all PIDs and filtered
PIDs to easy show the used PIDs.
See the included help file for more description.
Jaroslav Kysela [Wed, 23 Apr 2014 18:55:28 +0000 (20:55 +0200)]
SAT>IP: Add --satip_xml option to reach tuners behind routers or local blocked UPnP ports
Jaroslav Kysela [Wed, 23 Apr 2014 11:54:30 +0000 (13:54 +0200)]
SAT>IP: Remove the full mux option like in linuxdvb
Jaroslav Kysela [Wed, 23 Apr 2014 07:31:23 +0000 (09:31 +0200)]
SAT>IP: Add Help button to the TV adapters.
Jaroslav Kysela [Tue, 22 Apr 2014 15:18:25 +0000 (17:18 +0200)]
udp + SAT>IP: better multipacket handling
- improve the recvmmsg() user space implementation
- some changes which may improve operation under high-loads
Jaroslav Kysela [Tue, 22 Apr 2014 13:20:24 +0000 (15:20 +0200)]
SAT>IP: Fix the forced full mux per tuner
Jaroslav Kysela [Tue, 22 Apr 2014 09:08:43 +0000 (11:08 +0200)]
SATIP: Try to improve the uncorrectable error counter
Jaroslav Kysela [Sun, 20 Apr 2014 21:04:15 +0000 (23:04 +0200)]
SAT>IP: Added octopusnet hack for DVB-S
Jaroslav Kysela [Sun, 20 Apr 2014 11:10:59 +0000 (13:10 +0200)]
SAT>IP: DVB-S setup - pass only configured parameters (fec, rolloff, pilot)
Jaroslav Kysela [Sat, 19 Apr 2014 20:52:50 +0000 (22:52 +0200)]
SAT>IP: Add possibility to define master/slave tuners
The signal from the standard universal LNB can be split using
a simple coaxial splitter (no multiswitch) to several outputs.
In this case, the position, the polarization and low-high band
settings must be equal.
This code adds the master/slave configuration option in the
tuner settings and does the tuner arbitration to preserve
above settings.
Ideally, this arbitration and configuration may be moved to
the generic dvbs input class in future, because all dvb-s
adapters can be wired in this way, but it's more complicated.
Jaroslav Kysela [Sat, 19 Apr 2014 17:19:16 +0000 (19:19 +0200)]
SAT>IP: Fix bad memory access (wrong char array dimension)
Jaroslav Kysela [Fri, 18 Apr 2014 21:41:20 +0000 (23:41 +0200)]
udp: create multirecv interface
Jaroslav Kysela [Fri, 18 Apr 2014 20:55:15 +0000 (22:55 +0200)]
SAT>IP: Fix the weight callback to not block multiple tuners
Jaroslav Kysela [Fri, 18 Apr 2014 19:55:33 +0000 (21:55 +0200)]
SAT>IP: Move RTP/RTCP UDP bind to udp.c
Jaroslav Kysela [Fri, 18 Apr 2014 15:05:11 +0000 (17:05 +0200)]
SAT>IP : Fix satip_frontend_is_free..
Jaroslav Kysela [Thu, 17 Apr 2014 21:28:56 +0000 (23:28 +0200)]
upnp: use data.ptr instead data.u64 for poll events
Jaroslav Kysela [Thu, 17 Apr 2014 20:12:04 +0000 (22:12 +0200)]
SAT>IP: Added OctopusNet pids hack
Jaroslav Kysela [Thu, 17 Apr 2014 07:35:21 +0000 (09:35 +0200)]
scanfile: fix a memory leak
Jaroslav Kysela [Wed, 16 Apr 2014 20:48:41 +0000 (22:48 +0200)]
urlparser: Fixes in URIPARSER
Jaroslav Kysela [Wed, 16 Apr 2014 20:33:02 +0000 (22:33 +0200)]
SAT>IP: Add the possibility to override tuner type (DVB-T <-> DVB-C)
Jaroslav Kysela [Wed, 16 Apr 2014 17:29:37 +0000 (19:29 +0200)]
http client: fix the error code passed to conn_closed callback
Jaroslav Kysela [Wed, 16 Apr 2014 17:17:28 +0000 (19:17 +0200)]
http client: allow HTTP 1.1 to HTTP 1.0 switch
Jaroslav Kysela [Wed, 16 Apr 2014 16:16:34 +0000 (18:16 +0200)]
udp: fix the bad getaddrinfo call
Jaroslav Kysela [Wed, 16 Apr 2014 16:09:28 +0000 (18:09 +0200)]
SAT>IP: Add support for kernels before 2.6.33
Jaroslav Kysela [Wed, 16 Apr 2014 15:57:56 +0000 (17:57 +0200)]
SAT>IP : Add preliminary DVB-C code
Jaroslav Kysela [Wed, 16 Apr 2014 15:32:04 +0000 (17:32 +0200)]
http client: Fix some compilation errors
Jaroslav Kysela [Wed, 16 Apr 2014 09:37:18 +0000 (11:37 +0200)]
SAT>IP define the recvmmsg syscall for some libc implementations
Jaroslav Kysela [Wed, 16 Apr 2014 09:10:05 +0000 (11:10 +0200)]
Fix the compilation error for URIPARSER
Jaroslav Kysela [Wed, 16 Apr 2014 07:06:47 +0000 (09:06 +0200)]
IPTV: tune the http client settings
- increase the chunk size to 128KB
- allow HTTP redirects
Jaroslav Kysela [Tue, 15 Apr 2014 17:35:12 +0000 (19:35 +0200)]
Rewrite imagecache to use build-in http client (remove curl)
- add the basic SSL peer certificate verification
Jaroslav Kysela [Tue, 15 Apr 2014 15:30:47 +0000 (17:30 +0200)]
Move RTSP common code from SAT>IP to the common place
Jaroslav Kysela [Mon, 14 Apr 2014 19:42:12 +0000 (21:42 +0200)]
Add build-in http client
- supports SSL
- supports location redirections
- supports chunked data transfers
- supports HTTP/1.0 HTTP/1.1 and RTSP/1.0
Jaroslav Kysela [Wed, 9 Apr 2014 18:30:44 +0000 (20:30 +0200)]
Make URL parser more dynamic
Jaroslav Kysela [Wed, 9 Apr 2014 18:11:12 +0000 (20:11 +0200)]
tvhpoll - use data.ptr instead data.u64 in http_client.c and satip_frontend.c
Jaroslav Kysela [Wed, 9 Apr 2014 16:21:51 +0000 (18:21 +0200)]
Improve the SAT>IP RTSP implementation
Jaroslav Kysela [Wed, 9 Apr 2014 16:21:07 +0000 (18:21 +0200)]
Prevent SIGSEGV when bind to the TCP socket fails
Jaroslav Kysela [Wed, 9 Apr 2014 17:54:02 +0000 (19:54 +0200)]
tvhlog - do not queue messages when log is not running
Jaroslav Kysela [Wed, 9 Apr 2014 17:52:23 +0000 (19:52 +0200)]
Add SAT>IP support (remote network tuners)
Jaroslav Kysela [Wed, 9 Apr 2014 17:47:24 +0000 (19:47 +0200)]
URL parser fixes
Jaroslav Kysela [Wed, 9 Apr 2014 17:35:21 +0000 (19:35 +0200)]
http client fixes (curl based)
- check the private u64 value rather than fd (gdb problems)
- move the run call outside the connect routine (locking issues)
- try to fix more leaks (PR_Cleanup)
Jaroslav Kysela [Wed, 9 Apr 2014 17:30:13 +0000 (19:30 +0200)]
Add basic support for the UPnP protocol (client)
Jaroslav Kysela [Wed, 9 Apr 2014 17:28:16 +0000 (19:28 +0200)]
Reorganize the UDP code from IPTV to the shared location
perexg [Mon, 5 May 2014 19:25:23 +0000 (21:25 +0200)]
Merge pull request #379 from perexg/service-info-caid
Show the CAIDs in hex in the service info dialog plus add the provider
perexg [Mon, 5 May 2014 19:25:04 +0000 (21:25 +0200)]
Merge pull request #377 from perexg/pid-filter
Optimize the PIDs filtering
perexg [Mon, 5 May 2014 19:24:09 +0000 (21:24 +0200)]
Merge pull request #375 from perexg/mux-create
Improve the mux create routine to handle the unset and auto values
perexg [Mon, 5 May 2014 19:21:53 +0000 (21:21 +0200)]
Merge pull request #370 from perexg/uninitialized
Fix the uninitialized variable access detected by valgrind
perexg [Mon, 5 May 2014 19:21:18 +0000 (21:21 +0200)]
Merge pull request #378 from perexg/init-fix
Fix the missing ccerr initialization in ts_recv_packet0
Adam Sutton [Thu, 1 May 2014 21:14:43 +0000 (22:14 +0100)]
docs: updating general docs
Adam Sutton [Wed, 30 Apr 2014 21:30:18 +0000 (22:30 +0100)]
tcp: minor correction to avoid GCC warnings about type aliasing
Scott [Sun, 27 Apr 2014 17:44:32 +0000 (18:44 +0100)]
Check manual priority of adapter before interface weighting so that priority settings are obeyed.
VittGam [Sun, 27 Apr 2014 15:02:04 +0000 (17:02 +0200)]
Restored ability to subscribe to a channel using the channel name. Syntax: http://host:port/stream/channelname/<chname> and http://host:port/playlist/channelname/<chname>
Jaroslav Kysela [Wed, 23 Apr 2014 20:18:50 +0000 (22:18 +0200)]
Show the CAIDs in hex in the service info dialog plus add the provider number
Jaroslav Kysela [Wed, 23 Apr 2014 15:03:39 +0000 (17:03 +0200)]
Fix the missing ccerr initialization in ts_recv_packet0
Jaroslav Kysela [Wed, 23 Apr 2014 10:50:18 +0000 (12:50 +0200)]
Optimize the PIDs filtering
- only used CA PIDs are opened
- all PMT PIDs are opened only at the initial scan
The SAT>IP boxes have limited count of PIDs filters (and probably some
linuxdvb hardware too), so try to use these resources better.
Jaroslav Kysela [Wed, 23 Apr 2014 11:22:18 +0000 (13:22 +0200)]
Partial revert of "mpegts: add PMT monitoring option"
- removed the pmtmon option
- kept the PMT table handling for given service
Adam Sutton [Tue, 22 Apr 2014 23:41:27 +0000 (00:41 +0100)]
webui: added service stream details dialog (fixes #2006)
Adam Sutton [Tue, 22 Apr 2014 22:32:23 +0000 (23:32 +0100)]
api service: add new routine for requesting stream info
Adam Sutton [Tue, 22 Apr 2014 21:24:26 +0000 (22:24 +0100)]
iptv: fix stupid error causing IPTV systems to fail (fixes #2067)
This occured where the IPTV system was using small packets (7 pkts
is pretty normal since it always fits in most IP datagrams)
unfortunately all my testing had been with custom generator script
that used much larger packets.
Adam Sutton [Tue, 22 Apr 2014 13:04:17 +0000 (14:04 +0100)]
tsdemux: hack for PCR extraction now PMT monitoring is disabled
Probably should just force PMT monitoring on for tsfile input and
only extract PCR from "known" good PID. However I've found in
practice the "real" PCR streams are typically video streams that
also include payload. So this hack works for now.
Adam Sutton [Tue, 22 Apr 2014 13:02:56 +0000 (14:02 +0100)]
mpegts: add PMT monitoring option
PMT monitoring is currently disabled by default, need to decide whether
this is the correct behaviour. This should help low performance tuners.
Fixes #1986
Adam Sutton [Tue, 22 Apr 2014 09:01:09 +0000 (10:01 +0100)]
mpegts: some minor changes to init / shutdown to avoid pointless errors
Adam Sutton [Tue, 22 Apr 2014 08:59:53 +0000 (09:59 +0100)]
http: attempt to remove pointless errors on shutdown
This is still not foolproof and I'm not 100% convinced there couldn't be an
error (including crash?) on shutdown.
Adam Sutton [Tue, 22 Apr 2014 08:19:09 +0000 (09:19 +0100)]
linuxdvb: remove full mux rx mode
There is currently no use for this feature in TVH, it was only ever added as
a means of getting internal table filtering going and with the idea of some
caching feature that's never materialised. However enabling on low performance
devices can often cause problems, so until there is a genuine use I'm removing
confusion.
Adam Sutton [Tue, 22 Apr 2014 08:16:54 +0000 (09:16 +0100)]
mpegts: add missing mux get_title routine, fixes #2071
Jaroslav Kysela [Tue, 18 Mar 2014 19:13:48 +0000 (20:13 +0100)]
eit.c: move invalid tsid messages from tvhwarn() to tvhtrace()
Adam Sutton [Mon, 21 Apr 2014 22:34:38 +0000 (23:34 +0100)]
http: remove multi-/ from URL when searching for paths (fixes #1764)
Adam Sutton [Mon, 21 Apr 2014 21:31:30 +0000 (22:31 +0100)]
mpegts: attempt to avoid unecessary reporting of CRC failure on CC error
I've also hidden the PSI CC error output, put in debug, so it doesn't flood
logs and generally annoy people.
Adam Sutton [Mon, 21 Apr 2014 21:29:31 +0000 (22:29 +0100)]
tsfile: fix problem with ts-resync on end of file
Actually this is a more general re-sync bug, it's possible that a loss of
sync could end up being terminal.
Adam Sutton [Mon, 21 Apr 2014 20:22:50 +0000 (21:22 +0100)]
mpegts cwc: re-add configuration for prefcapid (fixes #2001)
Adam Sutton [Mon, 21 Apr 2014 20:10:07 +0000 (21:10 +0100)]
linuxdvb: add missing list spec to EN50494 network entries (fixes #2033)