From 1f4a5f855f9551098fb1a5653a3f5d3f10d99e12 Mon Sep 17 00:00:00 2001 From: Rivandraa <139041404+rivandraa@users.noreply.github.com> Date: Mon, 25 May 2026 19:34:06 +0800 Subject: [PATCH] Update go2rtc_integration.c --- src/video/go2rtc/go2rtc_integration.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/video/go2rtc/go2rtc_integration.c b/src/video/go2rtc/go2rtc_integration.c index cea264d6..d2ef2bea 100644 --- a/src/video/go2rtc/go2rtc_integration.c +++ b/src/video/go2rtc/go2rtc_integration.c @@ -1436,7 +1436,7 @@ bool go2rtc_integration_register_all_streams(void) { if (!go2rtc_stream_register(sub_name, streams[i].sub_stream_url, streams[i].onvif_username[0] != '\0' ? streams[i].onvif_username : NULL, streams[i].onvif_password[0] != '\0' ? streams[i].onvif_password : NULL, - false, streams[i].protocol, false, + false, streams[i].protocol, true, streams[i].codec)) { log_warn("Failed to register sub-stream %s with go2rtc", sub_name); } @@ -1551,7 +1551,7 @@ bool go2rtc_sync_streams_from_database(void) { log_info("Registering missing sub-stream %s with go2rtc", sub_name); go2rtc_stream_register(sub_name, db_streams[i].sub_stream_url, username, password, - false, db_streams[i].protocol, false, + false, db_streams[i].protocol, true, db_streams[i].codec); } } @@ -1951,7 +1951,7 @@ bool go2rtc_integration_register_stream(const char *stream_name) { go2rtc_stream_register(sub_name, config.sub_stream_url, username[0] != '\0' ? username : NULL, password[0] != '\0' ? password : NULL, - false, config.protocol, false, + false, config.protocol, true, config.codec); }