1
0
mirror of https://github.com/rofafor/vdr-plugin-satip.git synced 2023-10-10 13:37:42 +02:00
Commit Graph

238 Commits

Author SHA1 Message Date
Rolf Ahrenberg
4b714196f3 Added a SCAN command into the SVDRP interface. 2014-12-18 00:25:01 +02:00
Rolf Ahrenberg
9cace319a3 Reformatted some info messages. 2014-12-16 23:09:31 +02:00
Rolf Ahrenberg
01d2afcfc2 Fixed reconnection. 2014-12-16 23:09:14 +02:00
Rolf Ahrenberg
8ea561a021 Fixed the default logging mode in a DEBUG build. 2014-12-16 22:00:22 +02:00
Rolf Ahrenberg
d23578cea9 Fixed a race condition while updating pids. 2014-12-14 22:09:18 +02:00
Rolf Ahrenberg
629c4ff378 Renamed threads and ringbuffers. 2014-12-14 21:39:13 +02:00
Rolf Ahrenberg
2d997b3fdd Added RTCP packet logging. 2014-12-14 19:22:52 +02:00
Rolf Ahrenberg
7f9d016b52 Deduplicated pid listings. 2014-12-14 17:54:37 +02:00
Rolf Ahrenberg
778f3bd84a Preliminary documentation for used logging modes. 2014-12-14 17:45:55 +02:00
nafets227
382e1dedef Performance enhancement via recvmmsg().
Use recvmmsg() in order to read multiple packets with one system call.
This improves performance, especially in have loaded areas when catching up
a log of queued packets.

Original patch tweaked and optimized by Rolf Ahrenberg.
2014-12-14 15:39:18 +02:00
Rolf Ahrenberg
fecbd3cbd4 Added better logging for channel changes. 2014-12-14 01:56:21 +02:00
nafets227
7c1aa732b4 Improved RTP data logging.
Original patch tweaked ad optimized by Rolf Ahrenberg.
2014-12-12 21:38:11 +02:00
Rolf Ahrenberg
395390fb32 Added a device hook support for ProvidesTransponder(). 2014-12-09 21:56:32 +02:00
nafets227
913cdbef66 Logging improvements.
Logging of RTSP command summaries on debug 5
Logging for Performance/Locking on debug 6

