Commit graph

2849 commits

Author SHA1 Message Date
Thulinma
5759dbef0f Added "invalidate_sessions" API call, made USER_NEW trigger even more atomic. 2016-05-20 13:06:37 +02:00
Thulinma
303cc5684a Fixed streams not deactivating with history still available. 2016-05-20 13:06:37 +02:00
Erik Zandvliet
6010d8bbfe Debug copies 2016-05-19 17:53:46 +02:00
Thulinma
9b2494f5d6 Fixed a race condition in push handling. 2016-05-19 17:42:21 +02:00
Erik Zandvliet
5c4e0d8c54 More reasonable size for metadata 2016-05-19 17:32:47 +02:00
Thulinma
abbc2e7e1f Tweaked sync debug message level to medium. 2016-05-19 16:18:31 +02:00
Thulinma
5d4366fdf1 Added URL passthrough. 2016-05-19 15:37:44 +02:00
Thulinma
b77e7c8b7c Implemented STREAM_BUFFER RECOVER state. 2016-05-19 15:37:44 +02:00
Erik Zandvliet
91c226e4af Only accept keyframes when we are actually accepted 2016-05-19 15:16:51 +02:00
Thulinma
2bcdb74917 Possible fix? 2016-05-19 14:08:40 +02:00
Thulinma
a1bbcefcf1 More sync debug 2016-05-19 14:08:40 +02:00
Erik Zandvliet
c9d38107d2 Wait for keyframe in live input 2016-05-19 13:09:31 +02:00
Thulinma
477d5e8899 Make maxkbps default unlimited. 2016-05-19 13:00:39 +02:00
Thulinma
1676159298 More debugging. 2016-05-19 12:51:51 +02:00
Thulinma
8d3daf4def Swapped RTMP and HDS in priority ordering for playback options. 2016-05-19 10:32:48 +02:00
Thulinma
94020051c4 Fixed stats timing out while waiting for data, improved debug message verbosity some more. 2016-05-19 10:31:32 +02:00
Thulinma
601a10a275 Made verbosity of playback more sensible. 2016-05-19 10:01:55 +02:00
Thulinma
fae86d6648 Fix strange ten minute stats pattern. 2016-05-19 08:04:23 +02:00
Thulinma
146685aca6 Clear prometheus output of inactive streams, make stats_streams and active_streams calls just as accurate as prometheus viewer counts. 2016-05-19 01:14:07 +02:00
Thulinma
bb1c919948 Checksum and sync byte fixes. 2016-05-19 00:16:52 +02:00
Thulinma
5da3c24eae Made process library thread-safe. 2016-05-18 23:33:27 +02:00
Thulinma
0ea2a5e4b1 USER_NEW trigger payload updated to exact same hostname as in stats, added EXTREME-level stats debug message. 2016-05-18 17:29:08 +02:00
Erik Zandvliet
72de5e5b90 Changed sleep to wait everywhere where it was needed 2016-05-18 17:06:23 +02:00
Thulinma
3ad8317df7 Force sync when USER_NEW trigger is done. 2016-05-18 17:03:26 +02:00
Thulinma
1dfc22858a streamName and connector string data are now properly null-terminated in sharedStats structures, using snprintf. 2016-05-18 16:16:42 +02:00
Thulinma
9c20066925 Whoops. 2016-05-18 15:37:34 +02:00
Thulinma
b475cec09f Merge branch 'development' into LTS_development 2016-05-18 14:42:38 +02:00
cat
d696082eb3 LSP - push page - stop all manual pushes 2016-05-18 14:39:09 +02:00
Thulinma
edb1d5ca67 Added generic session ID overrider. 2016-05-18 13:24:23 +02:00
Thulinma
a5353b0acd Fixed autopush adding of streams that are already being pushed autopushing the autopush automatically. Autopush. 2016-05-18 11:46:15 +02:00
Erik Zandvliet
fe0172efa9 Renamed the underrun case for STREAM_BUFFER to DRY instead of EMPTY 2016-05-18 11:23:52 +02:00
Balder
b99565a3da edited some messages in LSP 2016-05-18 10:55:10 +02:00
Thulinma
5838f7a39c Made PIDs 4 bytes instead of 2. 2016-05-18 09:57:07 +02:00
Thulinma
d7b88cfabd Sync byte timeout fixes. 2016-05-18 01:07:50 +02:00
Thulinma
b23a811849 Fixed stats reporting corrupt stream name under certain conditions. 2016-05-18 01:01:08 +02:00
Thulinma
e14274c89d Made controller wait instead of sleep, to prevent timing out processes too soon. 2016-05-18 01:00:52 +02:00
Erik Zandvliet
d04774cab5 Use only session id when one is available, strips out user-agent multiples on apple devices. 2016-05-17 14:56:03 +02:00
Erik Zandvliet
5a8b9be44a Added a -c / --compact flag to MistAnalyserDTSC 2016-05-17 14:46:28 +02:00
Erik Zandvliet
24ca250d2e Prevent 0-pointer accesses. 2016-05-17 10:56:45 +02:00
Thulinma
081f024e2c Fix segfault in DTSC library when walking out of an incomplete object. 2016-05-17 10:17:32 +02:00
Erik Zandvliet
5704bb6595 Brackets to fix a negative overflow 2016-05-17 10:02:23 +02:00
Thulinma
f641989991 Added maxconnsperip setting to controller. Only enforced if USER_NEW trigger is in use. 2016-05-16 16:48:21 +02:00
Thulinma
219e326048 RTMP rate-limiting implemented, RTMP push now supports leaving off the target stream name. 2016-05-16 16:48:21 +02:00
Thulinma
47bfebb339 Merge branch 'development' into LTS_development 2016-05-16 16:47:52 +02:00
Thulinma
b7a69c800a Updated LSP trigger list. 2016-05-16 16:47:45 +02:00
Thulinma
dfc41cc596 Prometheus stats split over viewers, incoming and outgoing.
Load balancer updated to use new split stats and provide info per host and/or stream if requested over its port.
2016-05-15 00:20:53 +02:00
Erik Zandvliet
39a61b6380 Negotiation Speedups 2016-05-13 17:29:10 +02:00
Erik Zandvliet
a5a9facc22 DTSC Pull optimizes and quick-negotiate. 2016-05-13 17:27:25 +02:00
Erik Zandvliet
e8eb3a36ee Send only the first keyframe with command line file for FLV output. 2016-05-13 17:23:11 +02:00
Thulinma
ab5b904891 Merge branch 'development' into LTS_development 2016-05-13 17:22:13 +02:00