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
Rolf Ahrenberg
f5015bcfba
Refactored device discovery.
2014-11-17 22:28:11 +02:00
Rolf Ahrenberg
443dd9706a
Get rid of a magic number.
2014-11-16 21:42:24 +02:00
Rolf Ahrenberg
2dcf3bbd6a
Get rid of pointers.
2014-11-16 17:03:40 +02:00
Rolf Ahrenberg
12d61d37cf
Renamed Action() to Process().
2014-11-16 17:03:35 +02:00
Rolf Ahrenberg
a94d25b635
Get rid of pointers.
2014-11-16 16:39:20 +02:00
Rolf Ahrenberg
6b2090e9ad
Moved tuner statistics back to cSatipTuner.
2014-11-16 16:30:45 +02:00
Rolf Ahrenberg
5c051d919b
Fixed tuner reconnection issues.
2014-11-16 15:38:23 +02:00
Rolf Ahrenberg
02bf42b006
Fixed buffer handling in cSatipTuner::ParseReceptionParameters().
2014-11-16 15:00:08 +02:00
nafets227
adddf3e4e7
Moved ReadVideo/Application() from cSatipSocket into cSatipRtp/cStatipRtcp classes and get rid of unnecessary memcpy.
...
The original patch is polished and tweaked by Rolf Ahrenberg.
2014-11-16 14:56:59 +02:00
Rolf Ahrenberg
3a742f1f14
Fixed cSatipTuner::Disconnect().
2014-11-15 22:59:40 +02:00
Rolf Ahrenberg
82fe5c59c8
Fixed cSatipTuner::Disconnect().
2014-11-15 22:58:52 +02:00
Rolf Ahrenberg
304f1d4af6
Fixed cSatipTuner::Connect().
2014-11-15 22:16:38 +02:00