summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-05-30cRingBufferLinear::Read() will return 0 either if EOF is encounteredschmirl
or if the buffer is full. We need to check the buffer space to distinguish these two cases (#307).
2007-05-09Set DSCP 41 on stream data packets. WMM capable WLAN accesspointsschmirl
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-07Check vasprintf return code (thanks to rofafor)schmirl
2007-05-07Fixed segfaults due to cTSBuffer disconnect detection workarounds (#260)schmirl
2007-05-07Fixed memory leak in buffer overflow situation (thanks to rofafor)schmirl
2007-04-26Removed duplicated code fragments probably caused by patches with tooschmirl
few context lines
2007-04-24server_live-filter_remove_setfilter.patch by Petri Hintukainenschmirl
- remove (now unused) cStreamdevLiveStreamer::SetFilter() Modified Files: server/livestreamer.c server/livestreamer.h
2007-04-24server_connectionVTP-add-filter-stream.patch by Petri Hintukainenschmirl
- Add new stream for section filters data
2007-04-24server_live-filter-streamer.patch by Petri Hintukainenschmirl
- 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-24server_livefilter-add_public_Add_and_Del.patch by Petri Hintukainenschmirl
- Add public Add/Del members instead of friend class
2007-04-24client_device-sections-socket.patch by Petri Hintukainenschmirl
- 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-24client_filter-data-handling.patch by Petri Hintukainenschmirl
- 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-24server_ts-pat-pmt-filter.patch by Petri Hintukainenschmirl
- 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-24server_livefilter-add_ts_pusi_flag.patch by Petri Hintukainenschmirl
- Add MPEG TS PUSI (payload start indicator) to first packet of each section
2007-04-24server_connectionVTP-new-data.patch by Petri Hintukainenschmirl
- Add new data (LiveFilterStreamer and LiveFilterSocket) - Misc cleanup Modified Files: server/connectionVTP.c server/connectionVTP.h
2007-04-24client_socket-close_data_connection.patch by Petri Hintukainenschmirl
- Add member function to close data connection Modified Files: client/socket.c client/socket.h
2007-04-24Add live filter stream typeschmirl
2007-04-24client_device-disconnect_detection-fix.patch by Petri Hintukainenschmirl
- Try to detect data stream disconnections to avoid 100% CPU-usage in cTSBuffer::Action()
2007-04-24client_device-vdr-1.5.1-fixes.patch by Petri Hintukainen (#219)schmirl
- 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-23based on server_livefilter-streamer-type.patch by Petri Hintukainenschmirl
- Use cStreamer (base class) instead of cLiveStreamer (no need to know streamer type) * works with cLiveStreamer and cLiveFilterStreamer * avoid circular dependency - visibility of cStreamdevLiveReceiver: Moved from livestreamer.h -> .c Modified Files: server/livefilter.c server/livefilter.h server/livestreamer.c server/livestreamer.h
2007-04-23client_section-pipe-carbage-collector.patch by Petri Hintukainenschmirl
- 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-23Fixed whitespaces. No functional changesschmirl
2007-04-23client_invalid-section-data_and_pipe-overflow.patch by Petri Hintukainenschmirl
- 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-23client_device.patch by Petri Hintukainenschmirl
- Implement virtual IsTunedToTransponder() - Return true from Provides... functions Modified Files: client/device.c client/device.h
2007-04-23client_filter-close-fix.patch by Petri Hintukainenschmirl
- 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-23Fixed typosschmirl
2007-04-23client_section-filter-socket.patch by Petri Hintukainenschmirl
- Use datagram mode socket instead of pipe to feed section data to client VDR section handler -> preserve section data block boundaries
2007-04-23client_filter-visibility.patch by Petri Hintukainenschmirl
- 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-16Use compiler flag -Wall. Cleanup code as necessary.schmirl
(#171 Thanks to Rolf Ahrenberg) Modified Files: Makefile streamdev-server.c server/connection.h server/connectionHTTP.c server/connectionVTP.c tools/source.c
2007-04-02Close pipe when externremux.sh is gone. Fixes high CPU load problem (#235)schmirl
2007-04-02Close connection when client is gone. Fixes high CPU load problem (#201)schmirl
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-03-19Silence warning about overloaded namespace (#244, thanks to rofafor)schmirl
2007-03-19Silence warnings caused by implicit casts between uint8_t and char.schmirl
In most places casting was easy to avoid as the variables have been casted forth and back between both data types. Anyway - the affected functions are never used by streamdev.
2007-03-02Fixed null pointersschmirl
2007-02-19Fixed indenting - no code changeschmirl
2007-02-19Added commandline switch -r/--remux for specifying name of externremux ↵schmirl
script (thanks to Rolf Ahrenberg) Modified Files: streamdev-server.c streamdev-server.h remux/extern.c remux/extern.h
2007-01-15Compatibility for vdr < 1.3.38 (#169)schmirl
2007-01-15API changes of VDR 1.5.0 (#219)schmirl
Modified Files: server/connection.c server/livestreamer.c server/livestreamer.h
2007-01-15Indenting - no code changesschmirl
2007-01-15Log throttle for connection failure messages (#183)schmirl
2007-01-15Replace uint64 by uint64_t (#200)schmirl
2007-01-11Avoid loop/deadlock when two VDRs mutually share there DVB cards, i.e.schmirl
both are streamdev-server and streamdev-client (#198). Bigpatch version by p_body@vdrportal Added Files: patches/vdr-1.4.3-recursion_bigpatch.diff patches/vdr-1.4.3-recursion.diff
2007-01-11- Updated for VDR 1.4schmirl
- Moved the changes a litte bit around so that it shouldn't be affected by VDR changes that easy. - Changed menu item texts
2007-01-11Devices are expected to honour the CA field. Without this patch thereschmirl
is no way to tell a VDR that it may not use streamdev for a specific channel.
2006-11-24Cache translation in cPluginStreamdevServer::Active() as this methodschmirl
may be called very often. Though tr() is not producing too much overhead it is not neglectible either. If the actual translation is missing, the resulting syslog messages will become annoying. Note that the current OSD language is not monitored. Changes won't be reflected until the next restart. Thanks to Urig for the patch (#197).
2006-11-10Use select with timeout and check if streamdev-server has to shutdownschmirl
(#135). Thanks to Urig@vdrportal
2006-10-05- collect terminated externremux.sh processes (#136)schmirl
- avoid fd leaks when we fail to spawn externremux.sh
2006-09-14- detach all receivers before tuning to different transponder. Otherwise ↵schmirl
ABRT will be sent after tuning, which will destroy the LiveStreamer on the server.
2006-09-14Re-enabled logging for the Detach()/Attach() issue which is still under ↵schmirl
observation
2006-09-14Added -fPIC compiler flag required on AMD64 architecturesschmirl