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

123 Commits

Author SHA1 Message Date
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
Rolf Ahrenberg
3a16e57f87 Get rid of OPTIONS while retuning. 2014-11-22 23:17:32 +02:00
Rolf Ahrenberg
1244397365 Updated debug messages. 2014-11-22 21:55:58 +02:00
Rolf Ahrenberg
1f528cf7e1 Fixed tuner shutdown. 2014-11-22 21:33:31 +02:00
Rolf Ahrenberg
5d697c36dc Fixed reading reception status. 2014-11-22 20:06:56 +02:00
Rolf Ahrenberg
005fa59dd6 Tweaked tuning. 2014-11-22 17:04:32 +02:00
Rolf Ahrenberg
6d64a8b0a7 Fixed keep-alive and retuning. 2014-11-22 15:01:37 +02:00
Rolf Ahrenberg
4e2e6d0b9b Fixed OPTIONS syntax. 2014-11-22 12:26:50 +02:00
Rolf Ahrenberg
ade52d5a22 Cleaned up debug messages. 2014-11-21 23:56:03 +02:00
Rolf Ahrenberg
524b21e042 Updated against SAT>IP protocol specification version 1.2.1. 2014-11-20 22:39:19 +02:00
Rolf Ahrenberg
0896df33e6 Merge pull request #3 from rofafor/poller
Refactored poller implementation.
2014-11-19 22:17:48 +02:00
Rolf Ahrenberg
111a1ff16d Merge branch 'master' into poller
Conflicts:
	tuner.c
	tuner.h
2014-11-19 22:10:54 +02:00
Rolf Ahrenberg
8d198178bb Updated version number. 2014-11-19 21:16:51 +02:00
Rolf Ahrenberg
ec596a02b8 Tweaked tuner state machine. 2014-11-19 21:05:18 +02:00
Rolf Ahrenberg
8ec972d4ee Factored tuner state machine a bit more robust. 2014-11-17 22:59:01 +02:00
Rolf Ahrenberg
54f8b4f0a6 Get rid of pointers. 2014-11-17 22:33:38 +02:00