Commit graph

690 commits

Author SHA1 Message Date
Niels Groot Obbink
d18f13d00f fixed stream name bug, status checking 2012-08-28 10:33:47 +02:00
Niels Groot Obbink
1d2ff96f6e for readability and maintainability splitted lsp files 2012-08-28 09:43:07 +02:00
Thulinma
d7a0a60053 Require libmist-1.0 version 1.0.0 2012-08-27 00:03: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
984a422279 Again, fixed hooks. 2012-08-26 23:16:57 +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
0947512ff6 Fixed hook creator to also work when pulling. 2012-08-26 21:18:58 +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
Niels
74b02bafe2 several server.html bugs, commented all js 2012-08-21 16:16:59 +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
bc4b6c6e08 Fix possible password security problem. 2012-08-14 22:51:04 +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
5c097f16ff Change server.html to display errors if any are available (unused for now, but will be used shortly) 2012-08-13 09:23:56 +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
Thulinma
c4d0bd9691 Fix several HTTP bugs. Update libmist also for best results. 2012-08-06 05:34:32 +02:00
Thulinma
aa2e58d47b Fixed controller account creation. 2012-08-04 07:48:36 +02:00
Thulinma
b2500d90e1 Should fix HTTP "stream not found" issues. 2012-08-04 07:36:02 +02:00
Thulinma
9413e8661d Fix controller and buffer conversion to libmist commandline parser. 2012-08-02 07:48:28 +02:00
Thulinma
7b2d2f315c Fix compiling problems related to -lpthread 2012-08-02 07:47:43 +02:00
Thulinma
a04c8b1821 10h, closes #45 - New-style HTTP handling finished. Needs testing. :-) 2012-07-31 09:51:24 +02:00
Thulinma
e6ad892439 Fixed HTTP connectors to compile again, base HTTP proxy framework completed. 2012-07-24 06:35:27 +02:00
Thulinma
ffff1f9577 Converted nearly everything to new config object from library. 2012-07-21 04:32:37 +02:00
Thulinma
cecb015a4b More changes into the direction of the new HTTP connector style. 2012-07-11 11:45:11 +02:00
Thulinma
af12c6a94e Restructuring so our libraries can go into a separate libmist project. 2012-07-10 00:39:31 +02:00
Thulinma
87f4c4723c Add summary to DTSC analyser. 2012-06-21 13:16:57 +02:00
Thulinma
e89b4765ba Fixed compiling on some systems: renamed libcrypto to libkeycrypto 2012-06-18 20:37:38 +02:00
Thulinma
405b33af77 HTTP Progressive now works again. 2012-06-18 18:20:31 +02:00
Thulinma
dafe3b5fdd Added createhooks shell script that will install git hooks for auto-rebuilding on checkout/commit, make main binaries depend on VERSION file for rebuilding (otherwise version in -v is not updated). 2012-06-17 14:39:35 +02:00
Thulinma
190f020595 Merge branch 'master' into development 2012-06-17 12:57:25 +02:00
Thulinma
98cde39a8f Allow HTTP Connector to reconnect to different buffers - closes #31 2012-06-17 12:56:12 +02:00