Commit Graph

38 Commits

Author SHA1 Message Date
schmirl
c6c2344fef Applied and removed respect_ca patch 2008-04-07 15:07:38 +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
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
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
e9bd0c96f3 Lock in ~cStreamdevDevice when shutting down (#355).
Thanks to Petri Hintukainen.
2007-07-20 06:46:47 +00:00
schmirl
d93eec41f3 Fixed segfaults due to cTSBuffer disconnect detection workarounds (#260) 2007-05-07 12:18:18 +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
ac4c391c43 client_socket-close_data_connection.patch by Petri Hintukainen
- Add member function to close data connection
Modified Files:
	client/socket.c client/socket.h
2007-04-24 10:57:34 +00:00
schmirl
0a59f04d60 client_device-disconnect_detection-fix.patch by Petri Hintukainen
- Try to detect data stream disconnections to
  avoid 100% CPU-usage in cTSBuffer::Action()
2007-04-24 10:46:21 +00:00
schmirl
d5a38b3213 client_device-vdr-1.5.1-fixes.patch by Petri Hintukainen (#219)
- VDR 1.5.0 calls some device members in different order and
  streamdev can't currently handle this.
- do not trust in OpenDvr/CloseDvr, instead keep count of active PIDs,
  open data connection when it is needed and close it only when there
  are no active PIDs
  (closing data connection unsubscribes all pids at server end)
- some sanity checks on server side
Modified Files:
	client/device.c client/device.h server/connectionVTP.c
2007-04-24 10:43:40 +00:00
schmirl
6dd3cc412e client_section-pipe-carbage-collector.patch by Petri Hintukainen
- Run section filter carbage collector when adding new filter.
  Carbage collector closes all filters that have already been
  closed by local VDR section handler.
  (without this, closed section filters are removed only when
  they receive data from server. If they wont, ...).
- Add locking to list handling (list is accessed from separate threads)
Modified Files:
	client/filter.c client/filter.h
2007-04-23 12:52:28 +00:00
schmirl
5f54824d3d Fixed whitespaces. No functional changes 2007-04-23 12:01:33 +00:00
schmirl
0a7608faba client_invalid-section-data_and_pipe-overflow.patch by Petri Hintukainen
- Reset section data unpacker only after first non-full TS packet
  (last TS packet of section is typically not full
- Do not close filter if socket buffer is full (EAGAIN, EWOULDBLOCK)
  (closing results in 100% CPU usage in VDR section handler)
2007-04-23 12:00:27 +00:00
schmirl
e55981c9e1 client_device.patch by Petri Hintukainen
- Implement virtual IsTunedToTransponder()
- Return true from Provides... functions
Modified Files:
	client/device.c client/device.h
2007-04-23 11:42:16 +00:00
schmirl
35bfac507b client_filter-close-fix.patch by Petri Hintukainen
- Do not close receiving side of section pipe. Ownership of handle
  has been transferred to VDR section handler when filter was opened.
  Closing handle twice results closing random file handle. If this
  handle is laready used by another section filter pipe (very likely),
  VDR section handler CPU usage will rise to 100%.
2007-04-23 11:33:26 +00:00
schmirl
c515e82f04 Fixed typos 2007-04-23 11:30:55 +00:00
schmirl
130d7dcc08 client_section-filter-socket.patch by Petri Hintukainen
- Use datagram mode socket instead of pipe to feed
  section data to client VDR section handler
-> preserve section data block boundaries
2007-04-23 11:25:59 +00:00
schmirl
313da9682d client_filter-visibility.patch by Petri Hintukainen
- Move cStreamdevFilter definition from filter.h to filter.c
- Add IsClosed() and Reset() members to cStreamdevFilter:
  * IsClosed() returns true if filter was closed by VDR
  * Reset() discards (incomplete) queued section data

Modified Files:
	client/filter.c client/filter.h
2007-04-23 11:23:15 +00:00
schmirl
e3a4418453 Compatibility for vdr < 1.3.38 (#169) 2007-01-15 12:15:12 +00:00
schmirl
970bf59cc2 Indenting - no code changes 2007-01-15 11:45:48 +00:00
schmirl
56571d5879 Log throttle for connection failure messages (#183) 2007-01-15 11:41:46 +00:00
schmirl
ab342d37b3 Replace uint64 by uint64_t (#200) 2007-01-15 11:36:37 +00:00
schmirl
06265bab7b - detach all receivers before tuning to different transponder. Otherwise ABRT will be sent after tuning, which will destroy the LiveStreamer on the server. 2006-09-14 10:43:10 +00:00
lordjaxom
0b590ec826 - adopted to VDR >= 1.3.36 2005-11-06 16:43:58 +00:00
lordjaxom
c18ebf9158 - some compilers complained about missing declarations, added <ctype.h> 2005-04-24 16:26:14 +00:00
lordjaxom
30b7dfd5db - removed assembler and thus saving one ringbuffer
- fixed destruction order on channel switch (fixes one crash that happens
  occasionally when switching)
2005-04-24 16:21:59 +00:00
lordjaxom
3aa0128266 - fixed pure virtual crash in server 2005-03-12 12:54:19 +00:00
lordjaxom
b2b925d1a9 - transfer 2005-02-08 17:22:35 +00:00
lordjaxom
0132230de0 - transfer 2005-02-08 15:34:38 +00:00
lordjaxom
916ed238bc - transfer 2005-02-08 15:21:19 +00:00
lordjaxom
948893b25e - transfer 2005-02-08 14:19:29 +00:00
lordjaxom
5e7ea6f49c - transfer 2005-02-08 14:09:27 +00:00
lordjaxom
8e4556b0a9 - first adoptions (transfer-commit) 2005-02-08 13:59:16 +00:00
lordjaxom
04a5985dcc - updated to 1.3.19 2005-01-25 14:14:43 +00:00
lordjaxom
302fa2e672 Initial revision 2004-12-30 22:43:55 +00:00