Original patch tweaked and optimized by Rolf Ahrenberg.
2014-12-09 00:27:19 +02:00
Rolf Ahrenberg
60a2b1fecf Fixed the LOGG SVDRP command output. 2014-12-08 21:37:17 +02:00
Rolf Ahrenberg
b9d89b8c1d Added more debugging macros. 2014-12-08 21:23:23 +02:00
Rolf Ahrenberg
d0ffc3e1a5 Enabled CURL debug callbacks always. 2014-12-07 23:14:02 +02:00
Rolf Ahrenberg
46db1dea11 Reworked the RTSP debug callback to adapt dynamically any logging mode changes during SETUP. 2014-12-07 22:04:39 +02:00
Rolf Ahrenberg
dd320af7f2 Fixed the session id quirk. 2014-12-07 21:58:06 +02:00
Rolf Ahrenberg
d6ffffd932 Fixed the tuning status. 2014-12-07 18:12:08 +02:00
Rolf Ahrenberg
7f9060a4cb Reformatted debug messages. 2014-12-07 17:27:53 +02:00
Rolf Ahrenberg
097a607389 Renamed some "SAT>IP" texts into a simpler "SATIP". 2014-12-07 16:19:23 +02:00
Rolf Ahrenberg
45b3166729 Simplified the logging interface. 2014-12-07 16:10:12 +02:00
Rolf Ahrenberg
38f815d439 Added new debugging modes. 2014-12-06 17:10:02 +02:00
Rolf Ahrenberg
23dce9e205 Changed logging to to use SATIP instead of SAT>IP. 2014-12-06 00:37:55 +02:00
Rolf Ahrenberg
796a047401 Renamed logging level to the actual mask. 2014-12-06 00:06:24 +02:00
Rolf Ahrenberg
b62a25597b Reworked header dependencies. 2014-12-05 23:14:40 +02:00
Rolf Ahrenberg
81f6af3bdf Reformat debug messages. 2014-12-05 23:02:57 +02:00
Rolf Ahrenberg
9a40a8eeec Fixed compilation under g++-4.7. 2014-12-04 21:44:44 +02:00
Rolf Ahrenberg
0668fb7a15 Added a new extra() macro. 2014-12-03 22:57:04 +02:00
Rolf Ahrenberg
735e7487d3 Added a preliminary support for dynamic logging level. 2014-12-03 19:57:23 +02:00
Rolf Ahrenberg
d48fe3bced Fixed OPTIONS url and enabled retuning. 2014-12-03 01:42:33 +02:00
Rolf Ahrenberg
98437ce57e Fixed retuning. 2014-12-02 23:19:24 +02:00
Rolf Ahrenberg
f6ab251294 Removed unnecessary this declarations. 2014-12-01 21:50:02 +02:00
Rolf Ahrenberg
0fe1722dee Increased TS buffer size to one megabyte to avoid overrun errors on my RPi. 2014-12-01 20:26:19 +02:00
Rolf Ahrenberg
9b88c0d55f Decreased TS buffer timeouts to 10ms. 2014-12-01 18:12:12 +02:00
Rolf Ahrenberg
e6e185cbd7 Changed int to uint64_t. 2014-11-30 01:00:20 +02:00
nafets227
561ca26098 Reduced locking scope for a performance improvement.
Reduced the time that cSatipTunerStatistics() is locked.
This is important for poller thread as every lock in cSatipTunerStatistics()
leads to the poller thread waiting in SatipTuner::ProcessVideoData().
2014-11-30 00:54:05 +02:00
nafets227
4600a2a070 Performance improvement by avoiding locks in cSatipTuner::ProcessApplicationData().
Don't use malloc, but put variable on stack (=local char array).
This avoids a possible lock with other threads, because malloc uses global
storage and needs a lock then.

Tests eliminated the long lasting processing of RTCP packaged in poller
Thread.
2014-11-29 21:24:29 +02:00
Rolf Ahrenberg
52f54d2177 Prepare for a release. 2014-11-29 17:03:07 +02:00
Rolf Ahrenberg
8415075de9 Added preliminary tuner state queues. 2014-11-29 17:00:31 +02:00
Rolf Ahrenberg
eea0aa33bd Added cSatipDiscoverIf(). 2014-11-29 15:37:21 +02:00
Rolf Ahrenberg
cdb2e0e3b4 Added logging of maximum processing time in cPoller(). 2014-11-29 14:51:27 +02:00
nafets227
e0727516ce Bugfix: Don't block in cTunerIf()::Process(Video|Application)Data() methods.
The original patch is polished and tweaked by Rolf Ahrenberg.
2014-11-29 14:26:59 +02:00
nafets227
fde3198997 Bugfix: Reading from sockets.
In cSatipRtp::Process() und cSatipRtcp::Process() we need to read until no more data is
available, not just once.

The original patch is polished and tweaked by Rolf Ahrenberg.
2014-11-27 23:13:51 +02:00
nafets227
c966d28d13 Bugfix: Write data to tsbuffer only if DvrOpen has been called. This avoids Buffer Overflow when not recording or viewing live. 2014-11-26 23:51:49 +02:00
Rolf Ahrenberg
6d68ef3e49 Simplified poller interface. 2014-11-25 22:04:34 +02:00
Rolf Ahrenberg
1642f59980 Get rid of CheckData() as we are receiving only live streams. 2014-11-23 19:28:29 +02:00
nafets227
80abbddae7 Corrected log Macros.
If used like the code below, it would produce a compile error as
in the 'if' path there would be two semicolons:

if (anything)
   debug(...);
else
   doanything();
2014-11-23 17:59:32 +02:00
Rolf Ahrenberg
8bd4a1a67d Fixed teardown. 2014-11-23 00:13:15 +02:00