Commit graph

  • 6010d8bbfe Debug copies Erik Zandvliet 2016-05-19 17:53:26 +02:00
  • 9b2494f5d6 Fixed a race condition in push handling. Thulinma 2016-05-19 17:42:02 +02:00
  • 5c4e0d8c54 More reasonable size for metadata Erik Zandvliet 2016-05-19 17:32:40 +02:00
  • abbc2e7e1f Tweaked sync debug message level to medium. Thulinma 2016-05-19 16:18:31 +02:00
  • 5d4366fdf1 Added URL passthrough. Thulinma 2016-05-19 15:37:17 +02:00
  • b77e7c8b7c Implemented STREAM_BUFFER RECOVER state. Thulinma 2016-05-19 15:37:07 +02:00
  • 91c226e4af Only accept keyframes when we are actually accepted Erik Zandvliet 2016-05-19 15:16:30 +02:00
  • 2bcdb74917 Possible fix? Thulinma 2016-05-19 14:07:40 +02:00
  • a1bbcefcf1 More sync debug Thulinma 2016-05-19 14:05:06 +02:00
  • c9d38107d2 Wait for keyframe in live input Erik Zandvliet 2016-05-19 13:09:31 +02:00
  • 477d5e8899 Make maxkbps default unlimited. Thulinma 2016-05-19 13:00:39 +02:00
  • 1676159298 More debugging. Thulinma 2016-05-19 12:51:51 +02:00
  • 8d3daf4def Swapped RTMP and HDS in priority ordering for playback options. Thulinma 2016-05-19 10:32:48 +02:00
  • 94020051c4 Fixed stats timing out while waiting for data, improved debug message verbosity some more. Thulinma 2016-05-19 10:31:32 +02:00
  • 601a10a275 Made verbosity of playback more sensible. Thulinma 2016-05-19 10:01:55 +02:00
  • fae86d6648 Fix strange ten minute stats pattern. Thulinma 2016-05-19 08:04:23 +02:00
  • 146685aca6 Clear prometheus output of inactive streams, make stats_streams and active_streams calls just as accurate as prometheus viewer counts. Thulinma 2016-05-19 01:14:07 +02:00
  • bb1c919948 Checksum and sync byte fixes. Thulinma 2016-05-19 00:16:52 +02:00
  • 5da3c24eae Made process library thread-safe. Thulinma 2016-05-18 23:33:27 +02:00
  • 0ea2a5e4b1 USER_NEW trigger payload updated to exact same hostname as in stats, added EXTREME-level stats debug message. Thulinma 2016-05-18 17:28:40 +02:00
  • 72de5e5b90 Changed sleep to wait everywhere where it was needed Erik Zandvliet 2016-05-18 17:06:03 +02:00
  • 3ad8317df7 Force sync when USER_NEW trigger is done. Thulinma 2016-05-18 17:03:26 +02:00
  • 1dfc22858a streamName and connector string data are now properly null-terminated in sharedStats structures, using snprintf. Thulinma 2016-05-18 16:16:42 +02:00
  • 9c20066925 Whoops. Thulinma 2016-05-18 15:37:34 +02:00
  • b475cec09f Merge branch 'development' into LTS_development Thulinma 2016-05-18 14:42:38 +02:00
  • d696082eb3 LSP - push page - stop all manual pushes cat 2016-05-17 13:53:47 +02:00
  • edb1d5ca67 Added generic session ID overrider. Thulinma 2016-05-18 13:24:23 +02:00
  • a5353b0acd Fixed autopush adding of streams that are already being pushed autopushing the autopush automatically. Autopush. Thulinma 2016-05-18 11:46:15 +02:00
  • fe0172efa9 Renamed the underrun case for STREAM_BUFFER to DRY instead of EMPTY Erik Zandvliet 2016-05-18 11:23:52 +02:00
  • b99565a3da edited some messages in LSP Balder 2016-05-18 10:55:10 +02:00
  • 5838f7a39c Made PIDs 4 bytes instead of 2. Thulinma 2016-05-18 09:57:07 +02:00
  • d7b88cfabd Sync byte timeout fixes. Thulinma 2016-05-18 01:07:50 +02:00
  • b23a811849 Fixed stats reporting corrupt stream name under certain conditions. Thulinma 2016-05-18 01:01:08 +02:00
  • e14274c89d Made controller wait instead of sleep, to prevent timing out processes too soon. Thulinma 2016-05-18 01:00:52 +02:00
  • d04774cab5 Use only session id when one is available, strips out user-agent multiples on apple devices. Erik Zandvliet 2016-05-17 14:56:03 +02:00
  • 5a8b9be44a Added a -c / --compact flag to MistAnalyserDTSC Erik Zandvliet 2016-05-17 14:46:28 +02:00
  • 24ca250d2e Prevent 0-pointer accesses. Erik Zandvliet 2016-05-17 10:56:28 +02:00
  • 081f024e2c Fix segfault in DTSC library when walking out of an incomplete object. Thulinma 2016-05-17 10:17:32 +02:00
  • 5704bb6595 Brackets to fix a negative overflow Erik Zandvliet 2016-05-17 10:02:23 +02:00
  • f641989991 Added maxconnsperip setting to controller. Only enforced if USER_NEW trigger is in use. Thulinma 2016-05-16 16:47:18 +02:00
  • 219e326048 RTMP rate-limiting implemented, RTMP push now supports leaving off the target stream name. Thulinma 2016-05-16 15:17:03 +02:00
  • 47bfebb339 Merge branch 'development' into LTS_development Thulinma 2016-05-16 16:47:52 +02:00
  • b7a69c800a Updated LSP trigger list. Thulinma 2016-05-16 16:47:45 +02:00
  • 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. Thulinma 2016-05-15 00:20:53 +02:00
  • 39a61b6380 Negotiation Speedups Erik Zandvliet 2016-05-13 11:55:07 +02:00
  • a5a9facc22 DTSC Pull optimizes and quick-negotiate. Erik Zandvliet 2016-05-10 14:12:58 +02:00
  • e8eb3a36ee Send only the first keyframe with command line file for FLV output. Erik Zandvliet 2016-05-12 15:25:29 +02:00
  • ab5b904891 Merge branch 'development' into LTS_development Thulinma 2016-05-13 17:22:13 +02:00
  • 27f9b9b4f9 LSP add push page fix for no folder streams cat 2016-05-13 14:43:08 +02:00
  • d2df5d2cae Fixed segfault when connecting to a stream that is currently shutting down. Thulinma 2016-05-12 17:29:40 +02:00
  • 97975deede Made sockets less verbose. Thulinma 2016-05-12 14:59:13 +02:00
  • 65f7ac130e Merge branch 'development' into LTS_development Thulinma 2016-05-12 14:49:52 +02:00
  • 34df78ce0b Implemented auto-re-push behaviour. Thulinma 2016-05-11 17:34:00 +02:00
  • b9f6107528 Implemented push setting storage. Thulinma 2016-05-11 15:08:22 +02:00
  • 4a3c2a055b Fixed urldecoding for receiving RTMP pushes. Thulinma 2016-05-11 14:32:18 +02:00
  • fcdf788596 Implemented RTMP push output. Thulinma 2016-05-10 14:30:39 +02:00
  • 8ddfb000df Fixed .flv recording Added .ts recording Added .mp3 recording Added support for stdout output in FLV, MP3 and HTTPTS outputs Thulinma 2016-05-10 00:19:15 +02:00
  • d832f12416 LSP Push API cat 2016-05-06 11:54:42 +02:00
  • 263dee7b25 Added push-related API calls to controller, made outputs able to wait for playable streams. Thulinma 2016-05-10 00:18:30 +02:00
  • 861b62d47b Merge branch 'development' into LTS_development Thulinma 2016-05-11 13:46:55 +02:00
  • 714915b0a8 embed code: firefox and mp4 issues cat 2016-05-10 12:45:53 +02:00
  • cc8ab01a44 Fixed MP4 byte-precise seeking + tweaks to debug message verbosity. Thulinma 2016-05-11 01:17:33 +02:00
  • ed773e1a19 Added stuck MstConfLock semaphore recovery on boot by jaron. Balder 2016-05-09 12:11:35 +02:00
  • fa41e02047 Removed 5s timeout from streamAlive call. Thulinma 2016-05-05 14:28:39 +02:00
  • 6386060c10 Changed pull mode detection to be internal to each input, made DTSC input compliant with JSON output styling guidelines. Thulinma 2016-05-05 12:48:37 +02:00
  • 7e82673a13 Minor fixes. Thulinma 2016-05-05 11:41:33 +02:00
  • dda0ea669c Fully implemented DTSC pull support Erik Zandvliet 2016-03-15 11:29:01 +01:00
  • 668560ff05 Added skipDynamic optional argument to most binary representations of metadata/tracks, which skips sending dynamic parts of the metadata if true. Thulinma 2016-02-15 11:48:45 +01:00
  • 10af060ab4 Merge branch 'development' into LTS_development Thulinma 2016-05-05 16:04:57 +02:00
  • c7e70ad9f8 LSP edits for multi-input formats. Thulinma 2016-05-05 13:23:45 +02:00
  • a17b03b3a3 Removed basepath setting from API handler. Thulinma 2016-05-04 23:21:40 +02:00
  • a247095c6d Load balancer working. Thulinma 2016-05-04 18:07:03 +02:00
  • 561a0eca57 Controller fixes. Thulinma 2016-05-04 18:07:09 +02:00
  • 1f5dfdc580 Converted argument style to new singular method. Thulinma 2016-04-28 18:58:38 +02:00
  • 5505b68bc2 Merge branch 'development' into LTS_development Thulinma 2016-05-04 16:49:57 +02:00
  • b91d817e33 LSP updates by Carina van der Meer. Thulinma 2016-05-04 16:49:15 +02:00
  • 911cb65740 Fixed host not always being set correctly, probably. Thulinma 2016-05-03 17:18:34 +02:00
  • 9e85f255ef Suppress untrusted proxy messages if not relevant. Thulinma 2016-05-03 17:01:46 +02:00
  • df16c815c2 Semaphore fixes. Thulinma 2016-05-03 16:34:19 +02:00
  • 9498f87cc3 Fixed Prometheus socket getting disconnected after each request. Thulinma 2016-05-03 15:12:02 +02:00
  • 0d17a511ef Fixed fatality in MistInBuffer. Thulinma 2016-05-03 13:34:21 +02:00
  • f4b296164e Fixed all semaphore instances not being cleaned up properly. Thulinma 2016-05-03 12:12:14 +02:00
  • dda9ed54b4 Fix track re-negotiation when needed. Thulinma 2016-05-03 10:16:48 +02:00
  • ae9e270821 Various and and sundry fixes to random buffer stuff and things. Thulinma 2016-05-03 00:52:17 +02:00
  • 12e04b45af Made the default page size a compile flag Erik Zandvliet 2016-03-10 14:22:30 +01:00
  • f26ec4c6d8 Added track index add checking for live data pages. Thulinma 2016-05-02 12:36:14 +02:00
  • aa2dd8491c Fixed a segfault in the buffer on track deletion, added a WARN-level message when/if something similar occurs. Thulinma 2016-05-01 15:56:10 +02:00
  • 4c1760f5f7 Fixed IPv6 fix for trusted proxies. Thulinma 2016-04-29 15:44:13 +02:00
  • 760ccaa00a Fixed resumeMode sometimes defaulting to true instead of false. Thulinma 2016-04-29 13:22:59 +02:00
  • 9e8b07cbfc Added STATS_DELAY compile flag for overriding the statistics delay for better or worse accuracy than the default. Thulinma 2016-04-27 12:49:25 +02:00
  • 36d8986f4b Added CPU and memory stats to instrumentation outputs. Thulinma 2016-04-26 16:18:43 +02:00
  • dbe2b1f661 HLS now sends unique session IDs for splitting sessions from each other. Thulinma 2016-04-22 14:06:03 +02:00
  • b6d879369f Added JSON instrumentation output. Thulinma 2016-04-21 17:59:29 +02:00
  • dd46788d37 Support for text-based prometheus-compatible instrumentation. Thulinma 2016-04-21 15:29:52 +02:00
  • fd123c8c1f Listening sockets now closed when forking child processes, preventing lock of ports when children aren't killed. Thulinma 2016-04-20 15:00:09 +02:00
  • 61b66e349e Added onCrash handler for inputs, buffer now does proper cleanup when crashing. Thulinma 2016-04-20 14:33:51 +02:00
  • babbcf706a Add support for telling iOS devices apart by X-Playback-Session-Id and allow IPv6-mapped IPv4 addresses to be properly recognized by the trusted proxy setting. Thulinma 2016-04-19 18:25:10 +02:00
  • 08bab96a6a Fixed X-Real-IP header support. Thulinma 2016-04-19 17:24:06 +02:00
  • de0d0cbcdb Merge branch 'development' into LTS_development Thulinma 2016-04-18 18:23:19 +02:00
  • f8d5a1f923 Added shell API helper. Thulinma 2016-04-18 18:15:58 +02:00