Commit graph

122 commits

Author SHA1 Message Date
Andreas Öman
0b3027e65b increase max line length we can receive 2007-11-05 10:42:24 +00:00
Andreas Öman
74e1c687e1 dont include '/' (slash) in remaining part of url 2007-11-04 12:56:50 +00:00
Andreas Öman
aaf2b3939e add http_output_queue() - send a tcp_queue over HTTP connection and prepend it with correct HTTP headers 2007-11-04 09:36:18 +00:00
Andreas Öman
900c7f6fff add epg_event_find_current_or_upcoming() - find current or upcoming event on a channel 2007-11-04 09:35:21 +00:00
Andreas Öman
217cb2b318 add functions for printf'ing to a tcp_queue and a function for moving a queue onto the output queue 2007-11-04 09:34:35 +00:00
Andreas Öman
3725d4d544 make http_output_reply_header() public 2007-11-03 06:40:21 +00:00
Andreas Öman
50f37f1456 add callbacks for a virtual http server 2007-11-03 06:34:53 +00:00
Andreas Öman
f25e221766 dont use ffmpeg RTSP status codes 2007-11-02 22:30:10 +00:00
Andreas Öman
032d0f5dc2 add option '-d' to disable dvb setup 2007-11-02 22:21:48 +00:00
Andreas Öman
435ccaa85b restructure code slightly so we get common header parsing for RTSP as well 2007-11-02 22:20:55 +00:00
Andreas Öman
deff29b228 revert incorrect commit 2007-11-02 22:14:38 +00:00
Andreas Öman
b2f49c519a merge RTSP into the HTTP server 2007-11-02 22:14:19 +00:00
Andreas Öman
d1e09a5fc0 remove unused define 2007-11-02 21:58:06 +00:00
Andreas Öman
7e6e1a7091 remove unused struct 2007-11-02 21:57:36 +00:00
Andreas Öman
abaafa807c merge common code from RTSP and HTTP into http.[ch] 2007-11-02 21:57:09 +00:00
Andreas Öman
7c5149fb74 Add an integrated HTTP server, currently responds with 404 to everything 2007-11-02 18:22:53 +00:00
Andreas Öman
b30fa87d7a add function for value -> string conversion 2007-11-02 18:22:07 +00:00
Andreas Öman
34316a0b80 allow line processer to return -1 to signal graceful disconnect 2007-11-02 16:15:15 +00:00
Andreas Öman
08ee05a41e factor out common TCP code to a file of its own 2007-10-31 16:10:40 +00:00
Andreas Öman
45d09db30a add pvr_op2int() func 2007-10-31 16:10:19 +00:00
Andreas Öman
efa39aa0ff remove dead files 2007-10-31 16:09:56 +00:00
Andreas Öman
95228ee78e remove dead code 2007-10-29 19:28:23 +00:00
Andreas Öman
b9ae66e83b improve error reporting slightly 2007-10-29 12:58:31 +00:00
Andreas Öman
6e6a2de48f Rewrite all of the tvheadend packet internals
- Use an internal packet format instead of passing around TS packets
- Use an on-disk storage for pause/seek of live TV
- Fix RTSP interface
- Fix h264 recording
- Set correct DTS/PTS on all packets
2007-10-27 07:40:30 +00:00
Andreas Öman
db5c773ad0 more cleanup 2007-09-30 10:32:30 +00:00
Andreas Öman
d6e36c492f cleanup 2007-09-30 10:31:55 +00:00
Andreas Öman
96fe1f39be remove unused garbage 2007-09-30 09:58:43 +00:00
Andreas Öman
9b56068c75 factor out MPEG Transport Stream stuff from transport.[ch] to ts.[ch] 2007-09-30 09:58:23 +00:00
Andreas Öman
9dfe20d357 client_t is only used in htsclient.c, move the struct there 2007-09-29 16:01:13 +00:00
Andreas Öman
3cfa916010 get rid of the subscription_mutex it's not needed anymore 2007-09-29 14:43:00 +00:00
Andreas Öman
6266b5427f move subscriptions to a file of its own 2007-09-29 14:28:03 +00:00
Andreas Öman
583d9029fd rename channel_subscribe() to subscription_create() 2007-09-29 14:13:35 +00:00
Andreas Öman
5f4f94f5b6 Do not crash if event name is NULL 2007-09-24 17:13:21 +00:00
Andreas Öman
bd15fb6a22 Typo caused pvr recording to fail if video_pids != audio_pids 2007-09-24 17:08:24 +00:00
Andreas Öman
a86069fc4d print codec name when test decoding 2007-09-19 14:35:19 +00:00
Andreas Öman
aeaadebfa0 if format header is not written (== no data written) dont crash, instead log a message and remove the file 2007-09-19 13:35:46 +00:00
Andreas Öman
47ed57c87a prefix all iptv syslog messages with "iptv: " 2007-09-19 12:31:37 +00:00
Andreas Öman
8e8b2d3c0a IPTV revamp
- Add correct probing of IPTV transports during startup
- Remove the 'iptvmux' configuration entity, instead we configure this directly on the service
2007-09-19 12:30:08 +00:00
Andreas Öman
1532f137ed Add PSI table stream type 2007-09-19 12:29:22 +00:00
Andreas Öman
ba71cfd4b0 move dvb_configure_transport() to where it belongs 2007-09-18 19:49:49 +00:00
Andreas Öman
536a88ac83 correctly install in $prefix
conditionally include config.mak, we dont need it upon clean
2007-09-18 15:25:47 +00:00
Andreas Öman
19f6af2e67 add command for recording direct of a channel (without any events around or so) 2007-09-18 06:21:36 +00:00
Andreas Öman
119704586b correctly notify htsclients when a channel switches to a new event 2007-09-17 21:07:31 +00:00
Andreas Öman
9468a5af21 rename clients_enq_ref() to clients_send_ref() which is more appropriate 2007-09-17 20:48:19 +00:00
Andreas Öman
cb51ed4933 remove stray debug printf 2007-09-17 10:53:07 +00:00
Andreas Öman
412cce5ea6 rework much of the internal transport stream handling 2007-09-14 21:45:21 +00:00
Andreas Öman
895acc0180 Add RTSP and RTP client interface (not perfect yet, but works with ffplay) 2007-09-14 21:40:52 +00:00
Andreas Öman
86a963883c revamp recording
- use video decoding to detect video iframe lock
- use real PTS/DTS from mpeg broadcast
2007-09-12 19:34:32 +00:00
Andreas Öman
e0c9bf7d86 use a function for settings pvr recording status (so we can do decent logging) 2007-09-12 19:33:31 +00:00
Andreas Öman
4d952d165c dont let lav* log with DEBUG 2007-09-12 19:31:53 +00:00