Commit Graph

63 Commits

Author SHA1 Message Date
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 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 dd320af7f2 Fixed the session id quirk. 2014-12-07 21:58:06 +02:00
Rolf Ahrenberg 7f9060a4cb Reformatted debug messages. 2014-12-07 17:27:53 +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 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 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
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 8415075de9 Added preliminary tuner state queues. 2014-11-29 17:00:31 +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
Rolf Ahrenberg 1642f59980 Get rid of CheckData() as we are receiving only live streams. 2014-11-23 19:28:29 +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 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 524b21e042 Updated against SAT>IP protocol specification version 1.2.1. 2014-11-20 22:39:19 +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 443dd9706a Get rid of a magic number. 2014-11-16 21:42:24 +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
Rolf Ahrenberg 3a742f1f14 Fixed cSatipTuner::Disconnect(). 2014-11-15 22:59:40 +02:00
Rolf Ahrenberg 304f1d4af6 Fixed cSatipTuner::Connect(). 2014-11-15 22:16:38 +02:00
Rolf Ahrenberg 4a9a36a9c2 Tweaked error messages. 2014-11-15 22:15:47 +02:00
Rolf Ahrenberg 0bf841555b Implemented a preliminary state machine for tuner. 2014-11-15 20:44:42 +02:00
Nafets227 ede0294943 Refactored polling.
The original patch is polished and tweaked by Rolf Ahrenberg.
2014-11-15 02:12:35 +02:00
Rolf Ahrenberg e05801b464 Refactored epoll() to use only one thread. 2014-11-11 21:10:44 +02:00
Rolf Ahrenberg a9109d750c Some minor tweaks. 2014-11-10 23:31:30 +02:00
Rolf Ahrenberg ac4ab867d9 Switched to epoll(). 2014-11-10 23:05:26 +02:00
Rolf Ahrenberg 2f723e0f66 Added cSatipRtsp(). 2014-11-09 16:42:14 +02:00
Rolf Ahrenberg 72a5ad34fb Added cSatipPid(). 2014-11-09 12:48:45 +02:00
Rolf Ahrenberg 123fc5f96b Added support for CURL debug callback. 2014-11-09 02:25:47 +02:00
Rolf Ahrenberg 2308fc4a65 Fixed EIT scan (Thanks to Stefan Schallenberg). 2014-11-08 20:01:47 +02:00
Rolf Ahrenberg 5795bb58af Fixed SetChannelDevice() with NULL channel and EOL in ReadApplication(). 2014-11-03 21:55:54 +02:00
Rolf Ahrenberg 0de0be5ae4 Added a preliminary support for Fritz!WLAN Repeater DVB-C (Thanks to Christian Wick). 2014-11-03 21:54:19 +02:00
Rolf Ahrenberg 3630a9f78a Added a quirk to avoid addpids/delpids in PLAY commands. 2014-10-31 18:18:33 +02:00
Rolf Ahrenberg fb9c1c6a44 Added a session id quirk for Triax TSS 400. 2014-05-17 21:41:55 +03:00
Rolf Ahrenberg 5e2770a0e5 Added a validity check for the session member. 2014-05-14 22:14:59 +03:00
Rolf Ahrenberg 9a8c6f8c0d Fixed model detection and OctopusNet DVB-C model quirks.
Added a session id quirk for GSSBOX.
2014-05-08 22:09:35 +03:00