Commit graph

2597 commits

Author SHA1 Message Date
Thulinma
3c64d67b4f Implement API websocket auth 2024-07-25 11:37:46 +02:00
Thulinma
2a98890e98 Fixed MistProcAV division by zero error 2024-07-22 15:47:16 +02:00
Thulinma
eed71b66d4 (M)JPG HTTP output support 2024-07-22 15:47:15 +02:00
Marco van Dijk
df1844391c MistProcAV: add AV1 and JPEG target codecs 2024-07-22 15:31:59 +02:00
Thulinma
dbe58bf7a2 Ensure DTSC pushes reselect tracks when idle as well 2024-07-22 13:32:13 +02:00
Thulinma
bad03412da Ensure push targets aren't overwritten when starting multiple pushes at once 2024-07-22 10:40:25 +02:00
Thulinma
9fd34c95fa WebRTC improvements:
- Return ICE headers for WHIP/WHEP/WISH OPTIONS requests already to help clients that cannot change ICE servers post-SDP-request-generation
- Fixes to WebRTC WHIP/WHEP GET param parsing
- Added "constant" GET param for forcing constant-rate playback
- Use correct syntax for WebRTC Link headers
2024-07-22 10:17:21 +02:00
Thulinma
3fe345780d Allow setting processes as inconsequential, which means the stream will be considered fully active regardless of process status; add process start behaviour config group to all processes 2024-07-20 11:58:23 +02:00
Marco van Dijk
9f97610e47 Add configurable restart behaviour for processes 2024-07-19 23:59:53 +02:00
Thulinma
fb6af1c99e No longer hardcode localhost as bandwidth exception, instead auto-config local network exceptions when no exceptions are configured yet 2024-07-17 00:39:17 +02:00
Thulinma
c6078afc24 Fix track dropping code not always dropping the userSelect when it should/could 2024-07-15 15:08:53 +02:00
Thulinma
11f19c77eb Fix controller not always updating after receiving a USR1 signal 2024-07-15 11:53:41 +02:00
Thulinma
a5d092c768 WebRTC: merge ICE sessions in into a single ICE session for all tracks 2024-07-15 11:53:20 +02:00
Thulinma
78a30e212e Added RTMPS listening port support 2024-07-15 11:47:26 +02:00
Thulinma
8fd4f29b06 Fix MistProcMKVExec segfault 2024-07-15 11:47:26 +02:00
Thulinma
e20d8fae8c Fix race condition in Livepeer process uploader 2024-07-15 11:47:26 +02:00
Thulinma
c466e6e513 Fix TS output H264 NAL unit parser 2024-07-15 11:47:23 +02:00
Thulinma
ab6d565492 Fix segfault in info websocket when requesting information on a stream that is online yet could not be opened 2024-07-15 11:37:12 +02:00
Thulinma
110a539151 Improvements and fixes to track wait code 2024-07-15 11:35:40 +02:00
Thulinma
797534b2e2 Fix segfault when reporting loss on incoming streams that are not yet accepted 2024-07-15 11:35:40 +02:00
Thulinma
c0f4bfdd5f Fix for negative MP4 CTS offsets (turns them into positive DTS/PTS offsets) 2024-07-15 11:35:40 +02:00
Thulinma
4dd6f0676c Little cleanup to MP4 input
Change-Id: I33405e515241ce2d6da409001c73d0e09ee72240
2024-07-15 11:35:40 +02:00
emranemran
f01b90f90e MistInMP4: add mov support 2024-07-15 11:35:40 +02:00
Thulinma
9451ab5f11 Allow HTTP connectors to be reused without full restart, better X-Real-IP/X-Forwarded-For handling 2024-07-15 11:35:40 +02:00
Marco van Dijk
2ee0259483 Various output fixes:
- Fixed several possible segfaults when selecting non-existing tracks in HLS
- Fixed error when requesting a stream with no compatible HLS tracks
- Fix a possible segfault when playing back an invalid track
- Fixed HLS cache control logic
- Fixed slow lookup of blank hostnames (now skips lookup entirely)
- HLS output replies with 204 rather than 200 for OPTIONS requests
- Removed out-of-the-box compatibility with iOS 10 and lower in the HTML output, in favor of better iOS 11+ support.
2024-07-10 16:21:47 +02:00
Thulinma
456fd2d555 Fix SRT input shutdown issues 2024-07-09 13:17:10 +02:00
Thulinma
46bb6a0fa5 Allow non-perfectly interleaved tracks with 100ms variance 2024-07-04 16:43:26 +02:00
Thulinma
0f51e9ff55 Most likely fix RTMP CPU usage. 2024-07-04 16:43:19 +02:00
Marco van Dijk
f009856b64 V4L2 camera support, raw pixel video support, added MistProcAV, improved MistProcFFMPEG
Co-authored-by: Thulinma <jaron@vietors.com>
Co-authored-by: Balder <balder.vietor@ddvtech.com>
2024-07-04 16:13:07 +02:00
Thulinma
5288d862e0 Init and deinit SRT properly 2024-07-04 14:41:44 +02:00
Thulinma
110c1a0013 Fixes? 2024-07-04 14:41:44 +02:00
Thulinma
f96a7201cf Do the thing™ 2024-07-04 14:41:44 +02:00
Thulinma
fef893f60a Derp 2024-07-04 14:41:44 +02:00
Balder
fe6ff1dce0 Fix for HTTPS WHIP 2024-07-04 14:20:15 +02:00
Thulinma
40e9fb26d2 Fix segfault in MistUtilRAX 2024-07-04 14:13:31 +02:00
Thulinma
e712527d42 Fix RTMP outgoing push timestamps 2024-07-04 13:25:19 +02:00
Thulinma
a1737cdf8b Fix websockets pausing and then playing when the live point is out of the DVR window 2024-07-04 11:49:29 +02:00
Thulinma
56dc2db051 Improve default seeking behaviour for websocket-based outputs 2024-07-04 11:30:58 +02:00
Balder
bd238e367e fixup for websocket based outputs 2024-07-04 10:30:01 +02:00
Thulinma
2f6cc46f88 Fix various RTMP push issues:
- Fix RTMPS pushes, fix RTMP push "secret" Adobe handshake
- Switch RTMP URL parsing to split at last slash rather than first slash
- "Fix" compatibility with GO-RTMP-based RTMP implementations.
- Fix compatibility with Odysee, which does a strict RTMP version check and doesn't like our version 1.2.3.4 I guess..?
2024-07-03 12:33:22 +02:00
Thulinma
7b18307981 Fix segfault in MistInRTSP when connection to buffer lost 2024-07-03 12:04:32 +02:00
Thulinma
b9de1e1d90 Optimize MistInBuffer to only check STREAM_BUFFER trigger when it could possibly fire 2024-07-03 12:04:32 +02:00
Thulinma
f2bb7ffa94 Prevent crash when applying limiter to a non-existing main track 2024-07-03 12:04:32 +02:00
Thulinma
90b16439cd Various HLS fixes:
- Fix HLS streamname length mismatch problems
- Prevent segfault on invalid track ID in HLS
- Fix segfault in HLS output when requesting an index for a track with exactly 1 segment available in the buffer
- Fix another HLS segfault
2024-07-03 12:04:05 +02:00
Thulinma
cf475a7c07 Prevent simultaneous access to the push list 2024-07-03 12:03:11 +02:00
Thulinma
aca4623a8a Fix various subtle concurrency issues in the controller 2024-07-03 12:02:53 +02:00
Thulinma
6eec3661ca Add support for non-URL-compatible parameter parsing (taking + to not mean space, not encoding as such either) and uses it for RTMP auth 2024-07-03 12:02:53 +02:00
Thulinma
8664daeb9a Improve and robustify local UDP port handling 2024-07-03 12:00:12 +02:00
Balder
caffcd9935 Disable liveSeek function when specified start time is used. 2024-07-03 12:00:12 +02:00
Thulinma
d1e518ae9b Added trigger instance ID and instance name headers 2024-07-03 11:03:28 +02:00