Commit Graph

115 Commits

Author SHA1 Message Date
Frank Schmirler
6c9c6ca77f restricted VTP command RENR to liemikuutio patch < 1.32 (fixes #786).
Build fails with newer versions of this patch. RENR was introduced for XBMC
which is no longer using streamdev at all, so the impact should be low.
2011-11-07 17:15:10 +01:00
Frank Schmirler
b9d2f66295 include SDT and TDT in TS streams 2011-10-25 17:18:23 +02:00
Frank Schmirler
077398fdef Revert "dropped cServerConnection::m_Pending"
Required by VTP

This reverts commit bdaea38b86.
2011-10-24 08:44:31 +02:00
Frank Schmirler
bdaea38b86 dropped cServerConnection::m_Pending 2011-10-20 23:45:44 +02:00
Frank Schmirler
6b633dbfa2 the icy-name HTTP header sent with radio streams makes VLC pick the wrong
demuxer. Send icy-name only for ES audio streams (fixes #746)
2011-10-20 23:37:27 +02:00
Frank Schmirler
615f101b9d fixed regression of "live TV must be switched in VDR main thread" change:
deadlock in IGMP streaming server when switching live TV.

Previously cComponentIGMP::Accept did all the work including the channel
switch with the new cConnectionIGMP waiting for MainThreadHook. But as the
new connection is stored *after* Accept, MainThreadHook didn't see it and
so wasn't able to switch. The streamdev main thread waited forever.

Moved the main work into cComponentIGMP::Welcome.
2011-10-18 08:50:54 +02:00
Frank Schmirler
475e7bbd6a updated device selection to code of VDR 1.7.19 2011-09-10 00:04:08 +02:00
Frank Schmirler
4c0888d483 adaption to VDR 1.7.12 cReceiver API change 2011-09-09 23:26:45 +02:00
Frank Schmirler
24a1638ddd increased WRITERBUFSIZE. Has been reported to fix some ringbuffer overflows
(thanks to Lubo¨ Dole¸el)
2011-09-02 13:18:01 +02:00
Frank Schmirler
cc74cba396 check availability of channel if VTP command TUNE is called without prior
PROV call (e.g. client side EPG scan)
2011-09-02 13:11:13 +02:00
Frank Schmirler
2c8377d42a added support for VDR 1.7.19 SignalStrength/SignalQuality 2011-07-06 09:13:50 +02:00
Frank Schmirler
f73665a0bd Server must close the VTP connection also if filter stream is broken
Otherwise, if a client which is not livestreaming (e.g. watching a recording)
doesn't properly shutdown the port 2004 connection, the filter stream remains
open until TCP keepalive takes care of it. In the meantime, the log will show
ringbuffer overflows.
2011-06-03 13:24:12 +02:00
Frank Schmirler
19e8cf2a28 writer must not spend too much time waiting in select() without checking
if the thread has been cancelled.

Delayed the streamdev main thread for up to 3 seconds. As the command timeou
of VTP connections is 1.5 seconds, one hanging connection could have caused
VTP connections to die.
2011-04-11 13:56:49 +02:00
Frank Schmirler
17bb6390f9 Merge branch 'master' of projects.vdr-developer.org:vdr-plugin-streamdev
Conflicts:
	HISTORY
2011-03-18 15:56:34 +01:00
Frank Schmirler
58a4f3dbe5 Added Spanish translation 2011-03-18 15:52:42 +01:00
Frank Schmirler
1a933d6cc9 Merge branch 'switch_livetv'
Conflicts:
	HISTORY
	server/connection.c
2011-03-07 23:06:27 +01:00
Frank Schmirler
c06970123c Live TV must be switched in VDR main thread (fixes #568). 2011-03-07 23:04:18 +01:00
Frank Schmirler
2cb0ba6cf1 Dropped compatibility with VDR < 1.5.16 2011-03-07 22:05:36 +01:00
Frank Schmirler
3a2936a140 updated copy of GetClippedNumProvidedSystems to the version used since VDR 1.7.15 2011-02-01 14:24:47 +01:00
Frank Schmirler
06d5418e42 Fixed the code deciding if a device is in use for live TV or not. It did
not work as expected for FF cards (fixes #536)
2011-01-28 12:42:33 +01:00
Frank Schmirler
316a1f884f connection runs as thread, so it must not use Skins.Message 2011-01-14 17:03:17 +01:00
Frank Schmirler
9fbc166848 Improved channel switch code
- Avoid device allows more efficient code when trying to move live TV to different card
- Added some more dsyslog messages to help debugging channel switch issues
2010-12-14 13:22:55 +01:00
Frank Schmirler
abf8a62fe9 make sure that a client doesn't interrupt replaying on server's FF card
http://www.vdr-portal.de/board/thread.php?postid=948311 (reported by wtor)
2010-12-10 18:06:39 +01:00
Frank Schmirler
a35675490d switching away live TV failed even when "always suspended"
The vdr main loop usually switches back to the previous channel at
"Make sure we have a visible programme in case device usage has changed"
(#472)
2010-12-10 17:03:04 +01:00
Frank Schmirler
0c07109974 fixed regression: no receiver created for ES/PS/PES
(reported by Gavin Hamill)
2010-12-10 16:38:54 +01:00
Frank Schmirler
6ea5efe939 Snapshot 2010-09-15 2011-03-22 21:16:18 +02:00
schmirl
0a860a1e3e don't use std::map.at(). It's not available in older libstdc++ version
Modified Files:
	CONTRIBUTORS HISTORY remux/extern.c server/connectionHTTP.c
2010-07-22 14:18:17 +00:00
schmirl
c0a7f1610a fixed wrong URL path in m3u playlists 2010-07-20 12:26:29 +00:00
schmirl
1a1141e4a1 Switched to proper tsplay-0.2 patch detection
Modified Files:
	server/recplayer.c Makefile CONTRIBUTORS HISTORY
2010-06-04 18:32:34 +00:00
schmirl
7517b874d8 added compatibility with VDR 1.6 tsplay-0.1 patch 2010-05-14 06:23:59 +00:00
schmirl
6f984b87e3 Added support for EnhancedAC3 2010-04-19 10:17:33 +00:00
schmirl
8a128f7c57 fixed a memory leak in cStreamdevPatFilter::GetPid (thanks to lhanisch) 2010-02-20 23:02:10 +00:00
schmirl
2f027a6ffc - length -1 is the correct value for streams in M3U playlists 2010-02-20 22:18:14 +00:00
schmirl
93c9aa9af0 added DELT FORCE option to delete running timers (#554) 2010-01-29 12:03:01 +00:00
schmirl
c882a991cc added VDR 1.7.11 parental rating support for VTP LSTE command (#555) 2010-01-29 11:44:52 +00:00
schmirl
73e30fd5ca silenced warnings concerning asprintf (requested by Rolf Ahrenberg)
Modified Files:
	CONTRIBUTORS HISTORY server/connectionVTP.c server/setup.c
2009-10-13 06:38:47 +00:00
schmirl
ac40edfd24 don't update recordings list on CmdPLAY (reported by BBlack) 2009-09-30 10:10:40 +00:00
schmirl
6da7cf90d9 Added missing trNOOPs 2009-09-18 10:50:44 +00:00
schmirl
1cf41fb16f - cleaned up common.h / common.c
- dropped cStreamdevMenuSetupPage
2009-09-18 10:41:41 +00:00
schmirl
6fb88f8d99 report charset in HTTP replies (suggested by Rolf Ahrenberg) 2009-09-15 10:39:17 +00:00
schmirl
4ab256caea enable PatFilter for externremux, so VLC can be used as remuxer or client 2009-08-05 09:33:13 +00:00
schmirl
d5fa0a49f8 fixed insecure format strings in LSTX handlers 2009-07-17 06:21:23 +00:00
schmirl
41763e7710 removed redefinitions in includes - caused problems in older compilers 2009-07-06 06:23:28 +00:00
schmirl
fe77c5dccb silenced format mismatch warning on 64bit OS 2009-07-03 21:44:18 +00:00
schmirl
dd09bfbb45 improved PARENTALRATING patch detection (thanks to Rolf Ahrenberg) 2009-07-02 06:03:50 +00:00
schmirl
460d5f0689 Missing files from previous commit
Added Files:
	server/recplayer.c server/recplayer.h
2009-07-01 11:00:49 +00:00
schmirl
052a94db5a added XBMC support by extending VTP capabilities (thanks to Alwin Esch)
Modified Files:
	CONTRIBUTORS HISTORY Makefile common.h server/connectionVTP.c
	server/connectionVTP.h
2009-07-01 10:46:15 +00:00
schmirl
7b8e396f77 now there's a common baseclass for all remuxers, make use of it
Modified Files:
	HISTORY remux/ts2pes.c remux/ts2pes.h remux/tsremux.h
	server/livestreamer.c server/livestreamer.h
2009-06-30 06:04:33 +00:00
schmirl
008e7c8510 - added namespace to remuxers
- increased WRITERBUFSIZE - buffer was too small for high bandwidth content
- removed cStreamdevStreamer::m_Running
- eliminated potential busy waits in remuxers
- updated cTSRemux static helpers to code of their VDR 1.6.0 counterparts
- re-enabled PES vor VDR 1.7.3+. Streamdev now uses a copy of VDR 1.6.0's
  cRemux for TS to PES remuxing.
- make sure that only complete TS packets are written to ringbuffers
- use signaling instead of sleeps when writing to ringbuffers
- optimized cStreamdevPatFilter PAT packet initialization
- fixed cStreamdevPatFilter not processing PATs with length > TS_SIZE - 5
- use a small ringbuffer for cStreamdevPatFilter instead of writing to
  cStreamdevStreamers SendBuffer as two threads mustn't write to the same
  ringbuffer

Modified Files:
	CONTRIBUTORS HISTORY Makefile common.c common.h
	streamdev-server.c libdvbmpeg/transform.h remux/extern.c
	remux/extern.h remux/ts2es.c remux/ts2es.h remux/ts2ps.c
	remux/ts2ps.h remux/tsremux.c remux/tsremux.h
	server/connectionHTTP.c server/connectionVTP.c
	server/livestreamer.c server/livestreamer.h server/menuHTTP.c
	server/streamer.c server/streamer.h
Added Files:
	remux/ts2pes.c remux/ts2pes.h
2009-06-19 06:32:38 +00:00
schmirl
3d16ba0840 added comments to indicate that the VTP filter stream is proprietary format
Modified Files:
	client/filter.c server/livefilter.c
2009-02-13 13:02:39 +00:00