Commit graph

2590 commits

Author SHA1 Message Date
Peter Wu
f2d142c9c7 player: byteseek support 2012-08-30 16:59:49 +02:00
Peter Wu
82b7345944 player: do not drop trailing packets 2012-08-30 16:59:49 +02:00
Peter Wu
ee46a189a6 conn_http_progressive: seek support 2012-08-30 16:59:49 +02:00
Peter Wu
b592d39bfd player: require "seek" before outputting 2012-08-30 16:59:49 +02:00
Peter Wu
96f0ade4ca player: seek fixes 2012-08-30 16:59:49 +02:00
Lekensteyn
923d116afa Seek WIP in player 2012-08-30 16:59:49 +02:00
Peter Wu
21f6a1fe9d player: initial implementation 2012-08-30 16:59:49 +02:00
Peter Wu
beca2400dd Convert to Util::Stream::* 2012-08-30 16:42:09 +02:00
Peter Wu
8543c1a678 Remove stale compressed.js dependency 2012-08-30 16:10:43 +02:00
Peter Wu
cdfd074a1b Bundle server.html so it does not need to get rebuilt
Also remove CLOSUREJAR dependency. This gives less useful error messages, but
ah well...
2012-08-30 16:02:44 +02:00
Peter Wu
86fee22565 fix make dist 2012-08-30 15:30:07 +02:00
Peter Wu
8fd383115f Fix building of server.html.h, move embed.js.h 2012-08-30 11:05:19 +02:00
Niels Groot Obbink
45d9971aca Fixed embed code width/height problems. 2012-08-29 16:51:42 +02:00
Niels Groot Obbink
3acbd7cb36 Merge branch 'development' of github.com:DDVTECH/DMS into development 2012-08-29 16:27:31 +02:00
Niels Groot Obbink
d357065b92 moar fixes... D: 2012-08-29 16:27:16 +02:00
Thulinma
ce2d2ca83e Fix parsing of xxd output in conn_http.cpp by removing the trailing ";\n" 2012-08-29 16:21:12 +02:00
Niels Groot Obbink
8d5d15669f embed.js error fix 2012-08-29 16:19:34 +02:00
Niels Groot Obbink
4257ac6634 fixed JS parse error 2012-08-29 15:56:11 +02:00
Niels Groot Obbink
8c22dab6fd embed code for inclusion in magical http connector... or something. 2012-08-29 15:53:50 +02:00
Thulinma
2e5ae34547 Exported embed code to separate file. 2012-08-29 15:52:55 +02:00
Niels Groot Obbink
728f852bfb embed code for embed http connector... yeah. 2012-08-29 15:26:25 +02:00
Thulinma
b151b13f66 Improved embeds, controller now stores metadata. 2012-08-29 15:02:17 +02:00
Thulinma
7d32d2458a Fix LSP actually compiling. Oops :-) 2012-08-28 23:37:49 +02:00
Thulinma
9c368a5a86 Integrated LSP into controller - added library version to HTTP server headers, removed some temporary files from git and added them to .gitignore files. 2012-08-28 23:24:09 +02:00
Thulinma
6a6b37fc27 Reduce verbosity to releaseable levels. 2012-08-26 23:17:38 +02:00
Thulinma
860fbe0b53 Fixed controller crash when deleting old stream data. 2012-08-26 23:17:20 +02:00
Thulinma
607a41c443 Make HTTP proxy insta-murder connections that need to be re-used (happens when progressive makes two connections from one user agent for some reason - kills the oldest connections for the newest one). 2012-08-26 22:17:51 +02:00
Thulinma
469d810d6b Update HTTP proxy timeout from 10s to 20s. 2012-08-26 21:19:16 +02:00
Thulinma
a15ea64e4e Fix controller keeping stats for deleted streams - now deletes stats 2 minutes after receiving the last updates. 2012-08-26 20:46:03 +02:00
Thulinma
afefe24578 Fix IP addresses for HTTP connectors, update all code to only use non-deprecated libmist calls. 2012-08-26 19:58:53 +02:00
Peter Wu
b141b4058e conn_http: prevent 100% CPU usage 2012-08-25 23:10:43 +02:00
Peter Wu
becd4715c3 conn_http_progressive: remove unused vars 2012-08-25 19:51:30 +02:00
Peter Wu
90e1ba7308 buffer_stream: do not crash on shutdown
When destructing the users, they attempt to drop the ring they own. This works
by checking Strm's list of rings. But when Strm is destructed, all rings are
deleted as well which results in a segfault.
2012-08-25 19:49:19 +02:00
Thulinma
e6179904c7 Fix CPU usage problems in HTTP connector. 2012-08-25 13:14:08 +02:00
Thulinma
fb2d022800 Added timestamp rewriting to HTTP Dynamic for live streams. 2012-08-24 17:13:06 +02:00
Thulinma
86a7d74768 Fixed a few minor typing mistakes in HTTP Dynamic. 2012-08-24 14:25:58 +02:00
Thulinma
622b3ca100 Fix handling of live/recorded in bootstrap generation. 2012-08-24 12:13:15 +02:00
Thulinma
3949f6282c Added support for VoD manifests and fix HTTPDynamic loading. 2012-08-24 12:09:19 +02:00
Thulinma
29f6d53595 Updated everything to support the changeover from DTSC::DTMI -> JSON::Value. 2012-08-24 11:33:16 +02:00
Thulinma
b54ee2dcd2 Converted to new libmist JSON support, added dtscfix for metadata rewriting. 2012-08-23 17:04:43 +02:00
Thulinma
61abc0e0a1 Removed useless metadata from HTTP dynamic. 2012-08-21 17:21:49 +02:00
root
52cb6cd9df Fix connections not being moved from conn to log. 2012-08-21 17:17:52 +02:00
Thulinma
e69d2b3954 Fixed buffer not moving users from curr to log, fixed controller randomly crashing ^_^ 2012-08-21 15:23:47 +02:00
Thulinma
1c3b01a243 Added online status for connectors. 2012-08-15 02:34:41 +02:00
Thulinma
c978cf3ae6 Change uses of (long long int) and (std::string) into asInt() and asString() where appropiate. 2012-08-15 02:34:24 +02:00
root
33fedd0939 Improve on controller logging. 2012-08-14 22:25:06 +02:00
Thulinma
6d7e4f5019 Migrate some older code to new style, reducing linecount quite a bit. Moved all non-main() code to a proper namespace. Removed log messages for non-encrypted auth attempts as well as missing-password auth. Update MistBuffer calling with the new -s commandline option. Check files for existance before catting them to buffers, added an error message in case this is not possible. Fixed statistics and logs being wiped for no reason. Set limits to stats/logs stored to limit memory and disk usage to sane amounts. Added new commandline option to turn on uplink, defaulting to off for now. 2012-08-13 09:45:59 +02:00
Thulinma
54276fd9bf Make buffer's stats reporting optional through a new commandline option - defaulting to false. 2012-08-13 09:25:01 +02:00
Thulinma
79b5562123 Increased HTTP timeout to 10 seconds, removed no longer needed debug messages, fix unexpected disconnects deadlocking the proxy connections. 2012-08-09 01:52:09 +02:00
Thulinma
41d24ceee1 Fix HTTP connectors not exiting on stream end. 2012-08-09 01:50:34 +02:00