Commit graph

399 commits

Author SHA1 Message Date
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
fb56a8f9e8 Session cache fix, semaphore verbosity only in dev builds 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
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
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
3d26741148 Socket library and Config library restructuring, improvement to UDP socket reliability 2021-10-19 22:29:41 +02:00
Thulinma
5019c2418c Moved some less interesting debug messages from INFO to MEDIUM level for better readability 2021-10-19 22:29:41 +02:00
Thulinma
5e57dd57af Fixed track mismatch 100% CPU loop, added some extra logging to relevant parts. 2021-10-19 22:29:41 +02:00
Thulinma
280743051a Fixed high CPU usage on fast-playing recordings that have a dynamic end time 2021-10-19 22:29:41 +02:00
Thulinma
1bbc378458 Fixed skipahead playback timing 2021-10-19 22:29:40 +02:00
Thulinma
e6f61f5643 Do not crash if page load fails during Output::prepareNext 2021-10-19 22:29:40 +02:00
Thulinma
36a1a88cb0 Added ability to mask source tracks for processes 2021-10-19 22:29:40 +02:00
Thulinma
bd9ae56532 Timing improvements for all outputs and DTSC socket input 2021-10-19 22:29:40 +02:00
Thulinma
de4890ac20 Livepeer transcoding support 2021-10-19 22:29:40 +02:00
Thulinma
753da9bd3f Fix for unixrecstart/unixrecstop 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
d522c1d90f Merge branch 'development' into LTS_development
# Conflicts:
#	src/input/input_buffer.cpp
2020-09-30 17:29:49 +02:00
Thulinma
bafe30e234 Improvements/tests for SEM_LIVE locking 2020-09-30 17:24:57 +02:00
Thulinma
7beea43d31 Added basic stream fallback feature, allowing to redirect to a different stream name on stream source load errors 2020-01-23 13:43:31 +01:00
Thulinma
a2e2ddae1e Backport of 3.0 stream selectors 2019-11-27 10:27:14 +01:00
Thulinma
7bffdfe644 Added global configuration mechanism and defaultStream support 2019-10-31 11:19:54 +01:00
Thulinma
5be878bea5 Added support for precise splitting of pushes to disk (i.e. recording) with re-variable-ized target strings at each split 2019-09-30 16:28:10 +02:00
Thulinma
a071b365e5 Added support for duration push parameter, fixed skipping forward in recordings 2019-09-30 16:28:10 +02:00
Thulinma
2cb20efa7a Added pushdelay option for outward pushes, fixed negative starttime for RTMP output 2019-08-22 17:12:21 +02:00
Thulinma
7557cacc17 Updated usage of socket lib in accordance to socket lib edits 2019-08-14 12:09:47 +02:00
Thulinma
118978aafc Updated usage of socket lib in accordance to socket lib edits 2019-08-14 11:42:12 +02:00
Thulinma
cc9e970ea3 More backports from Pro edition, among which HTTPS/TLS support 2019-07-13 14:23:59 +02:00
Thulinma
320c8ab29f Track selector and language code support backported from Pro edition 2019-04-29 14:08:31 +02:00
Thulinma
fd34aa7e32 Merge branch 'development' into LTS_development
# Conflicts:
#	lib/stream.cpp
#	src/output/output.cpp
#	src/output/output_hls.cpp
2019-04-26 17:10:02 +02:00
Thulinma
095a60e0ed HLS stream track selector support in index URLs, fixed source matching when multi-select or type-select is used, handle user agent exceptions in Output::selectDefaultTracks(), added Util::codecString to stream.h library, removed duplicate/wrong code from DASH/HLS outputs 2019-04-26 17:03:42 +02:00
Thulinma
b8415d09c6 HLS/DASH stream track selector support in index URLs, fixed source matching when multi-select or type-select is used, handle user agent exceptions in Output::selectDefaultTracks(), added Util::codecString to stream.h library, removed duplicate/wrong code from DASH/HLS outputs 2019-04-26 13:50:39 +02:00
Thulinma
c0f72a9b75 Merge branch 'development' into LTS_development 2019-02-06 22:03:48 +01:00
Thulinma
a53661af55 Fixed weird loading issue? 2019-02-06 22:03:36 +01:00
Thulinma
05a345b832 Added support for "none" track selection 2019-02-05 15:42:38 +01: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
7f3b61978f Shared memory logic fix for quick disconnecting users, small tweak to sync byte reporting 2019-01-09 09:29:32 +01:00
Thulinma
ec0b19b92c Socket library updates to support detecting sockets passed as FDs, removed use of peek() in HTTP request handler, fixed 100% CPU usage problem for unfinished HTTP requests 2018-11-28 12:01:57 +01:00
Thulinma
6a6dd5d7ed Socket library updates to support detecting sockets passed as FDs, removed use of peek() in HTTP request handler, fixed 100% CPU usage problem for unfinished HTTP requests 2018-11-28 11:59:54 +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
Thulinma
63050951bc Fixed ARM compiles 2018-11-28 10:38:28 +01:00
Thulinma
d36faa340a Fixed ARM compiles 2018-11-28 10:37:44 +01:00