Commit graph

117 commits

Author SHA1 Message Date
Marco van Dijk
f009856b64 V4L2 camera support, raw pixel video support, added MistProcAV, improved MistProcFFMPEG
Co-authored-by: Thulinma <jaron@vietors.com>
Co-authored-by: Balder <balder.vietor@ddvtech.com>
2024-07-04 16:13:07 +02:00
Thulinma
aca4623a8a Fix various subtle concurrency issues in the controller 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
Thulinma
db30be38c5 Fix header includes to be a bit more consistent 2024-04-25 12:44:38 +02:00
Thulinma
6bec4066a9 Added stream tagging support 2023-12-20 15:42:27 +01:00
Thulinma
f19899aed2 Added support for JSON content type in APIv1 and APIv2 calls 2023-08-23 11:06:13 +02:00
Thulinma
132e59db51 Support for reloading config from disk, writing config to disk after 60 seconds of no changes, reloading config from disk on API call request 2023-06-12 11:47:28 +02:00
Thulinma
0af85de22d UDP API port is now stored in and read from global config 2023-05-01 15:21:10 +02:00
Marco van Dijk
2b18a414b4 Added support for external writers 2023-02-22 13:25:42 +01:00
Marco van Dijk
ea25d4b74b Scheduled Pushes
Change-Id: I3d3a75f4a45d96e6a7849b14634caedd0899ac69
2023-02-09 17:51:45 +01:00
Marco van Dijk
97d24f75e4 Custom variables support
Change-Id: Ia847a868d1803dc80fdb8a627d57bba571cdee64
2023-02-09 12:49:01 +01:00
Thulinma
a71e81eee2 Fix anti-bruteforcing sleep to be outside of any locking 2022-12-12 20:24:38 +01: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
82883d39ea Removed licensing system related code 2022-02-09 12:14:58 +01:00
Thulinma
bf2ce9a422 Implemented new active_streams API, backwards compatible with old API 2021-10-19 22:29:42 +02:00
Thulinma
e884dc0c32 Added tagging system + API to controller 2021-10-19 22:29:41 +02:00
Thulinma
209cd4c0fc Process system updates:
All processes:
- Added process status system and relevant API calls
- Added ability to set track masks for input/output in processes
- Added support for unmasking tracks when there is a push target, by the "unmask" parameter.
- Added track unmasking support for processes on exit/error
- Make processes start faster, if possible, in the first few seconds of a stream
- Delay stream ready state if there are processes attempting to start

Livepeer process updates:
- Added Content-Resolution header to MistProcLivepeer as per Livepeer's request
- Renamed transcode from "Mist Transcode" to source stream name
- Added ability to send audio to livepeer
- Robustified livepeer timing code, shutdown code, and improved GUI
- Prevent "audio keyframes" from starting segments in MistProcLivepeer
- Multithreaded (2 upload threads) livepeer process
- Stricter downloader/uploader timeout behaviour
- Robustness improvements
- Fix small segment size 😒
- Streamname correction
- Prevent getting stuck when transcoding multiple qualities and they are not equal length
- Corrected log message print error
- Race condition fix
- Now always waits for at least 1 video track
2021-10-19 22:29:41 +02:00
Thulinma
49aa497a66 Added no_unconfigured_streams API call, which nukes streams that are not supposed to be running. 2021-10-19 22:29:41 +02:00
Thulinma
570ed76bd2 Added "config_backup" and "config_restore" API calls, moved "save" API call to always be last executed (guaranteeing same-call edits are part of the saved version) 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
15c132f6f8 Added MistUtilNuke, added input PID and pull PID fields, added nuke_stream API call 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
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
DDVTech
fccf66fba2 Restyle 2021-10-19 22:29:40 +02:00
Thulinma
5c8aa1bfbd Improved trustedproxy support 2021-08-30 12:43:19 +02:00
Thulinma
e6a9e5d421 Merge branch 'development' into LTS_development 2020-08-31 15:28:30 +02:00
Thulinma
ef1ee853b9 Fix shutdown API call 2020-08-31 15:27:59 +02:00
Thulinma
eb15ad41a9 Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller_api.cpp
2020-08-10 14:49:59 +02:00
Thulinma
a05dba0ce8 Added API call for shutting down MistServer from local API connections 2020-08-10 14:48:32 +02:00
Thulinma
a15b3c20f1 Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller_api.cpp
2020-07-15 19:30:40 +02:00
Thulinma
b057698018 Added api_endpoint API call to give local API endpoint address, added responses to local-only UDP API, added Socket::getSocketName(), added ability to discover current listening interface address and port for serveSocket-style functions 2020-07-15 19:29:16 +02:00
Erik Zandvliet
907be3b1f4 Playlist support 2020-01-23 13:43:51 +01:00
Thulinma
7bffdfe644 Added global configuration mechanism and defaultStream support 2019-10-31 11:19:54 +01:00
Thulinma
309d39eab7 Backported UDP API from Pro edition 2019-09-09 13:36:09 +02:00
Thulinma
4c3dfa829f Implemented certbot helper utility 2019-09-09 13:19:37 +02:00
Thulinma
ffaa0394db Implemented certbot helper utility 2019-09-09 13:16:45 +02:00
Thulinma
cc9e970ea3 More backports from Pro edition, among which HTTPS/TLS support 2019-07-13 14:23:59 +02:00
Thulinma
9d58019449 Merge branch 'development' into LTS_development 2019-01-25 22:05:35 +01:00
Thulinma
9671e385ce Added stream name to logs over websocket API 2019-01-25 22:04:26 +01:00
Thulinma
d82fc394e1 Merge branch 'development' into LTS_development
# Conflicts:
#	src/controller/controller_api.cpp
2019-01-16 15:53:57 +01:00
Thulinma
14889fa35b Added release string to API version response 2019-01-16 15:49:08 +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
b35d56cd8f Added ability to override internal UDP API bound host/port 2018-10-07 16:06:20 +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
8c2360fd56 Replaced all instances of localtime with localtime_r 2018-05-21 09:54:05 +02:00
Thulinma
2d9e9f3c8b Replaced all instances of localtime with localtime_r 2018-05-21 09:53:12 +02:00