Commit graph

2452 commits

Author SHA1 Message Date
Thulinma
97b28bebda Packet loss stats:
- Fixed bug in packet lost stats, added packet loss and packet retransmission percentages in "totals" API
- Fixed totals and clients calls
- Push stats now includes packet loss/retransmission info
2021-10-19 22:29:41 +02:00
Thulinma
7edccd1d05 Document TSSRT push output options 2021-10-19 22:29:41 +02:00
Thulinma
49aa497a66 Added no_unconfigured_streams API call, which nukes streams that are not supposed to be running. 2021-10-19 22:29:41 +02:00
Thulinma
570ed76bd2 Added "config_backup" and "config_restore" API calls, moved "save" API call to always be last executed (guaranteeing same-call edits are part of the saved version) 2021-10-19 22:29:41 +02:00
Thulinma
9f2fe22074 Fixed buffer disconnecting pushed inputs if they shared a PID with a viewer that disconnected 2021-10-19 22:29:41 +02:00
Thulinma
3baa8d1524 TS::Packet classes no longer rely on global PMT tracking 2021-10-19 22:29:41 +02:00
Thulinma
7423868de4 Made Util::streamName and exitReason thread-local 2021-10-19 22:29:41 +02:00
Thulinma
7c6da9d455 Added generic PUSH_REWRITE trigger, fixed request URL bug 2021-10-19 22:29:41 +02:00
Thulinma
ea49344628 DTSC push output support, fixes for DTSC push input and DTSC pull output 2021-10-19 22:29:41 +02:00
Ramkoemar
77aa90d48c SRT edits:
- Increased SRT socket queue from 1 to 100
- Fixed SRT initialization (now clean)
- Made output_ts_base.cpp thread-safe
- Made Output class thread-safe
- SRT TS output can now optionally set open file limit
2021-10-19 22:29:41 +02:00
Thulinma
0bd5d742f6 SRT improvements:
- Made SRT support optional
- Make build options visible in cmake-gui
- Improved generic connection stats for outputs
- Added streamid handling configuration for MistInTSSRT
- Push input support over SRT
- Fixed support for SRT settings in push outputs
- Fix parsing of SRT-passed stream names
- Fixed hostnames in MistOutTSSRT, fixed PUSH_REWRITE trigger payload
- Opus support in TS-SRT
- Fixed SRT socket stats, fixed SRT socket address logic, improved SRT socket rolling restart support
- Fixed SRT push deny
2021-10-19 22:29:41 +02:00
Phencys
19199cbff8 TSSRT Support 2021-10-19 22:29:41 +02:00
Thulinma
974380ab30 Converted comms system entirely to being bitflag-based instead of integer state based 2021-10-19 22:29:41 +02:00
Thulinma
e6489f2d6a WebRTC certificate improvement 2021-10-19 22:29:41 +02:00
Thulinma
37cbafe284 Fixed/improved HLS subtitle support 2021-10-19 22:29:41 +02:00
Thulinma
7297336e46 Rewrite of Comms 2021-10-19 22:29:41 +02:00
Thulinma
c6265f6659 Fixed PAT/PMT/SDT continuity counters in HLS live streams 2021-10-19 22:29:41 +02:00
Thulinma
10be747522 Round down audio timestamps in PES packets, instead of rounding to nearest. Fixes HLS in Firefox. 2021-10-19 22:29:41 +02:00
Thulinma
ecee86bb1b TS analyser: make PTS/DTS precision millisecond-accurate 2021-10-19 22:29:41 +02:00
Thulinma
dc9d8c8097 Fixed multiple responses on errors 2021-10-19 22:29:41 +02:00
Thulinma
dc0cd0d451 Fixed general output shutdown behaviour and logging on end of stream, MP4 output now correctly ends HTTP response on stream end.
Bugfix in HTTP::Parser when calling Chunkify before initializing
2021-10-19 22:29:41 +02:00
Thulinma
9c71b25c06 WebRTC verbosity fix 2021-10-19 22:29:41 +02:00
Thulinma
fb56a8f9e8 Session cache fix, semaphore verbosity only in dev builds 2021-10-19 22:29:41 +02:00
Ramkoemar
fff4e2b3d4 WebRTC output DTLS optional for RTCP packets 2021-10-19 22:29:41 +02:00
Thulinma
6307428476 Attempt to make cygwin compiles work again 2021-10-19 22:29:41 +02:00
Thulinma
072e037023 Fixed H264 analyser 2021-10-19 22:29:41 +02:00
Thulinma
e6f4f1f8aa Fixed trailing zeroes in WebRTC RTP packets 2021-10-19 22:29:41 +02:00
Thulinma
942ca0c1d1 Fixed input buffering for pages ending in a key > 20s long, added debug message when output reconnects to input during prepareNext. 2021-10-19 22:29:41 +02:00
Thulinma
f4051b5916 Fixed RTSP input in newMeta build 2021-10-19 22:29:41 +02:00
Thulinma
bc3ca638cd Fixed MistInAV compiling in newMeta branches 2021-10-19 22:29:41 +02:00
Thulinma
73dc4fe7da Fixed ffmpeg process 2021-10-19 22:29:41 +02:00
Thulinma
c434d792c4 Fixed MistInBuffer compile 2021-10-19 22:29:41 +02:00
Thulinma
385cfcb761 Added raw PES dump mode to TS analyser 2021-10-19 22:29:41 +02:00
Thulinma
fc7a460c49 Added ability to set debug level for MistProc* binaries, added support for global debug level for same. 2021-10-19 22:29:41 +02:00
Thulinma
0058937772 Fix uninitialized var in output_ebml 2021-10-19 22:29:41 +02:00
Thulinma
5150a2ec32 JPG output now retries several seek points if the first is not available for some reason 2021-10-19 22:29:41 +02:00
Thulinma
8b73260194 Output::seek now returns a boolean for success/failure, patched Output::nextKeyTime to no longer crash when the current track is unloaded 2021-10-19 22:29:41 +02:00
Thulinma
027bd5f9da Speed optimizes:
- MP4 output optimizations
- DTSC::Meta::getPageNumberForTime speedup
- RelAccX class speedup
- Generic output optimizations
2021-10-19 22:29:41 +02:00
Thulinma
b8ba101a55 Robustify seeking and track selection 2021-10-19 22:29:41 +02:00
Thulinma
a0de3aeff7 Fix page handling when seeking to last packet on a page 2021-10-19 22:29:41 +02:00
Thulinma
45b5ea30ac Added location storage and handling in Controller and Load Balancer 2021-10-19 22:29:41 +02:00
Thulinma
0b6710e4eb Added ?streamstats=NAME to load balancer 2021-10-19 22:29:41 +02:00
Thulinma
49ee109b50 Added maxKeepAway option for live streams, renamed minkeepaway/keepaway to "jitter" externally, added global jitter and bframe checks in all JSON-like metadata outputs 2021-10-19 22:29:41 +02:00
Thulinma
7b523d53c7 Added track selector and user agent support in RTSP output 2021-10-19 22:29:41 +02:00
Thulinma
15c132f6f8 Added MistUtilNuke, added input PID and pull PID fields, added nuke_stream API call 2021-10-19 22:29:41 +02:00
Thulinma
ca63abae14 Added STAT_CUTOFF compile flag 2021-10-19 22:29:41 +02:00
Thulinma
b4b76850e3 Added check for removed data page during data ingest, shuts down binary to prevent crash 2021-10-19 22:29:41 +02:00
Thulinma
19a55828a3 WebRTC fixes/improvements:
- Added public host setting
- Implemented Sender Report based  track time syncing
- Added 10 second timeout for output connections (no timeout for input connections)
- Timing fixes
2021-10-19 22:29:41 +02:00
Balder
cff43da016 Fixed controller restarting always-on streams when they were, in fact, still on. 2021-10-19 22:29:41 +02:00
Thulinma
1fff195f77 Various TS improvements 2021-10-19 22:29:41 +02:00