Commit graph

2558 commits

Author SHA1 Message Date
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
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
98cde39a8f Allow HTTP Connector to reconnect to different buffers - closes #31 2012-06-17 12:56:12 +02:00
Thulinma
a08f8e3033 Several stability improvements and optimizations for HTTP handling and parsing (also, should fix HTTP Progressive under Windows - again). 2012-06-12 10:11:58 +02:00
Thulinma
ad530a76ea Fixed invalid commandline option segfaults, renamed no-daemon to the proper nodaemon as mentioned in all documentation and help messages. 2012-06-08 18:19:43 +02:00
Thulinma
66afa76397 Support for generating new MistController API accounts from commandline. 2012-06-08 10:35:46 +02:00
Thulinma
19c7081685 Fixed RTMP desync bug with Windows clients. 2012-06-08 00:11:25 +02:00
Lekensteyn
ae057d3e78 buffer: Fail early and print diagnostic message
When /tmp/mist/ was created before as a different user, and MistBuffer was
started, it would print "End of input file - buffer shutting down". This is very
confusing, therefore fail earlier and print a more useful message even if DEBUG
is disabled.
2012-06-03 12:17:41 +02:00
Thulinma
0e510a21f8 Switch init data order for HTTP progressive, should fix video issues. 2012-05-26 21:44:19 +02:00
Thulinma
7936c7efaa Should fix all buffer-related timing issues. 2012-05-24 09:30:00 +02:00
Thulinma
7afbdd1ec3 Also fix DTSC analyser speed issues. 2012-05-23 16:09:55 +02:00
Thulinma
9fb606aa4f This should fix all DTSC reading speed-related issues. 2012-05-23 12:50:56 +02:00
Thulinma
331fac9146 Fixed HTTP Dynamic (F4V) processing. 2012-05-22 15:11:14 +02:00
Thulinma
d44eda44fe Should fix socket binding issues in cygwin. 2012-05-14 18:18:15 +02:00
Thulinma
9d8da4797f Fixed initialization issue in Buffer. 2012-05-14 17:38:31 +02:00
Thulinma
a1ac46093d Merge branch 'master' of github.com:DDVTECH/DMS 2012-05-14 16:17:42 +02:00
Thulinma
6f5bc9d7fd Should fix compile problems. 2012-05-14 16:17:15 +02:00
Erik Zandvliet
5376bf08fb Added the display of timestamps to the FLV Analyser 2012-05-14 12:43:26 +02:00
Thulinma
125febbd1a Added save settings option to controller and improved logging messages. 2012-05-13 15:32:17 +02:00
Thulinma
28fc63c5d0 Uplink mode disabled temporarily for standalone release purposes. 2012-05-11 19:17:36 +02:00