Commit graph

200 commits

Author SHA1 Message Date
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
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
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
Thulinma
7aa105748f Fix SRT input 2022-06-01 15:59:37 +02:00
Thulinma
d6bd9bee46 Live stream inputs now track buffer status 2022-06-01 15:58:17 +02:00
Thulinma
ad4c1abd0b Playlist support fixed 2021-12-24 15:09:36 +01:00
Marco van Dijk
3d9ed39396 setstreamVodField and streamLiveField no longer mutually exclusive
Removed curPage map from IO. bufferFrame now creates this variable locally and passes it to bufferStart, bufferFinalize and bufferNext
Fix keyNum selection with mixed live & VoD data
Fix bufferframe to handle mixed VoD and live
Added check to bufferFrame to not start the countdown timer for removing live pages
Fixed countdown timer being set using keyNum rather than pageNumber, which resulted in the wrong pages being deleted
livePage variable moved from static to private variable to correctly handle multithreaded inputs

# Conflicts:
#	src/io.cpp
#	src/output/output.cpp
2021-11-22 15:38:58 +01:00
Thulinma
6733bf2a20 Fixed all ARM-related issues/warnings/etc 2021-11-04 18:49:27 +01: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
616c92eaa5 Improved exit reason logging in Mist::Input
# Conflicts:
#	src/input/input.cpp
2021-10-19 22:29:42 +02:00
Thulinma
63acbb1ddb Fixes for DTSC metadata handling 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
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
7297336e46 Rewrite of Comms 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
15c132f6f8 Added MistUtilNuke, added input PID and pull PID fields, added nuke_stream API call 2021-10-19 22:29:41 +02:00
Thulinma
1fff195f77 Various TS improvements 2021-10-19 22:29:41 +02:00
Thulinma
3d26741148 Socket library and Config library restructuring, improvement to UDP socket reliability 2021-10-19 22:29:41 +02:00
Thulinma
3dfe377b9c Removed unneeded userSelect reload in inputs 2021-10-19 22:29:41 +02:00
Thulinma
dc2239e70f Slight improvements + more sanity checks in page buffering 2021-10-19 22:29:40 +02:00
Thulinma
3ca1ea3b30 Temp fix for invalid tracks 2021-10-19 22:29:40 +02:00
Thulinma
771fad390a Allow overriding application name with -DAPPNAME="Name here" 2021-10-19 22:29:40 +02:00
Thulinma
a8e04e1787 Fixes to CMAF output 2021-10-19 22:29:40 +02:00
Thulinma
0af992d405 Various fixes, among which:
- Fixed segfault when attempting to initialseek on disconnected streams
- Fix 100% CPU bug in controller's stats code
- WebRTC UDP bind socket improvements
- Several segfault fixes
- Increased packet reordering buffer size from 30 to 150 packets
- Tweaks to default output/buffer behaviour for incoming pushes
- Added message for load balancer checks
- Fixed HLS content type
- Stats fixes
- Exit reason fixes
- Fixed socket IP address detection
- Fixed non-string arguments for stream settings
- Added caching for getConnectedBinHost()
- Added WebRTC playback rate control
- Added/completed VP8/VP9 support to WebRTC/RTSP
- Added live seek option to WebRTC
- Fixed seek to exactly newest timestamp
- Fixed HLS input

# Conflicts:
#	lib/defines.h
#	src/input/input.cpp
2021-10-19 22:29:40 +02:00
Phencys
2b99f2f5ea New Meta commit 2021-10-19 22:29:40 +02:00
DDVTech
fccf66fba2 Restyle 2021-10-19 22:29:40 +02:00
Thulinma
637c57be5e FFMPEG process fixes/improvements 2021-10-19 22:29:39 +02:00
Thulinma
dbafdf6744 Correct handling of reaper thread in forking binaries 2021-03-19 22:47:06 +01:00
Thulinma
5f8518fe23 Fix playlist support not resuming on the correct page number and/or with the correct timestamp 2021-02-19 22:45:51 +01:00
Thulinma
f38ec0322e Improvements/tests for SEM_LIVE locking for iRankLocally 2020-09-30 17:31:13 +02:00
Thulinma
ead45b4fb8 Fixes to playlist support 2020-01-23 13:43:55 +01:00
Erik Zandvliet
907be3b1f4 Playlist support 2020-01-23 13:43:51 +01:00
Thulinma
c64160f4d8 Merge branch 'development' into LTS_development 2019-11-27 10:26:41 +01:00
Thulinma
45b245ad4e Improved input shutdown reason detection 2019-11-27 10:25:50 +01:00
Thulinma
eac05f7ba3 SRT "native" support, NOFORK env variable support for inputs 2019-08-06 14:42:47 +02:00
Thulinma
26c9f964be Merge branch 'development' into LTS_development 2019-05-23 12:42:19 +02:00
Thulinma
d0868d0f42 Added "version" element to JSON outputs of binaries, added version check in controller (ignores mismatched binaries now) 2019-05-23 12:36:45 +02:00
Thulinma
36d0981f87 Merge branch 'development' into LTS_development 2019-05-16 13:49:02 +02:00
Thulinma
488cd0434a Windows fix for stream status 2019-05-16 13:48:57 +02:00
Thulinma
01d43796ad 32-bit fixes 2019-01-26 00:51:30 +01:00
Thulinma
9e1539a2b9 Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller_statistics.cpp
#	src/input/input_buffer.cpp
#	src/input/input_dtsc.cpp
#	src/input/input_ebml.cpp
#	src/input/input_flv.cpp
#	src/input/input_mp3.cpp
#	src/output/output_httpts.cpp
#	src/output/output_progressive_mp3.cpp
#	src/output/output_progressive_mp4.cpp
2019-01-25 23:57:42 +01:00
Thulinma
7565704fdc Fixed 32-bit compile issues 2019-01-25 23:49:56 +01:00
Thulinma
83665c4e3b Merge branch 'development' into LTS_development 2018-11-28 11:55:15 +01:00
Thulinma
3cb03392e1 Added stream name to logging 2018-11-28 11:55:08 +01:00