-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add go2rtc package #5889
Add go2rtc package #5889
Conversation
This commit adds the go2rtc package, a camera streaming application with support for various protocols. The package version is 1.7.1. The Makefile, PLIST, and digests for the package are created. The package is also added to the Synology package manager with the necessary configuration files, service setup script, and user interface files for installation and upgrade wizards. The package is configured to run as a background service with a dedicated user group.
now it doesn't depends on #5890 |
The maintainer of the go2rtc Makefile has been updated from AlexxIT to skrashevich. This change reflects the current responsibility for the maintenance of this file.
Co-authored-by: hgy59 <[email protected]>
@skrashevich some more suggestions
sample log file:
|
…-setup.sh to include the new configuration if the package status is INSTALL
AlexxIT/go2rtc#652 (backported in 4adbe55 ) |
Co-authored-by: hgy59 <[email protected]>
upd to 1.8.0 |
@skrashevich please avoid git |
@hgy59 Please tell me about the possibility of merging this PR into main branch? I don't want to maintain package without real feedback |
Since there is still pending work in |
What changes need to be made? Exactly; not brief ? |
@AlexxIT need your opinion |
@skrashevich I got the current version running on aarch64 with DSM 6.2.4 (DS-218+). my findings so far:
If you don't mind, I can update your PR with my probosal. |
I think it will be better if you update PR with your's proposal |
- install go2rtc.yaml file - remove environment-variables file - remove obsolete variables - DSM_UI_DIR: no app icon is created in DSM UI (and app is the default DSM_UI_DIR anyway) - SPK_COMMANDS: there is no cli tool installed (go2rtc is used in SERVICE_COMMAND only) - use sed to inject wizard variables into config file at package installation - remove upgrade wizard
@skrashevich probably there is an error in go2rtc that should be reported upstream: On the Streams page an empty "Version" is shown, but |
@skrashevich is there any reason to configure If it must be configured as |
- avoid color codes in log output - make config file more expressive by adding all listening ports (even the default ones) - update WebRTC protocol description - remove obsolete PATCH_LEVEL and include in cross/go2rtc/Makefile
it's known bug in 1.8.0 release, will be fixed soon |
@hgy59 I don't know why someone needs ipv6 in their home. Because SRTP used only for HomeKit right now. HomeKit is local thing. With 0.0.0.0 - it will be ipv4, without - ipv4+ipv6. |
in this PR in config default value is ":18443". Where did you see 0.0.0.0:18443? |
go2rtc support templates for using environment variables in any part of config: |
so, I need just to delete |
already done in 6cfd3d4 |
Thanks for this info. |
This was your code before I added go2rtc.yaml to the package: if [ "${SYNOPKG_PKG_STATUS}" == "INSTALL" ]; then
echo -e "api:\n username: ${wizard_root_user}\n password: ${wizard_root_password}\nsrtp:\n listen: 0.0.0.0:18443" > ${GO2RTC_CFG_FILE}
fi |
well, |
Documented the ports used by go2rtc on https://github.com/SynoCommunity/spksrc/wiki/SynoCommunity-Used-Ports |
Description
This PR adds the go2rtc package, a camera streaming application with support for various protocols. The package version is 1.7.1. The Makefile, PLIST, and digests for the package are created. The package is also added to the Synology package manager with the necessary configuration files, service setup script, and user interface files for installation and upgrade wizards. The package is configured to run as a background service with a dedicated user group.
Checklist
all-supported
completed successfullyType of change