Commit graph

5221 commits

Author SHA1 Message Date
Balder
c542155e10 added fallbackstream to tsudp input 2021-11-22 11:44:44 +01:00
Thulinma
6733bf2a20 Fixed all ARM-related issues/warnings/etc 2021-11-04 18:49:27 +01:00
Thulinma
dae32ede11 Added Util::packetSorter with async/sync modes, set DTSC outputs to use async mode 2021-11-03 14:15:52 +01:00
Thulinma
6042c1ea70 Added per-protocol default track sorting option 2021-11-03 14:15:46 +01:00
Marco van Dijk
01f11dcfda HLS input improvements:
- Added isOpen flag to the SegmentDownloader, so that we do not parse the data remaining from parseStreamHeader
- In inputHLS::firstSegment, use streamIsLive to determine vod vs live, rather than the size of userSelect
- Replaced check against 'smaller than zero', which always fails due to overflow of unsigned int
- Added print before downloading main playlist
2021-11-01 16:39:09 +01:00
Thulinma
f8251cc115 Fix fallback stream, added support for stream variables in fallback stream 2021-10-27 15:39:34 +02:00
Thulinma
aa77d86df1 Have MistInTS set the BootMsOffset correctly for live inputs 2021-10-20 13:41:20 +02:00
Thulinma
2ffd320316 JSON::Iter::remove() now resets the internal state back to the beginning of the iteration on the root JSON::Value object. 2021-10-19 22:29:42 +02:00
Thulinma
55c03fd886 Livepeer process:
- Cleanup
- Made everything except for bitrate and name optional, auto-detects and sanitizes and configures sane values in almost all cases.
- Fix sorting of profile options
- Fixed deadlock when video track does not yet have a valid width and/or height
- Fixed race condition during process boot
2021-10-19 22:29:42 +02:00
Thulinma
896b15380f Util::Procs::getOutputOf rewrite, now reads data while application is still running instead of waiting for it to exit first (prevents deadlock on boot with small pipe buffers) 2021-10-19 22:29:42 +02:00
Marco van Dijk
b37a431b41 Fix setting trackFirstmsFieldfirstMS using the correct value (and for live streams as well) 2021-10-19 22:29:42 +02:00
Marco
8b59c9abe7 Fix recstart/recstop parameters 2021-10-19 22:29:42 +02:00
Thulinma
4a712404ed Added "hold" command to WebRTC 2021-10-19 22:29:42 +02:00
Thulinma
76db36dfed Added v2 track selectors 2021-10-19 22:29:42 +02:00
Thulinma
9fc805700e CPU usage fix for URIReader::readAll 2021-10-19 22:29:42 +02:00
Thulinma
194b6e1388 HLS/HTTP fixes:
- Optimize URIReader class to not close connections if not needed
- reConnector now works for non-GET requests with GET params
- Chunk sending mode correctly kept for HLS
- Removed lots of H.Clean() from HLS that weren't needed
- Improved HTTP output class request handling logic
- Removed firstRun from HTTP output class; no longer needed
2021-10-19 22:29:42 +02:00
Thulinma
5774ce3b9e Fixed segfault in StartPiped when out of file descriptors 2021-10-19 22:29:42 +02:00
Thulinma
c02b9ef265 Fixed WebRTC packet counter for receiving broadcasts 2021-10-19 22:29:42 +02:00
Thulinma
bf2ce9a422 Implemented new active_streams API, backwards compatible with old API 2021-10-19 22:29:42 +02:00
Thulinma
64ad0ad4a9 Added JSON::Value::append() which returns a reference to a newly appended element 2021-10-19 22:29:42 +02:00
Thulinma
7d95a75492 Moved inputBuffer::fillBufferDetails to DTSC::Meta::getHealthJSON 2021-10-19 22:29:42 +02:00
Thulinma
1f390561c2 Allow setting DISKSERIAL compile variable to lock build to specific HDD serial number 2021-10-19 22:29:42 +02:00
Thulinma
f8f799422b Fixed statistics returning random data right after stream start and/or reload 2021-10-19 22:29:42 +02:00
Thulinma
fe6a0777a5 Added socket lib strict mode spool, used in WebSocket::readFrame 2021-10-19 22:29:42 +02:00
Thulinma
829c8b7948 Fixed buffer not considering all processes running if there is no stream config. 2021-10-19 22:29:42 +02:00
Thulinma
ad9e72798a Increase VoD lookahead from 20 to 120 seconds 2021-10-19 22:29:42 +02:00
Thulinma
7067e9ae52 Change debugging level for part size checks from WARN to INFO 2021-10-19 22:29:42 +02:00
Thulinma
4358215692 Removed target not changed message 2021-10-19 22:29:42 +02:00
Thulinma
a45239d5ac Improved systemd service file: added reload command and improved logging integration 2021-10-19 22:29:42 +02:00
Thulinma
98b10473a4 Added support for MIST_COLOR and MIST_LOG_SYSTEMD environment variables to affect logging 2021-10-19 22:29:42 +02:00
Thulinma
8be233ccb2 sharedPage::exists() function cleanup 2021-10-19 22:29:42 +02:00
Thulinma
f8dc1261e9 Added max<XXbps track selector that picks the highest under a specific bitrate. 2021-10-19 22:29:42 +02:00
Thulinma
4cce8baf9b Fixed zero-length sortset causing crash in MP4 output 2021-10-19 22:29:42 +02:00
Thulinma
3c09b085c0 Fix recursing flag not being false in initial doSync 2021-10-19 22:29:42 +02:00
Thulinma
f8c8f68c19 Fix HLS being seen as input during init 2021-10-19 22:29:42 +02:00
Thulinma
0a3c399a98 Ensure key and page numbers are all 32 bits, robustify/fix packet handling internals 2021-10-19 22:29:42 +02:00
Thulinma
2a5a808107 WebRTC: Fixes to packet timing and loss statistics 2021-10-19 22:29:42 +02:00
Thulinma
3ba7723b10 BootMSOffset propagation in MistProcMKVExec 2021-10-19 22:29:42 +02:00
Siddarth Tegginamani
5aa459f2c8 Bug fix: Added language information to meta data. 2021-10-19 22:29:42 +02:00
Thulinma
616c92eaa5 Improved exit reason logging in Mist::Input
# Conflicts:
#	src/input/input.cpp
2021-10-19 22:29:42 +02:00
Thulinma
118ba102f2 Fixed mkvexec race condition in shutdown on uninitialized streams 2021-10-19 22:29:42 +02:00
Thulinma
8cd0bff105 RTMP improvements for rollover behaviour 2021-10-19 22:29:42 +02:00
Thulinma
73a73abbd7 Added iceservers property to WebRTC, support passing it to the player. 2021-10-19 22:29:42 +02:00
Thulinma
119586c449 Updated .gitignore 2021-10-19 22:29:42 +02:00
Thulinma
ed1d690610 Fix socket connect issue on interrupt 2021-10-19 22:29:42 +02:00
Thulinma
248bb9c61e Sanitycheck extra sanity checks 2021-10-19 22:29:42 +02:00
Thulinma
e9ed76d361 USP CMAF push: Change to track identifier to allow for resuming 2021-10-19 22:29:42 +02:00
Thulinma
c95ab07e04 Added loss stats to prometheus output 2021-10-19 22:29:42 +02:00
Thulinma
5a53701a88 Fixed no-bframes MKV input unnecessarily delaying the stream by 16 frames every keyframe 2021-10-19 22:29:42 +02:00
Thulinma
3d4a3852d8 Typo fix in DTSC lib 2021-10-19 22:29:42 +02:00