Commit graph

2554 commits

Author SHA1 Message Date
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
Thulinma
0083df681d Fix STREAM_END trigger 2024-07-03 10:59:25 +02:00
Thulinma
3422b1dbcd Remove Windows-specific shared memory implementation 2024-06-27 10:45:54 +02:00
Balder
8d264cd602 fix unrecognized procs blocking UI 2024-06-26 22:28:53 +02:00
Thulinma
a4828c087d Prevent 100% CPU usage when no packet is available and we're inserting ghost packets repeatedly. 2024-06-26 17:24:33 +02:00
Thulinma
320ed53212 Fix DTSC pull output key mismatch errors, fix not starting at keyframes 2024-06-10 15:46:11 +02:00
Thulinma
f3803aeceb Added check for failure to open metadata in DTSC pull input.
Change-Id: I690d12bd458afc1efef64f34ab2513f0f338e6a0
2024-06-10 15:46:05 +02:00
Marco van Dijk
41039483d3 (Hopefully) fix output segfaults on full shared memory page 2024-06-10 15:44:43 +02:00
Eli Mallon
20812842b9 Fix --maxkeepaway option, add to DTSC input as well 2024-06-10 15:43:26 +02:00
Thulinma
b103353cf9 Improve WebRTC things, fix CPU usage 2024-05-23 13:50:52 +02:00
Alex Henrie
ea47e19129 Fix spelling mistakes identified by Lintian
Co-authored-by: Thulinma <jaron@vietors.com>
2024-05-16 17:28:03 +02:00
Thulinma
4e2d95961f Fix JPG compile after rebase 2024-05-16 16:19:15 +02:00
Eli Mallon
e324c2ee58 refactor: capitalize Input classes, rename srt to subrip in source as well
Co-authored-by: Thulinma <jaron@vietors.com>
2024-05-16 16:07:49 +02:00
Thulinma
dbafa808b8 Fix Cygwin compilation:
- Fix various incompatibilities and differences between Linux and Cygwin builds
- Make usrsctp an optional dependency
- Fix building without SSL
- Add new secure random bytes function, use it for websockets
- Switch to libsrtp2 v2.6.0 (currently latest release)
- Add patch that makes latest libsrtp2 build in latest Cygwin
- Add patch that makes srt build in latest Cygwin
- Correctly allow linking libsrtp2 and srt to local mbedtls version
2024-04-25 12:44:38 +02:00
Thulinma
db30be38c5 Fix header includes to be a bit more consistent 2024-04-25 12:44:38 +02:00
Gijs Peskens
ebe783666f Support for upstream mbedtls versions 2 and 3 when compiled with SRTP support
Co-authored-by: Thulinma <jaron@vietors.com>
2024-02-22 17:45:47 +01:00
Thulinma
3987cfec3f Support for WebRTC data tracks (output only, for now), rewrite of dTLS integration (now part of socket lib), support for multi-path WebRTC connections 2024-02-22 17:45:44 +01:00
Thulinma
56193f89b1 Fix memory leak in RTMP receiver code 🤦‍♂️ 2024-01-15 15:22:44 +01:00
Thulinma
6bec4066a9 Added stream tagging support 2023-12-20 15:42:27 +01:00
Thulinma
67ce3b1a17 Enable updater for public builds 2023-12-20 11:24:12 +01:00
Thulinma
720f4b5d05 Added configurable input timeout for all inputs 2023-12-14 12:53:19 +01:00
Thulinma
ac58015e02 Added Meta::packetTimeToUnixMs, fixed datetimes in m3u8 recordings 2023-12-13 16:00:31 +01:00
Marco van Dijk
3fb92a01d3 TSSRT: fixes to timestamp rewriting 2023-12-13 16:00:24 +01:00
Marco van Dijk
d2d4b0acbe Segmenter: added noendlist url param to omit the ENDLIST tag 2023-12-13 16:00:18 +01:00
Balder
ec757f48e9 Added some missing capabilities to SRT
Attempted to fix SRT push & embed links.
Push works, embed needs help

Changed capa to say UDP port as it is binding UDP

added methods to dtsc for output. added webrtc whip as input push url

added url_rel to DTSC

added "/" to the always_match and source_match for SDP and playlist to match with other protocols

updated Playlist to have source/always_match as array.
Noticed "variables_match" which is unused, what to do with it?

fix typo in -h controller text
2023-12-13 13:04:44 +01:00
Marco van Dijk
d040421df9 WHIP: packet pacing fixup for WHIP/WHEP output 2023-12-13 12:58:13 +01:00
Balder
cb2c63db61 Changed SRT output default to select all tracks 2023-11-29 16:49:10 +01:00
Thulinma
7cdd58b19f MP4 analyser now supports packet data printing/parsing 2023-11-27 15:02:12 +01:00
Thulinma
16e22eadbe WebRTC websocket implementation now uses generalized base version, removed unused code from MP4 output 2023-11-27 15:02:12 +01:00
Thulinma
b9819eb40f MistInHLS improvements and speedups, part 4/2 2023-11-27 15:02:12 +01:00
Marco van Dijk
382e1eec03 MistInHLS improvements and speedups, part 3/2 2023-11-27 15:02:12 +01:00
Thulinma
26746c139d Fix buffer behaviour after changes for MistInHLS 2023-11-27 14:18:16 +01:00
Marco van Dijk
9e30444476 MistInHLS improvements and speedups, part 2/2 2023-10-23 14:21:45 +02:00
Thulinma
ed1c291955 MistInHLS improvements and speedups, part 1/2 2023-10-19 00:07:27 +02:00
Thulinma
b7c6815e4f Working MP4 push output 2023-10-17 00:13:45 +02:00
Thulinma
9b83002e69 Fixes to WebRTC capa 2023-10-17 00:13:45 +02:00
Thulinma
4d3f86aec1 Fixes to MistOutSanityCheck utility 2023-10-17 00:13:45 +02:00
Balder
431d03c733 Fix VoD seek timing issues introduced with getNowms feature 2023-10-17 00:13:45 +02:00
Marco van Dijk
5af441d16b Fixes for segfaults when the connection to the metadata gets lost
Set stream RelAccx pages to null pointers if we cannot reload those pages
2023-10-17 00:13:45 +02:00
Thulinma
b61aab8719 Speedups to output code in general and MP4 in particular 2023-10-17 00:13:45 +02:00
Balder
f384a69b71 have default segment size be used for buffer, dtsc and ts inputs 2023-10-17 00:13:45 +02:00
Thulinma
0783c11663 Update HTTP TS output to use new HTTP handler 2023-10-17 00:13:45 +02:00
Balder
d63190387a Fixes to better support Safari/MacOS/iOS playback of MP4 output
Co-authored-by: Marco van Dijk <marco@stronk.rocks>
Co-authored-by: Thulinma <jaron@vietors.com>
2023-10-17 00:13:45 +02:00
Thulinma
963d7846a8 Fix empty segment being written, fix playlist updating at all when no data was written 2023-10-17 00:13:45 +02:00