Commit Graph

21 Commits

Author SHA1 Message Date
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
6ea5efe939 Snapshot 2010-09-15 2011-03-22 21:16:18 +02: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
78410ea576 Added IGMP multicast server
Modified Files:
	CONTRIBUTORS HISTORY Makefile README po/de_DE.po po/fi_FI.po
	po/fr_FR.po po/it_IT.po po/ru_RU.po server/component.c
	server/component.h server/connection.c server/connection.h
	server/livefilter.c server/server.c server/setup.c
	server/setup.h server/streamer.c server/streamer.h
	streamdev/streamdevhosts.conf tools/socket.c tools/socket.h
Added Files:
	patches/vdr-cap_net_raw.diff server/componentIGMP.c
	server/componentIGMP.h server/connectionIGMP.c
	server/connectionIGMP.h
2009-02-13 10:39:20 +00:00
schmirl
c364a3396d - use cThread::Running()/Active() instead of private members
- replaced the last usleep by cCondWait
thanks to Rolf Ahrenberg (#383)
Modified Files:
	CONTRIBUTORS HISTORY server/server.c server/server.h
	server/streamer.c server/streamer.h server/suspend.c
	server/suspend.h
2008-10-22 11:59:31 +00:00
schmirl
17ff4d32e8 High load when client isn't accepting data fast enough. Bug report and
fix by Olli Lammi (#382).
2007-09-21 11:45:53 +00:00
schmirl
525574f9b0 Close connection when client is gone. Fixes high CPU load problem (#201)
Modified Files:
	server/connection.h server/connectionHTTP.h
	server/connectionVTP.h server/server.c server/streamer.c
	server/streamer.h tools/select.c tools/select.h tools/source.c
2007-04-02 10:32:34 +00:00
lordjaxom
450c8fd4a7 - added TS compatibility mode 2005-05-09 20:22:29 +00:00
lordjaxom
3eec47314d - deleting whole block instead of fractions now 2005-04-30 19:41:08 +00:00
lordjaxom
32c1bf7c8b - fixed wrong remux usage 2005-04-30 14:59:56 +00:00
lordjaxom
4f85a010cd - next try :-) (locking problem) 2005-04-27 19:43:09 +00:00
lordjaxom
11dd989dfb - protected cStreamer::Stop() from being called concurrently 2005-04-27 17:55:43 +00:00
lordjaxom
183de0e401 - streamer now gets stopped when connection terminates unexpectedly
- fixed recursive delete in streamer
2005-03-24 21:31:38 +00:00
lordjaxom
4cc684e530 - blargh 2005-02-11 17:02:22 +00:00
lordjaxom
ad70fe8c64 - transfer 2005-02-11 16:44:14 +00:00
lordjaxom
ab8f0c75f3 - implemented audio track selection for http 2005-02-10 22:24:26 +00:00
lordjaxom
c1cb77c3f8 - transfer 2005-02-09 19:47:09 +00:00
lordjaxom
78b9b7c6ba - transfer 2005-02-08 19:54:52 +00:00
lordjaxom
b2b925d1a9 - transfer 2005-02-08 17:22:35 +00:00
lordjaxom
8e4556b0a9 - first adoptions (transfer-commit) 2005-02-08 13:59:16 +00:00
lordjaxom
302fa2e672 Initial revision 2004-12-30 22:43:55 +00:00