Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/video/go2rtc/go2rtc_integration.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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);
Comment on lines 1551 to 1555
}
}
Expand Down Expand Up @@ -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);
Comment on lines 1951 to 1955
}

Expand Down
Loading