Commit graph

127 commits

Author SHA1 Message Date
Thulinma
7297336e46 Rewrite of Comms 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
45b5ea30ac Added location storage and handling in Controller and Load Balancer 2021-10-19 22:29:41 +02:00
Thulinma
19a4701be7 Added STREAM_END trigger + viewerseconds stat in prometheus output 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
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
eb8694052d Merge branch 'development' into LTS_development
# Conflicts:
#	lib/http_parser.cpp
2020-03-03 17:04:10 +01:00
Thulinma
af87ab3552 Fix stats JSON output of connector counts -_- 2020-02-27 12:07:05 +01:00
Thulinma
7a751a8382 Stats fix, removed some dead code. 2019-11-06 15:01:50 +01:00
Thulinma
5418c1fefc Generalized Util::Config::is_restarting for rolling restarts, added rolling restart support to listening socket outputs 2019-05-23 13:30:24 +02:00
Thulinma
ea443945fe Generalized Util::Config::is_restarting for rolling restarts, added rolling restart support to listening socket outputs 2019-05-23 13:28:30 +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
7f3b61978f Shared memory logic fix for quick disconnecting users, small tweak to sync byte reporting 2019-01-09 09:29:32 +01:00
Thulinma
8b7757c8e9 Added trigger statistics to Prometheus-style outputs, fixed executable triggers not correctly responding with the default on execv fail 2018-12-13 16:48:57 +01:00
Erik Zandvliet
10fa4b7e7b libmist backport from new metadata branch with improved typing and styling 2018-12-06 11:07:07 +01:00
Erik Zandvliet
2607113727 Library code style update + some minor backports from Pro edition 2018-12-04 13:11:48 +01:00
Thulinma
98e3940079 Robustify accesses to server config 2018-11-28 11:46:33 +01:00
Thulinma
ac92e09262 Robustify accesses to server config 2018-11-28 11:46:22 +01:00
Thulinma
ff0b03b01a Stats fixes 2018-11-15 10:36:16 +01:00
Thulinma
0707257127 Stats fixes 2018-11-15 10:36:03 +01:00
Thulinma
7b8497603e Viewer counter fix 2018-11-13 16:51:45 +01:00
Thulinma
0d9ff7da2e Viewer counter fix 2018-11-13 16:50:46 +01:00
Thulinma
b2995ea2db Fix statistics in Free edition 2018-10-15 13:43:51 +02:00
Thulinma
cdaf7920b0 Merge branch 'development' into LTS_development 2018-10-15 11:19:32 +02:00
Thulinma
dff150419b Prevent statistics going negative when going through server restarts 2018-10-15 11:19:10 +02:00
Thulinma
52b24757c9 Added support for JSONP mode and CORS headers to JSON Prometheus output 2018-07-10 09:44:50 +02:00
Thulinma
f618877a65 Merge branch 'development' into LTS_development 2018-06-27 13:52:52 +02:00
Thulinma
8ac475ca95 Fixed statistics. 😒 2018-06-27 13:51:42 +02:00
Thulinma
fc6d49ac1f Fixed race condition in prometheus output when adding new protocols 2018-06-14 15:02:11 +02:00
Thulinma
2d9e9f3c8b Replaced all instances of localtime with localtime_r 2018-05-21 09:53:12 +02:00
Thulinma
62ae2929a3 Merge branch 'newStatus' into Pro_newStatus
# Conflicts:
#	src/controller/controller_api.cpp
#	src/controller/controller_statistics.cpp
#	src/controller/controller_statistics.h
#	src/controller/controller_streams.cpp
2018-03-21 14:50:04 +01:00
Thulinma
e4ac68db54 Improved statistics and stream status 2018-03-21 14:46:22 +01:00
Thulinma
355d55decc Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller_api.cpp
#	src/controller/controller_api.h
#	src/controller/controller_statistics.cpp
#	src/controller/controller_statistics.h
2018-03-20 20:15:10 +01:00
Thulinma
6e0e66076d WebSocket API in controller 2018-03-20 20:07:11 +01:00
Thulinma
0dd602d5ca WebSocket API in controller 2018-03-20 20:06:37 +01:00
Thulinma
626e688bf2 Removed newline from access log message 2017-12-06 16:59:27 +01:00
Thulinma
b9a90b134d Don't print failure to tag sessions with user agent; usually not a big deal 2017-11-27 11:12:59 +01:00
Thulinma
91262767d3 Added configMutex around connector check in Prometheus output 2017-11-15 09:48:31 +01:00
Thulinma
421b77dacd Fixed starting the controller with a locked session cache. 2017-11-14 18:17:22 +01:00
Thulinma
01ffc42f9f Stats delay for input/output can now be set separately, input delay by default 2 instead of 15. 2017-11-07 11:12:24 +01:00
Thulinma
52816a8daa Added ability to pass on URLs to load balancer 2017-10-24 14:44:06 +02:00
Thulinma
e05268f670 Load balancer now detects what streams are available on what servers, does not direct traffic if not configured 2017-10-09 15:16:37 +02:00
Thulinma
f5faa61ed4 Added bandwidth API call for bandwidth limit and exception config 2017-07-05 13:47:16 +02:00
Thulinma
f695e23ffc Fixed streams being able to go inactive multiple times in a row 2017-07-04 13:23:34 +02:00