Commit graph

2977 commits

Author SHA1 Message Date
Thulinma
58c3475ca9 Allow (re)selecting newly (re)appeared tracks in RTMP output. 2016-05-27 15:02:39 +02:00
Thulinma
0d5719f76c Improved generic prepareNext() and stats() handling 2016-05-27 14:02:37 +02:00
Thulinma
5ad6679783 Optimized live packet wait loop 2016-05-26 23:36:26 +02:00
Thulinma
52d0c66166 Prevent re-initialized connections from counting bytes too eagerly. 2016-05-26 18:24:25 +02:00
Thulinma
8b87337314 Added debug message for connections switching away from an existing active session. 2016-05-26 18:16:50 +02:00
Thulinma
e95aa4f3b6 Only drop 5s inactive tracks if they have been replaced by a track of the same type that is active. 2016-05-26 12:58:48 +02:00
Thulinma
9e245c2b51 Fix stopping behaviour for outgoing pushes when streams end. 2016-05-26 12:48:52 +02:00
Thulinma
4dffb10eb9 Fixed horrible, horrible, horrible RTMP timestamp bug. 2016-05-25 16:40:21 +02:00
Thulinma
1f319cc782 shm_open failures are now on HIGH level in stead of FAIL level. 2016-05-25 16:40:08 +02:00
Thulinma
4aa4335354 Instead of reloading only TRID, reconnect to entire stream when waiting for 2+ seconds. 2016-05-25 16:39:46 +02:00
Thulinma
070b4d7866 RTMP push output fixes, RTMP input read fixes. 2016-05-25 14:36:44 +02:00
Thulinma
e65c43defc Made RTMP push output not work in real-time mode, but fast-as-possible mode. 2016-05-25 13:16:19 +02:00
Thulinma
3bbda96ca0 More debug level tweaks at production level. 2016-05-25 13:16:19 +02:00
Thulinma
3c5f612709 Made wrong packet order message much less spammy. 2016-05-25 13:16:19 +02:00
Thulinma
d05ae8fa23 More debug output for handling timed out tracks, including possible workaround and/or fix. 2016-05-25 13:16:19 +02:00
Erik Zandvliet
ef884845e0 Working TS Input on current LTS 2016-05-25 13:15:23 +02:00
Thulinma
3c4bc6a006 Disable shared memory stats for Windows builds. 2016-05-25 12:24:56 +02:00
Thulinma
6caa02c63f Prevent sessions from becoming unset. 2016-05-24 11:12:54 +02:00
Thulinma
aac1fcc351 Tweaked output log message verbosity 2016-05-24 11:07:01 +02:00
Thulinma
69eea675eb Fixed push-out shutting down the logger, added debug message for logger exiting. 2016-05-23 16:59:39 +02:00
Thulinma
5fbf4dd23b SHM statistics in prometheus output 2016-05-23 14:32:01 +02:00
Thulinma
3d5f0ff5ba Made DTSC output either list as input or output, but never as viewer. 2016-05-23 11:54:36 +02:00
Thulinma
254fb94b62 Fixed reconnect() sometimes segfaulting for live streams on first attempt. 2016-05-23 11:48:59 +02:00
Thulinma
4f5004e2f7 Improved deleted index debug message verbosity. 2016-05-23 10:38:38 +02:00
Thulinma
4b2a8d4b33 Fixed TRID sizes to always be 8kb. 2016-05-23 10:38:25 +02:00
Thulinma
1193c6354b Revert "Debug copies"
This reverts commit 6010d8bbfe.
2016-05-20 16:02:05 +02:00
Thulinma
4da9feea1f Fix timeout bug. 2016-05-20 15:57:06 +02:00
Thulinma
089940145e Disabled USER_NEW for INPUT and OUTPUT type connections. Only real viewers trigger USER_NEW now. 2016-05-20 14:21:48 +02:00
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