Commit graph

2472 commits

Author SHA1 Message Date
Marco
e55038bc46 Convert AAC and EBML outputs to properly use generic fileTarget functionality
Change-Id: I2eff10361d11de0639f8d0e97e4379ebc050155b
2023-01-24 01:54:17 +01:00
Thulinma
877216efd0 connectToFile edit that allows for custom socket passing
Change-Id: Id5da9d9c50d1997f997c9e738d8f680098901509
2023-01-24 01:40:41 +01:00
Marco van Dijk
67168b9644 Fix segfault when all selectable tracks dissappear
Change-Id: Ia3a80face7e3e08aa0c7e04fd30e4cf261337573
2023-01-05 14:24:29 +01:00
Thulinma
fbade20111 Meson edits
Change-Id: I37260c32d3b43e42ac2d6aa4f86e5a8d9446b61b
2023-01-03 23:45:10 +01:00
Thulinma
aa614aebab Make srtp2 only a dependency for MistOutWebRTC
Change-Id: I52316bbceef463844e8f8cb1ef85277c4b886814
2023-01-02 18:57:25 +01:00
Gijs Peskens
529adbfaf6 Add building via meson, remove outdated options
Co-authored-by: Thulinma <jaron@vietors.com>
Change-Id: I2a620c8d98aca7203f6742c66c3f82afe91b5c3c
2022-12-17 03:36:59 +01:00
Thulinma
4743769c15 Simplified MP4 input logic significantly, added DTSC::Meta::getPartTime() function, fixed issues with MP4 files with frame durations smaller than 1ms 2022-12-12 20:24:38 +01:00
AlexKordic
1aaaeebb24 Hard to reproduce & hard to spot race condition. (#136)
In case shared memory was resized, under `loadPageForKey()`, `loadPageForKey()` was looking at outdated data set.
2022-12-12 20:24:38 +01:00
Thulinma
b69b454cd9 MP4 input no longer hangs indefinitely when parsing a track it doesn't understand (just ignores track instead) 2022-12-12 20:24:38 +01:00
Thulinma
afbfd504fe Implemented MP4 "wave" box, added support for QuickTime-style ISOBMF AAC audio tracks ( = mp4a containing wave containing esds) 2022-12-12 20:24:38 +01:00
Thulinma
0864a6324b Fix edge case in seeking where seek happens at exact time of packet header write 2022-12-12 20:24:38 +01:00
Thulinma
a71e81eee2 Fix anti-bruteforcing sleep to be outside of any locking 2022-12-12 20:24:38 +01:00
Thulinma
5b1521c5c8 Tweaks to Sender Report timings, fixed lost packet counter in WebRTC output, WebRTC lost packets are now counted per SSRC instead of globally 2022-12-12 20:24:38 +01:00
Thulinma
229fed131e SRT push input now disconnects on track drop, kills SRT connection when shutting own for other reasons. Close both SRT and regular socket in MistOutTSSRT onFinish, so the connection is considered closed on both ends. 2022-12-12 20:24:38 +01:00
Thulinma
b571d1c0c5 Removed extraKeepAway value, superseded by MinKeepAway from track metadata 2022-12-12 20:24:38 +01:00
Thulinma
5bd58dff03 Added ATHEIST environment variable to disable angel process in Controller 2022-12-12 20:24:38 +01:00
Thulinma
0db153b7b9 Make MP4 input more consistent and verbose in erroring out during initial read 2022-10-27 16:23:00 +02:00
Thulinma
63afd0b72a Fix MP4 reading from very fast remotes 2022-10-27 16:19:55 +02:00
Thulinma
4181b52857 Silence more compile warnings, fix compilation on MacOS 2022-10-27 14:50:38 +02:00
Ivan Tivonenko
0a13ec1119 Fix compile warnings
Co-authored-by: Thulinma <jaron@vietors.com>
2022-10-27 14:50:38 +02:00
Gijs Peskens
055fb18270 Fix building against modern ffmpeg
Co-authored-by: Thulinma <jaron@vietors.com>
2022-10-27 02:46:35 +02:00
Gijs Peskens
4c6ded647f Fix building TSRist without SRT 2022-10-27 02:07:34 +02:00
Marco van Dijk
7792845238 Fix refreshing from DTSH in HLS input
Co-authored-by: Thulinma <jaron@vietors.com>
2022-10-20 14:53:26 +02:00
Thulinma
55589e4aa9 HLS input fixes + conversion to fully use the URIReader 2022-10-20 14:53:26 +02:00
Thulinma
68b2da461a Fix crash if no tracks are created by readHeader 2022-10-20 14:53:23 +02:00
Thulinma
8f0e0c8eba Fix RAX crash 2022-10-20 14:51:43 +02:00
Thulinma
8d18a54c8d Updated livepeer process with new "-K" commandline option that forces input start and waits for it to finish boot-up 2022-10-20 14:51:32 +02:00
Thulinma
0c68bb1530 Fix sessions race condition during shutdown 2022-10-17 12:11:45 +02:00
Thulinma
8175ad6dd5 Fix token handling when multiple sessions are multiplexed over a single HTTP connection 2022-10-13 13:24:20 +02:00
Thulinma
0674443066 Fix push outputs to use the correct remote addresses 2022-10-10 14:16:48 +02:00
Thulinma
7098f8430b Update input codec capabilities to be more consistent/accurate, and more easily automatically parsed 2022-10-06 16:23:29 +02:00
Marco van Dijk
8ac486b815 Completed new sessions system
Co-authored-by: Thulinma <jaron@vietors.com>
2022-10-05 03:13:52 +02:00
Ramkoemar
074e757028 Sessions rework 2022-10-05 03:09:58 +02:00
Thulinma
3e85da2afd Match libav's RTMP receive window rollover behaviour 2022-10-03 11:53:15 +02:00
Thulinma
f418fed81c Fix HLS output not setting "responded" value appropriately 2022-09-22 13:23:06 +02:00
Marco van Dijk
c10d5a7ec1 onFail on a WS connection, send the error back using the websocket request handler 2022-09-22 13:23:06 +02:00
Thulinma
2870ae1ced SRT RAW fixup 🤦 2022-08-25 11:27:55 +02:00
Thulinma
01a2ff54ed Converted MP4 input to use URIReader 2022-08-18 16:11:34 +02:00
Thulinma
747438746c Change VoD data page logic to use wallclock seconds rather than loop iterations for timeouts 2022-08-18 16:11:24 +02:00
Thulinma
44c2809733 Decreased verbosity of harmless data offset warnings, increased verbosity of harmful ones 2022-08-18 16:11:00 +02:00
Phencys
3734c90544 Added support for raw passthrough of MPEG2-TS data 2022-08-08 11:00:39 +02:00
Thulinma
fffe98804c Fixed TS SRT input not closing the connection when stopping for internal reasons rather than external reasons 2022-08-08 11:00:29 +02:00
Thulinma
5bdd4a416e Fix load balancer CPU usage 2022-08-08 10:57:37 +02:00
Thulinma
4084768a3e Improved incoming push accept timing 2022-08-08 10:57:22 +02:00
Thulinma
c37aac8898 Remove "Rate=..." debug message from RTMP push output 2022-08-04 09:14:51 +02:00
Thulinma
ed9910d587 Fix for list limit in HLS/CMAF outputs when using non-live 2022-08-03 14:58:05 +02:00
Matthew James
0430a644df Enable Parameters on TSSRT listener 2022-07-25 13:40:13 +02:00
Thulinma
1c6a483e49 Fix 32-bit compilation 2022-06-24 23:50:02 +02:00
Thulinma
9ba92823bb Updated AAC input 2022-06-23 12:06:34 +02:00
Thulinma
9232451a74 Implemented 422 status code segment skip, new reporting trigger, implements #91 2022-06-19 15:51:22 +02:00