Commit Graph

253 Commits

Author SHA1 Message Date
Alex X 8f2bb3f34b Add support key=value pair for cli config 2024-05-13 14:14:28 +03:00
Alex X 00751459a2 Merge pull request #1107 from skrashevich/version-display-enhance
feat(version): Enhancements to Version Display Functionality
2024-05-13 12:45:22 +03:00
Alex X 874c07b887 Code refactoring for #1107 2024-05-13 12:42:55 +03:00
Alex X 152df3ef5d Fix pkt_size key name in json format 2024-05-13 07:18:48 +03:00
Alex X c950bb0252 Update api.ws log messages 2024-05-13 07:00:51 +03:00
Sergey Krashevich dd7ea2657a feat(app): enhance CLI with shorthand flags and dynamic versioning
- Added shorthand flag support for `config`, `daemon`, and `version`
- Implemented dynamic version string generation using build info
- Updated flag usage output to include shorthand options and help command
2024-05-12 22:10:58 +03:00
Alex X 9160403b99 Fix device_id and device_private for HomeKit config 2024-05-12 15:59:50 +03:00
Alex X 5ccbd7c1c2 Rename param source to video for ffmpeg virtual source 2024-05-12 15:58:17 +03:00
Alex X 205018c96a Improve WebRTC candidates handling 2024-05-12 15:55:32 +03:00
Sergey Krashevich eaba451a47 refactor(app): streamline version info retrieval and formatting 2024-05-12 06:46:45 +03:00
Sergey Krashevich b7c11db604 feat(version): enhance version command output with VCS revision and timestamp 2024-05-12 06:36:25 +03:00
Alex X ee387b79e1 Update version output 2024-05-09 08:21:19 +03:00
Alex X a9f2b5158c Update version to 1.9.1 2024-05-06 20:35:28 +03:00
Alex X 09109e783e Update RTSP handle error message 2024-05-05 12:36:17 +03:00
Alex X 322c332170 Fix JPEG from mjpg-streamer project 2024-05-04 07:44:30 +03:00
Alex X 2ea66deb08 Fix multiple dial on add consumer 2024-05-03 14:30:05 +03:00
Alex X b3c5ef8c86 Add "human" error from exec source 2024-05-03 14:28:16 +03:00
Alex X fb1e7613cb Fix exec handler run pipe instead of rtsp 2024-05-03 14:04:33 +03:00
Alex X 8a7ab63b00 Add virtual source to ffmpeg (for testing) 2024-05-03 13:53:46 +03:00
Alex X 07f51e6929 Support ffmpeg source without input 2024-05-03 13:49:39 +03:00
Alex X f64d279672 Change error message for mjpeg module 2024-05-03 13:48:49 +03:00
Alex X 4185202496 Fix logger settings for api.ws module 2024-05-03 13:48:11 +03:00
Alex X 9c98f5e769 Update version to 1.9.0 2024-04-30 14:38:59 +03:00
Alex X b4a524f46d Fix tests 2024-04-30 14:25:48 +03:00
Alex X 0698f90273 Fix panic on write to WebRTC source #935 2024-04-30 11:09:41 +03:00
Alex X 52832223f8 Code refactoring after #859 2024-04-30 07:09:15 +03:00
Alex X 7a0646fd5f Merge pull request #859 from 'reifl/master' 2024-04-29 20:19:51 +03:00
Alex X 732fe47836 Merge pull request #871 from dadav/signal
Feature: Make kill signal configurable
2024-04-29 18:40:07 +03:00
Alex X 4e0185cfe6 Code refactoring after #878 2024-04-29 18:34:48 +03:00
Alex X 070ea3892f Merge pull request #913 from robvanoostenrijk/master
Added FreeBSD binaries
2024-04-29 11:27:31 +03:00
Alex X cf4f6468f3 Simplify restart func 2024-04-29 10:41:53 +03:00
Alex X c7af5028be Code fix after #963 2024-04-29 10:32:42 +03:00
Alex X 9527a2be2e Merge pull request #963 from skrashevich/simple-daemon-mode
feat(app): support daemon mode on non-Windows platforms
2024-04-29 07:52:40 +03:00
Alex X ee5c663467 Code refactoring after #963 2024-04-29 07:51:53 +03:00
Alex X 1682d18ba6 Merge pull request #1009 from skrashevich/fix-new-stream-error
fix(streams): handle interface conversion panic in NewStream() at internal/streams
2024-04-29 06:20:41 +03:00
Alex X abda47045d Fixed possible nil pointer 2024-04-28 07:15:36 +03:00
Alex X 51c5d51786 Merge pull request #1051 from ggenny/milestione/add-tls-skip-param
Integrate WebRTC with RESTful API for Milestone XProtect VMS
2024-04-28 07:13:28 +03:00
Alex X c309bb83e7 Code refactoring for Milestone client 2024-04-28 07:09:01 +03:00
Sergey Krashevich 1d59c02745 Merge branch 'AlexxIT:master' into fix-new-stream-error 2024-04-23 03:25:12 +03:00
Sergey Krashevich 905ef9b1ba Merge remote-tracking branch 'upstream/master' into sec-fix-slowloris 2024-04-20 13:56:02 +03:00
Sergey Krashevich ac3d931576 Merge remote-tracking branch 'upstream/master' into simple-daemon-mode 2024-04-20 13:54:57 +03:00
Gennaro Gallo 40dd3907a0 add insecure Tls param, skip wrong tls vms 2024-04-18 11:40:04 +02:00
Gennaro Gallo 621d2e017e fix patch with stream creation 2024-04-18 10:18:31 +02:00
Gennaro Gallo d0a9c7a126 add milestone implementation webrtc 2024-04-18 10:18:12 +02:00
Gennaro Gallo 2301d8d7b2 add milestione http request api uri 2024-04-18 10:18:01 +02:00
Sergey Krashevich e1ebed4859 fix(api): fix potential Slowloris Attack 2024-04-16 17:22:06 +03:00
Sergey Krashevich adf49b8475 feat(logging): more usable exec log 2024-04-14 21:56:07 +03:00
Sergey Krashevich 9fc3d91a17 fix(streams): handle non-string elements in slice source for NewStream 2024-03-19 09:46:56 +03:00
Sergey Krashevich 3afe8d7c1d fix(daemon-mode): handle '-daemon' argument correctly for background execution
This commit fixes the issue where the '-daemon' argument was not being properly handled when re-executing the program in daemon mode. The loop removes the '-daemon' flag from the arguments slice before the program is re-run in the background, ensuring that subsequent executions do not attempt to enter daemon mode again.

The change will prevent potential errors or unexpected behavior due to the presence of the '-daemon' argument in recursive calls, making the daemon mode feature more robust and reliable.
2024-02-24 13:04:18 +03:00
Sergey Krashevich 15c27e16cc feat(app): support daemon mode on non-Windows platforms
Added a new command-line flag `-daemon` to run the application in the background as a daemon. This option is only available for non-Windows operating systems due to platform-specific process handling. When enabled, the application restarts itself with the same arguments except for the `-daemon` flag, prints the PID of the background process, and then exits the current process.
2024-02-24 10:33:02 +03:00