Owner sign-off: replace root LICENSE with Apache License 2.0, add a root NOTICE file, and swap the GPL-2.0 boilerplate header in every first-party core/ and obs-adapter/ source file for a short Apache-2.0 notice. This resolves review finding C2 (GPLv2 top-level LICENSE vs. the vendored Apache-2.0 LiveKit SDK is a license-compatibility violation): the whole repo is now Apache-2.0, matching LiveKit, so there's no GPL/Apache clash left. Updated the README Status gate and the CI workflow comment to reflect that C2 is resolved, while leaving the C1 WebRTC/OpenH264 patent/royalty gate untouched -- that question is still open and still blocks release. third_party/ stays under its own upstream licenses; only this project's own code changed hands. All 6 CTest suites still pass after the header swap. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RL8abRmgFXkVASHkkqiJbE
32 lines
861 B
C++
32 lines
861 B
C++
/*
|
|
streamer-tools OBS Camera Plugin - core library
|
|
Copyright (C) 2026 CyberCoveLLC <jknapp85@gmail.com>
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
*/
|
|
|
|
#include "stplugin/core.h"
|
|
#include "stplugin/core_c.h"
|
|
|
|
namespace stplugin {
|
|
|
|
const char *core_version() {
|
|
// Injected by CMake from the top-level project() version, so the string
|
|
// OBS logs on load is the actual build, not a hand-maintained literal.
|
|
return STPLUGIN_CORE_VERSION;
|
|
}
|
|
|
|
bool ConnectionConfig::is_valid() const {
|
|
return !server_url.empty() && !room_slug.empty() && !read_key.empty();
|
|
}
|
|
|
|
} // namespace stplugin
|
|
|
|
extern "C" const char *stplugin_core_version(void) {
|
|
return stplugin::core_version();
|
|
}
|