Commit graph

5059 commits

Author SHA1 Message Date
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
Thulinma
c4e6f0ad31 Restore RTMP parameters in request URLs, handle variable parsing in trigger responses 2021-10-19 22:29:42 +02:00
Thulinma
4af7f3e9ed Load balancer:
- Tagging system + tweaks to display of offline servers in overviews
- Fixed stream name decode + tag_adjust hiding
- Added ?ingest=PERCENT to get best ingest point assuming "PERCENT" CPU usage is needed to ingest
- Fixed name length bug
- Fixed multi-add bug
- Improved shutdown speed
- Fixed add/remove race condition issues
- Robustify
2021-10-19 22:29:41 +02:00
Thulinma
e884dc0c32 Added tagging system + API to controller 2021-10-19 22:29:41 +02:00
Thulinma
9953cd6ee2 Generic HTTP handler
# Conflicts:
#	src/output/output_mp4.cpp
#	src/output/output_mp4.h
2021-10-19 22:29:41 +02:00
Thulinma
6f6827607d Fixed TS stream parser not parsing last PES packet sometimes 2021-10-19 22:29:41 +02:00
Thulinma
0c8261bf2f Added timeoffset URL param to RTMP push input, for pushing with forced time offset 2021-10-19 22:29:41 +02:00
Thulinma
209cd4c0fc Process system updates:
All processes:
- Added process status system and relevant API calls
- Added ability to set track masks for input/output in processes
- Added support for unmasking tracks when there is a push target, by the "unmask" parameter.
- Added track unmasking support for processes on exit/error
- Make processes start faster, if possible, in the first few seconds of a stream
- Delay stream ready state if there are processes attempting to start

Livepeer process updates:
- Added Content-Resolution header to MistProcLivepeer as per Livepeer's request
- Renamed transcode from "Mist Transcode" to source stream name
- Added ability to send audio to livepeer
- Robustified livepeer timing code, shutdown code, and improved GUI
- Prevent "audio keyframes" from starting segments in MistProcLivepeer
- Multithreaded (2 upload threads) livepeer process
- Stricter downloader/uploader timeout behaviour
- Robustness improvements
- Fix small segment size 😒
- Streamname correction
- Prevent getting stuck when transcoding multiple qualities and they are not equal length
- Corrected log message print error
- Race condition fix
- Now always waits for at least 1 video track
2021-10-19 22:29:41 +02:00
Thulinma
f88a8fc51c Downloader improvements:
- Added metrics to Downloader::post (only at HIGH level for successful requests)
- Improved downloader timing
- Robustness improvements
2021-10-19 22:29:41 +02:00
Thulinma
36501a618e Fix controller locking up if MstLog pipe was already blocked during start, fixed several shared memory pages not being correctly re-created on crash recovery 2021-10-19 22:29:41 +02:00
Thulinma
de0423a9da Fixed H264 analyser + H264 pretty printing improvements 2021-10-19 22:29:41 +02:00
Thulinma
7124f6070b RTMP header sends now use the current media timestamp instead of a hardcoded 0. 2021-10-19 22:29:41 +02:00
Thulinma
0d956dca26 Improvements to MistUtilRAX 2021-10-19 22:29:41 +02:00