Commit Graph

184 Commits

Author SHA1 Message Date
schmirl
459e41e810 - fixed null pointer in server.c when cConnection::Accept() failes 2008-10-31 12:19:57 +00:00
schmirl
7184adef83 consider Pids from channels.conf when HTTP TS streaming. Section filtering
is an optional feature for VDR devices, so we must not rely on the PMT
alone (#473)
2008-10-31 11:59:48 +00:00
schmirl
ac2e992305 Improved externremux script termination (#455) 2008-10-31 11:41:12 +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
4a5af4f489 - fixed output format of some debug messages (thanks to Rolf Ahrenberg) 2008-10-22 11:17:43 +00:00
schmirl
86c82c1381 - added HTTP authentication (#475)
Modified Files:
	HISTORY README streamdev-server.c server/connection.h
	server/connectionHTTP.c server/connectionHTTP.h
	server/server.c server/server.h
2008-10-14 11:05:46 +00:00
schmirl
992444cb67 Compatibility to VDR 1.7.1 (#483) 2008-10-13 11:30:05 +00:00
schmirl
c5b5a4cbeb Update 2008-10-02 07:21:15 +00:00
schmirl
42474b8431 Added vdr-1.6.0-intcamdevices.patch (#429)
Modified Files:
	HISTORY README client/device.h
Added Files:
	patches/vdr-1.6.0-intcamdevices.patch
2008-10-02 07:14:47 +00:00
schmirl
924cf6e4d0 Workaround for problem when switching from one encrypted channel to an other
Yet it's not quite clear if this is really a proper fix. There have been
contradictory reports (#476).
2008-10-02 06:56:36 +00:00
schmirl
90bae5b011 - added preprocessor directive for ancient gcc 2008-07-16 06:00:48 +00:00
schmirl
9ecbab8882 - added Russian translation (thanks to Oleg Roitburd) 2008-06-26 14:16:56 +00:00
schmirl
685f43c6ec - Fixed assignment of externremux.sh's default location
cPlugin::ConfigDirectory() cannot be used directly after the plugin has
been loaded. The return value of AddDirectory() must be allocated.
2008-04-29 07:00:53 +00:00
schmirl
b2bea54b34 - added French translation (thanks to micky979) 2008-04-14 13:42:40 +00:00
schmirl
ecbde41090 Added Italian translation (thanks to Diego Pierotto) 2008-04-14 07:14:24 +00:00
schmirl
dc796dfe74 Fixed German translations 2008-04-14 07:14:08 +00:00
schmirl
34a62eb2ef - added gettext support (thanks to Rolf Ahrenberg)
- added vdr-1.6.0-ignore_missing_cam patch
- dropped obsolete respect_ca patch
- removed legacy code for < VDR 1.5.9 (thanks to Rolf Ahrenberg)
2008-04-08 14:18:15 +00:00
schmirl
9c60fb4e42 - changed location of streamdevhosts.conf to VDRCONFDIR/plugins/streamdev
- changed externremux.sh's default location to VDRCONFDIR/plugins/streamdev
- added sample externremux.sh from http://www.vdr-wiki.de/
- stop providing channels after client has been disabled at runtime
- added logging of the client device's card index
- changed default suspend mode to "Always suspended"
- added "Hide Mainmenu Entry" setup option on client
2008-04-07 14:50:32 +00:00
schmirl
89735cbd95 - resurrected clients "Suspend Server" menu item as its mainmenu entry
- dropped unused code for remote timers/recordings on client side
- dropped unused files client/{assembler,menu,remote}.[hc]
- dropped unused files in libdvbmpeg (reported by tobi)
2008-04-07 14:40:39 +00:00
schmirl
f51d6eb2df - removed legacy code for pre VDR 1.4
- dropped patches for pre VDR 1.4
2008-04-07 14:27:27 +00:00
schmirl
71cc16a1eb Release 0.3.4 2008-03-31 10:34:26 +00:00
schmirl
57923c656e Missing files 2008-03-28 15:13:11 +00:00
schmirl
b66bf7a698 Rewrite of http menu (#439)
Including
- m3u playlists by Petri Hintukainen (#254)
- way to pass parameters to externremux by Rolf Ahrenberg
- using host header for absolute URLs for better DNAT / Reverse Proxy support
2008-03-28 15:11:40 +00:00
schmirl
79836e69a9 Updated 2008-03-28 08:01:24 +00:00
schmirl
91568bb70c Updated using information from CVS and bugtracker 2008-03-26 13:08:32 +00:00
schmirl
21da96308d Make sure that a FilterStreamer is only started if client supports it
(#261)
Modified Files:
	client/socket.c server/connectionVTP.c server/connectionVTP.h
2008-03-13 16:01:17 +00:00
schmirl
650b4d5443 Fixed compiler warning 2008-03-13 15:58:24 +00:00
schmirl
e54f9e4fbe Add EIT into TS stream (#442) 2008-03-13 14:10:17 +00:00
schmirl
efeac825cc FreeBSD compatibility (#435)
Modified Files:
	Makefile common.h libdvbmpeg/ctools.c server/connectionVTP.c
	tools/socket.c
2008-03-12 09:36:27 +00:00
schmirl
eb6fbd3bbe TS PAT repacker for streamtype TS. The PAT shoudln't refer to PMTs we don't
transmit. Particularely causes problems with some settop boxes.

Thanks to Rolf Ahrenberg (#309)
2008-02-22 12:02:48 +00:00
schmirl
cd558858e6 Fixed default target (suggested by rofafor - #430) 2008-02-11 16:13:46 +00:00
schmirl
46e007f456 Workaround which fixes tuning problems for VDR 1.5.x clients. These
sometimes send ABRT after TUNE. Clean solution wanted!
Thanks to alexw (#255)
2007-12-12 12:22:45 +00:00
schmirl
713c0564b7 VTP now also supports PS, PES and EXTERN.
Request for PS by mpanczyk for MTPCenter (#341)
Modified Files:
	server/connectionVTP.c server/connectionVTP.h
2007-09-21 12:45:31 +00:00
schmirl
d0385f5252 fixes for some new warnings from gcc 4.3.0
- array subscript is above array bounds (real bug - might overwrite other var)
- deprecated conversion from string constant to 'char*'
- suggest explicit braces to avoid ambiguous 'else'

Thanks to Petri Hintukainen (#354)
Modified Files:
	common.c libdvbmpeg/cpptools.cc libdvbmpeg/remux.c
2007-09-21 11:55:56 +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
c8bf0474f9 Client did not reconnect properly to server when server app restarts.
When Read() on the command channel failed, the buffer size was not
trimmed. Read() was never called again as the buffer appeared to be full. Fixes #322 reported by alexw.
2007-07-20 06:54:03 +00:00
schmirl
e9bd0c96f3 Lock in ~cStreamdevDevice when shutting down (#355).
Thanks to Petri Hintukainen.
2007-07-20 06:46:47 +00:00
schmirl
60b44caf3d cRingBufferLinear::Read() will return 0 either if EOF is encountered
or if the buffer is full. We need to check the buffer space to distinguish
these two cases (#307).
2007-05-30 14:20:14 +00:00
schmirl
bb1ac54c87 Set DSCP 41 on stream data packets. WMM capable WLAN accesspoints
should understand this and give precedence. For Internet streaming
it could be used by traffic shapers. Suggested by ollo@vdrportal (#237).
Modified Files:
	server/connectionHTTP.c server/connectionVTP.c tools/socket.c
	tools/socket.h
2007-05-09 09:12:42 +00:00
schmirl
2b103196d6 Check vasprintf return code (thanks to rofafor) 2007-05-07 12:25:11 +00:00
schmirl
d93eec41f3 Fixed segfaults due to cTSBuffer disconnect detection workarounds (#260) 2007-05-07 12:18:18 +00:00
schmirl
7fdf0c6832 Fixed memory leak in buffer overflow situation (thanks to rofafor) 2007-05-07 11:43:23 +00:00
schmirl
8378d5a17c Removed duplicated code fragments probably caused by patches with too
few context lines
2007-04-26 06:25:13 +00:00
schmirl
fdda49c9f3 server_live-filter_remove_setfilter.patch by Petri Hintukainen
- remove (now unused) cStreamdevLiveStreamer::SetFilter()
Modified Files:
	server/livestreamer.c server/livestreamer.h
2007-04-24 11:42:41 +00:00
schmirl
d012504c3a server_connectionVTP-add-filter-stream.patch by Petri Hintukainen
- Add new stream for section filters data
2007-04-24 11:40:35 +00:00
schmirl
9994ecfd08 server_live-filter-streamer.patch by Petri Hintukainen
- Add cStreamdevFilterStreamer that is binded to current device, not channel
- new streamer can exist even when there is no active data connection (live view)
Modified Files:
	server/livestreamer.c server/livestreamer.h
2007-04-24 11:36:16 +00:00
schmirl
99d19c67d8 server_livefilter-add_public_Add_and_Del.patch by Petri Hintukainen
- Add public Add/Del members instead of friend class
2007-04-24 11:29:29 +00:00
schmirl
60b89e8646 client_device-sections-socket.patch by Petri Hintukainen
- Add separate data socket for sections data
- Sections data can be received when there is no active live view
  (-> EPG scans etc. can be executed during replay etc.)
2007-04-24 11:24:38 +00:00
schmirl
518886b08b client_filter-data-handling.patch by Petri Hintukainen
- regonize PUSI flag in TS packets (bullet-proof section start+end indicator)
- Use own TS buffer to read directly from socket, no need for ring buffer anymore
- Re-activate all active filters after re-connection to server
- Simplify thread start/stop/running detection to current VDR style
- Update "filter closed by VDR" detection (datagram sockets
  return different errno's than pipes)
- Deliver data to first matching and active filter (do not drop data if first
  matching filter has been closed, there is quite likely new filter for it)
- Add disconnect detection to avoid 100% CPU usage in cTSBuffer::Action()
Modified Files:
	client/filter.c client/filter.h
2007-04-24 11:23:16 +00:00
schmirl
52bf110aa9 server_ts-pat-pmt-filter.patch by Petri Hintukainen
- Add PAT, PMT and PCR to HTTP TS streams
- Dynamically add and remove all related pids (of channel) to TS stream
 -> DVB/teletect subtitles work in clients
 -> VLC can be used as client
 -> HDTV (MPEG4 / H.264) streaming is possible
 -> Client can select audio and subtitle tracks on the fly without re-connection -> Client can display "real" track names / languages

 - Add new member function to set all pids in one shot
  -> Receiver is not deleted, created and re-attached separately for every pid
   (this causes discontinous start and is anyway unnecessarily)

Modified Files:
	server/livestreamer.c server/livestreamer.h
2007-04-24 11:13:05 +00:00