From 41952f060cdb450e220e41662edcc3e9d111b383 Mon Sep 17 00:00:00 2001 From: Troy Benson Date: Mon, 19 Feb 2024 16:42:44 +0000 Subject: [PATCH] chore: change license The reason for this change is that we want to license all library code under MIT or Apache 2.0 and then license ScuffleVideo as BSL-1.0. The BSL-1.0 License will convert to Apache 2.0 after 4 years. The BSL license allows for anyone to use the software baring the fact that they are not running a managed service of Scuffle Video to sell that to 3rd parties. --- LICENSE.md | 11 -- README.md | 10 ++ binary-helper/APACHE2_LICENSE | 1 + binary-helper/Cargo.toml | 1 + binary-helper/LICENSE.md | 1 - binary-helper/MIT_LICENSE | 1 + config/APACHE2_LICENSE | 1 + config/Cargo.toml | 2 +- config/LICENSE | 7 - config/MIT_LICENSE | 1 + config/derive/APACHE2_LICENSE | 1 + config/derive/Cargo.toml | 2 +- config/derive/LICENSE | 1 - config/derive/MIT_LICENSE | 1 + ffmpeg/APACHE2_LICENSE | 1 + ffmpeg/Cargo.toml | 3 +- ffmpeg/MIT_LICENSE | 1 + licenses/APACHE2_LICENSE | 191 +++++++++++++++++++++++ licenses/BSL_LICENSE | 114 ++++++++++++++ utils/LICENSE => licenses/MIT_LICENSE | 2 +- licenses/README.md | 33 ++++ platform/api/APACHE2_LICENSE | 1 + platform/api/Cargo.toml | 1 + platform/api/LICENSE.md | 1 - platform/api/MIT_LICENSE | 1 + platform/image_processor/APACHE2_LICENSE | 1 + platform/image_processor/Cargo.toml | 1 + platform/image_processor/MIT_LICENSE | 1 + platform/website/APACHE2_LICENSE | 1 + platform/website/LICENSE.md | 1 - platform/website/MIT_LICENSE | 1 + platform/website/package.json | 1 + proto/BSL_LICENSE | 1 + proto/Cargo.toml | 1 + utils/APACHE2_LICENSE | 1 + utils/Cargo.toml | 2 +- utils/MIT_LICENSE | 1 + video/api/BSL_LICENSE | 1 + video/api/Cargo.toml | 1 + video/api/LICENSE.md | 1 - video/cli/BSL_LICENSE | 1 + video/cli/Cargo.toml | 1 + video/common/BSL_LICENSE | 1 + video/common/Cargo.toml | 1 + video/edge/BSL_LICENSE | 1 + video/edge/Cargo.toml | 1 + video/edge/LICENSE.md | 1 - video/ingest/BSL_LICENSE | 1 + video/ingest/Cargo.toml | 1 + video/ingest/LICENSE.md | 1 - video/lib/aac/APACHE2_LICENSE | 1 + video/lib/aac/Cargo.toml | 1 + video/lib/aac/LICENSE.md | 1 - video/lib/aac/MIT_LICENSE | 1 + video/lib/amf0/APACHE2_LICENSE | 1 + video/lib/amf0/Cargo.toml | 1 + video/lib/amf0/LICENSE.md | 1 - video/lib/amf0/MIT_LICENSE | 1 + video/lib/av1/APACHE2_LICENSE | 1 + video/lib/av1/Cargo.toml | 1 + video/lib/av1/LICENSE.md | 1 - video/lib/av1/MIT_LICENSE | 1 + video/lib/bytesio/APACHE2_LICENSE | 1 + video/lib/bytesio/Cargo.toml | 1 + video/lib/bytesio/LICENSE.md | 1 - video/lib/bytesio/MIT_LICENSE | 1 + video/lib/exp_golomb/APACHE2_LICENSE | 1 + video/lib/exp_golomb/Cargo.toml | 1 + video/lib/exp_golomb/LICENSE.md | 1 - video/lib/exp_golomb/MIT_LICENSE | 1 + video/lib/flv/APACHE2_LICENSE | 1 + video/lib/flv/Cargo.toml | 1 + video/lib/flv/LICENSE.md | 1 - video/lib/flv/MIT_LICENSE | 1 + video/lib/h264/APACHE2_LICENSE | 1 + video/lib/h264/Cargo.toml | 1 + video/lib/h264/LICENSE.md | 1 - video/lib/h264/MIT_LICENSE | 1 + video/lib/h265/APACHE2_LICENSE | 1 + video/lib/h265/Cargo.toml | 1 + video/lib/h265/LICENSE.md | 1 - video/lib/h265/MIT_LICENSE | 1 + video/lib/mp4/APACHE2_LICENSE | 1 + video/lib/mp4/Cargo.toml | 1 + video/lib/mp4/LICENSE.md | 1 - video/lib/mp4/MIT_LICENSE | 1 + video/lib/rtmp/APACHE2_LICENSE | 1 + video/lib/rtmp/Cargo.toml | 1 + video/lib/rtmp/LICENSE.md | 1 - video/lib/rtmp/MIT_LICENSE | 1 + video/lib/transmuxer/APACHE2_LICENSE | 1 + video/lib/transmuxer/Cargo.toml | 1 + video/lib/transmuxer/LICENSE.md | 1 - video/lib/transmuxer/MIT_LICENSE | 1 + video/player/BSL_LICENSE | 1 + video/player/Cargo.toml | 2 +- video/player/LICENSE.md | 1 - video/player/package.json | 1 + video/player_types/BSL_LICENSE | 1 + video/player_types/Cargo.toml | 1 + video/transcoder/BSL_LICENSE | 1 + video/transcoder/Cargo.toml | 1 + video/transcoder/LICENSE.md | 1 - 103 files changed, 425 insertions(+), 45 deletions(-) delete mode 100644 LICENSE.md create mode 120000 binary-helper/APACHE2_LICENSE delete mode 120000 binary-helper/LICENSE.md create mode 120000 binary-helper/MIT_LICENSE create mode 120000 config/APACHE2_LICENSE delete mode 100644 config/LICENSE create mode 120000 config/MIT_LICENSE create mode 120000 config/derive/APACHE2_LICENSE delete mode 120000 config/derive/LICENSE create mode 120000 config/derive/MIT_LICENSE create mode 120000 ffmpeg/APACHE2_LICENSE create mode 120000 ffmpeg/MIT_LICENSE create mode 100644 licenses/APACHE2_LICENSE create mode 100644 licenses/BSL_LICENSE rename utils/LICENSE => licenses/MIT_LICENSE (97%) create mode 100644 licenses/README.md create mode 120000 platform/api/APACHE2_LICENSE delete mode 120000 platform/api/LICENSE.md create mode 120000 platform/api/MIT_LICENSE create mode 120000 platform/image_processor/APACHE2_LICENSE create mode 120000 platform/image_processor/MIT_LICENSE create mode 120000 platform/website/APACHE2_LICENSE delete mode 120000 platform/website/LICENSE.md create mode 120000 platform/website/MIT_LICENSE create mode 120000 proto/BSL_LICENSE create mode 120000 utils/APACHE2_LICENSE create mode 120000 utils/MIT_LICENSE create mode 120000 video/api/BSL_LICENSE delete mode 120000 video/api/LICENSE.md create mode 120000 video/cli/BSL_LICENSE create mode 120000 video/common/BSL_LICENSE create mode 120000 video/edge/BSL_LICENSE delete mode 120000 video/edge/LICENSE.md create mode 120000 video/ingest/BSL_LICENSE delete mode 120000 video/ingest/LICENSE.md create mode 120000 video/lib/aac/APACHE2_LICENSE delete mode 120000 video/lib/aac/LICENSE.md create mode 120000 video/lib/aac/MIT_LICENSE create mode 120000 video/lib/amf0/APACHE2_LICENSE delete mode 120000 video/lib/amf0/LICENSE.md create mode 120000 video/lib/amf0/MIT_LICENSE create mode 120000 video/lib/av1/APACHE2_LICENSE delete mode 120000 video/lib/av1/LICENSE.md create mode 120000 video/lib/av1/MIT_LICENSE create mode 120000 video/lib/bytesio/APACHE2_LICENSE delete mode 120000 video/lib/bytesio/LICENSE.md create mode 120000 video/lib/bytesio/MIT_LICENSE create mode 120000 video/lib/exp_golomb/APACHE2_LICENSE delete mode 120000 video/lib/exp_golomb/LICENSE.md create mode 120000 video/lib/exp_golomb/MIT_LICENSE create mode 120000 video/lib/flv/APACHE2_LICENSE delete mode 120000 video/lib/flv/LICENSE.md create mode 120000 video/lib/flv/MIT_LICENSE create mode 120000 video/lib/h264/APACHE2_LICENSE delete mode 120000 video/lib/h264/LICENSE.md create mode 120000 video/lib/h264/MIT_LICENSE create mode 120000 video/lib/h265/APACHE2_LICENSE delete mode 120000 video/lib/h265/LICENSE.md create mode 120000 video/lib/h265/MIT_LICENSE create mode 120000 video/lib/mp4/APACHE2_LICENSE delete mode 120000 video/lib/mp4/LICENSE.md create mode 120000 video/lib/mp4/MIT_LICENSE create mode 120000 video/lib/rtmp/APACHE2_LICENSE delete mode 120000 video/lib/rtmp/LICENSE.md create mode 120000 video/lib/rtmp/MIT_LICENSE create mode 120000 video/lib/transmuxer/APACHE2_LICENSE delete mode 120000 video/lib/transmuxer/LICENSE.md create mode 120000 video/lib/transmuxer/MIT_LICENSE create mode 120000 video/player/BSL_LICENSE delete mode 120000 video/player/LICENSE.md create mode 120000 video/player_types/BSL_LICENSE create mode 120000 video/transcoder/BSL_LICENSE delete mode 120000 video/transcoder/LICENSE.md diff --git a/LICENSE.md b/LICENSE.md deleted file mode 100644 index 37130dd1..00000000 --- a/LICENSE.md +++ /dev/null @@ -1,11 +0,0 @@ -Copyright (c) 2023 Scuffle. All rights reserved. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -3. All advertising materials mentioning features or use of this software must display the following acknowledgement: - This product includes software developed by the organization. -4. Neither the name of the copyright holder nor the names the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY COPYRIGHT HOLDER "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/README.md b/README.md index 784430d2..aa7e0b90 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,13 @@ This project is very much a WIP and has no functional component right now! For more information on what this is going to be, check out [our conference](https://www.youtube.com/watch?v=QvQpMRkzoVM&t=593s) You can also look at our [design documents](./design/README.md). + +## License + +This project is licensed under multiple licenses. + +For all libraries written by Scuffle, the [MIT](./licenses/MIT_LICENSE) or [Apache 2.0](./licenses/APACHE2_LICENSE) license is used. + +For non-libary code such as applications, the [BSL 1.0](./licenses/BSL_LICENSE) license is used. + +For more information, see the [licenses](./licenses/README.md) readme. diff --git a/binary-helper/APACHE2_LICENSE b/binary-helper/APACHE2_LICENSE new file mode 120000 index 00000000..f7ae1b66 --- /dev/null +++ b/binary-helper/APACHE2_LICENSE @@ -0,0 +1 @@ +../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/binary-helper/Cargo.toml b/binary-helper/Cargo.toml index 0cce7f41..8bc43a46 100644 --- a/binary-helper/Cargo.toml +++ b/binary-helper/Cargo.toml @@ -2,6 +2,7 @@ name = "binary-helper" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] tracing = "0.1" diff --git a/binary-helper/LICENSE.md b/binary-helper/LICENSE.md deleted file mode 120000 index 7eabdb1c..00000000 --- a/binary-helper/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../LICENSE.md \ No newline at end of file diff --git a/binary-helper/MIT_LICENSE b/binary-helper/MIT_LICENSE new file mode 120000 index 00000000..b0845139 --- /dev/null +++ b/binary-helper/MIT_LICENSE @@ -0,0 +1 @@ +../licenses/MIT_LICENSE \ No newline at end of file diff --git a/config/APACHE2_LICENSE b/config/APACHE2_LICENSE new file mode 120000 index 00000000..f7ae1b66 --- /dev/null +++ b/config/APACHE2_LICENSE @@ -0,0 +1 @@ +../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/config/Cargo.toml b/config/Cargo.toml index 0a230071..93b0fa59 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -7,7 +7,7 @@ description = "Extensible config solution" repository = "https://github.com/ScuffleTV/scuffle" categories = ["config"] keywords = ["config", "cli", "proc-macro"] -license = "MIT" +license = "MIT or Apache-2.0" documentation = "https://docs.rs/scuffle-config" [lib] diff --git a/config/LICENSE b/config/LICENSE deleted file mode 100644 index b84574f0..00000000 --- a/config/LICENSE +++ /dev/null @@ -1,7 +0,0 @@ -Copyright 2024 ScuffleTV - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/config/MIT_LICENSE b/config/MIT_LICENSE new file mode 120000 index 00000000..b0845139 --- /dev/null +++ b/config/MIT_LICENSE @@ -0,0 +1 @@ +../licenses/MIT_LICENSE \ No newline at end of file diff --git a/config/derive/APACHE2_LICENSE b/config/derive/APACHE2_LICENSE new file mode 120000 index 00000000..4eaff731 --- /dev/null +++ b/config/derive/APACHE2_LICENSE @@ -0,0 +1 @@ +../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/config/derive/Cargo.toml b/config/derive/Cargo.toml index bfea5f44..76ded2b7 100644 --- a/config/derive/Cargo.toml +++ b/config/derive/Cargo.toml @@ -7,7 +7,7 @@ description = "Extensible config solution" repository = "https://github.com/ScuffleTV/scuffle" categories = ["config"] keywords = ["config", "cli", "proc-macro"] -license = "MIT" +license = "MIT or Apache-2.0" [lib] name = "config_derive" diff --git a/config/derive/LICENSE b/config/derive/LICENSE deleted file mode 120000 index ea5b6064..00000000 --- a/config/derive/LICENSE +++ /dev/null @@ -1 +0,0 @@ -../LICENSE \ No newline at end of file diff --git a/config/derive/MIT_LICENSE b/config/derive/MIT_LICENSE new file mode 120000 index 00000000..9b50c52e --- /dev/null +++ b/config/derive/MIT_LICENSE @@ -0,0 +1 @@ +../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/ffmpeg/APACHE2_LICENSE b/ffmpeg/APACHE2_LICENSE new file mode 120000 index 00000000..f7ae1b66 --- /dev/null +++ b/ffmpeg/APACHE2_LICENSE @@ -0,0 +1 @@ +../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/ffmpeg/Cargo.toml b/ffmpeg/Cargo.toml index 5f92db41..7106eb94 100644 --- a/ffmpeg/Cargo.toml +++ b/ffmpeg/Cargo.toml @@ -2,8 +2,7 @@ name = "ffmpeg" version = "0.1.0" edition = "2021" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +license = "MIT or Apache-2.0" [dependencies] ffmpeg-sys-next = "6.1" diff --git a/ffmpeg/MIT_LICENSE b/ffmpeg/MIT_LICENSE new file mode 120000 index 00000000..b0845139 --- /dev/null +++ b/ffmpeg/MIT_LICENSE @@ -0,0 +1 @@ +../licenses/MIT_LICENSE \ No newline at end of file diff --git a/licenses/APACHE2_LICENSE b/licenses/APACHE2_LICENSE new file mode 100644 index 00000000..35e8bcf8 --- /dev/null +++ b/licenses/APACHE2_LICENSE @@ -0,0 +1,191 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + Copyright 2024 Scuffle. + + 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 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/licenses/BSL_LICENSE b/licenses/BSL_LICENSE new file mode 100644 index 00000000..f807cb1e --- /dev/null +++ b/licenses/BSL_LICENSE @@ -0,0 +1,114 @@ +Business Source License 1.1 + +Parameters + +Licensor: Scuffle +Licensed Work: Scuffle 1.0 + The Licensed Work is (c) 2024 Scuffle. + +Additional Use Grant: Subject to the terms and conditions of this License, the Licensor hereby grants + you a non-exclusive, worldwide, royalty-free license to use the Licensed Work + for developing and operating digital platforms that facilitate user-generated + video content sharing and live streaming interactions ("Permitted Platforms"). + Such platforms are intended to enable users to create, share, and engage with + video and live streaming content in a community-centric environment. + + Notwithstanding the foregoing, this license explicitly excludes any use of the + Licensed Work for the development, operation, or provision of managed content + delivery network (CDN) services or managed live streaming services that offer the + Licensed Work as a managed instance for third-party integration. This exclusion + applies to services primarily focused on the distribution, optimization, or + reliability enhancement of streaming or static content across the internet in a + commercial, managed service model ("Excluded Services"). + + This Grant aims to promote innovation in digital media platforms centered on user + engagement and content creation, while prohibiting the use of the Licensed Work + for creating, offering, or managing infrastructure services for third-party content + delivery and live streaming optimization. + +Change Date: 2028-01-01 + +Change License: Apache License, Version 2.0 + +For information about alternative licensing arrangements for the Software, +please visit: https://scuffle.tv + +Notice + +The Business Source License (this document, or the “License”) is not an Open +Source license. However, the Licensed Work will eventually be made available +under an Open Source License, as stated in this License. + +License text copyright (c) 2017 MariaDB Corporation Ab, All Rights Reserved. +“Business Source License” is a trademark of MariaDB Corporation Ab. + +----------------------------------------------------------------------------- + +Business Source License 1.1 + +Terms + +The Licensor hereby grants you the right to copy, modify, create derivative +works, redistribute, and make non-production use of the Licensed Work. The +Licensor may make an Additional Use Grant, above, permitting limited +production use. + +Effective on the Change Date, or the fourth anniversary of the first publicly +available distribution of a specific version of the Licensed Work under this +License, whichever comes first, the Licensor hereby grants you rights under +the terms of the Change License, and the rights granted in the paragraph +above terminate. + +If your use of the Licensed Work does not comply with the requirements +currently in effect as described in this License, you must purchase a +commercial license from the Licensor, its affiliated entities, or authorized +resellers, or you must refrain from using the Licensed Work. + +All copies of the original and modified Licensed Work, and derivative works +of the Licensed Work, are subject to this License. This License applies +separately for each version of the Licensed Work and the Change Date may vary +for each version of the Licensed Work released by Licensor. + +You must conspicuously display this License on each original or modified copy +of the Licensed Work. If you receive the Licensed Work in original or +modified form from a third party, the terms and conditions set forth in this +License apply to your use of that work. + +Any use of the Licensed Work in violation of this License will automatically +terminate your rights under this License for the current and all other +versions of the Licensed Work. + +This License does not grant you any right in any trademark or logo of +Licensor or its affiliates (provided that you may use a trademark or logo of +Licensor as expressly required by this License). + +TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON +AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS, +EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND +TITLE. + +MariaDB hereby grants you permission to use this License’s text to license +your works, and to refer to it using the trademark “Business Source License”, +as long as you comply with the Covenants of Licensor below. + +Covenants of Licensor + +In consideration of the right to use this License’s text and the “Business +Source License” name and trademark, Licensor covenants to MariaDB, and to all +other recipients of the licensed work to be provided by Licensor: + +1. To specify as the Change License the GPL Version 2.0 or any later version, + or a license that is compatible with GPL Version 2.0 or a later version, + where “compatible” means that software provided under the Change License can + be included in a program with software provided under GPL Version 2.0 or a + later version. Licensor may specify additional Change Licenses without + limitation. + +2. To either: (a) specify an additional grant of rights to use that does not + impose any additional restriction on the right granted in this License, as + the Additional Use Grant; or (b) insert the text “None”. + +3. To specify a Change Date. + +4. Not to modify this License in any other way. diff --git a/utils/LICENSE b/licenses/MIT_LICENSE similarity index 97% rename from utils/LICENSE rename to licenses/MIT_LICENSE index b84574f0..c13d5ddc 100644 --- a/utils/LICENSE +++ b/licenses/MIT_LICENSE @@ -1,4 +1,4 @@ -Copyright 2024 ScuffleTV +Copyright 2024 Scuffle. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/licenses/README.md b/licenses/README.md new file mode 100644 index 00000000..1a573ce3 --- /dev/null +++ b/licenses/README.md @@ -0,0 +1,33 @@ +# Scuffle Licensing Strategy Overview + +## TL;DR +Our software uses MIT or Apache 2.0 licenses for all library code, ensuring open source flexibility and permissiveness. For binaries or applications, we use the Business Source License (BSL) to protect our proprietary interests while promoting innovation. Under BSL, you're free to develop and operate digital platforms for user-generated content sharing and live streaming, as long as you're not creating, offering, or managing infrastructure services like managed content delivery networks (CDNs) or managed live streaming services aimed at third-party integration. + +## Licenses Used + +### MIT License +- **Scope:** All library code. +- **Key Features:** + - Very permissive, allowing commercial use, modification, distribution, and private use. + - Requires inclusion of the original MIT license and copyright notice. +- **Best For:** Maximizing open source contribution and usage flexibility. + +### Apache License 2.0 +- **Scope:** All library code. +- **Key Features:** + - Similar permissiveness to MIT, with an explicit grant of patent rights from contributors to users. + - Requires preservation of copyright notice, disclaimer, and a copy of the license when redistributing the code. +- **Best For:** Projects that require an explicit patent license. + +### Business Source License (BSL) +- **Scope:** Binaries or applications. +- **Key Features:** + - Allows use of the software but with certain limitations to protect the licensor's commercial interests. + - Converts to a more permissive license (e.g., Apache 2.0) after a certain period. +- **Additional Use Grant:** + - Grants permission to develop and operate digital platforms for user-generated video content sharing and live streaming, intended for community-centric environments. + - Explicitly prohibits the use for developing, operating, or providing managed CDN services or managed live streaming services that integrate the software for third-party use. + - Aims to encourage innovation in user engagement and content creation platforms, while excluding uses for third-party content delivery and streaming infrastructure services. + +## Summary +This licensing strategy is designed to foster an open and innovative development environment for library code while securing our proprietary applications with BSL. The Additional Use Grant under BSL ensures that our applications can be used to power creative and interactive platforms without enabling the creation of competitive managed service infrastructure. diff --git a/platform/api/APACHE2_LICENSE b/platform/api/APACHE2_LICENSE new file mode 120000 index 00000000..4eaff731 --- /dev/null +++ b/platform/api/APACHE2_LICENSE @@ -0,0 +1 @@ +../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/platform/api/Cargo.toml b/platform/api/Cargo.toml index bb505feb..fab22be3 100644 --- a/platform/api/Cargo.toml +++ b/platform/api/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.1" edition = "2021" authors = ["Scuffle "] description = "Scuffle API server" +license = "MIT or Apache-2.0" [dependencies] tracing = "0.1" diff --git a/platform/api/LICENSE.md b/platform/api/LICENSE.md deleted file mode 120000 index f0608a63..00000000 --- a/platform/api/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE.md \ No newline at end of file diff --git a/platform/api/MIT_LICENSE b/platform/api/MIT_LICENSE new file mode 120000 index 00000000..9b50c52e --- /dev/null +++ b/platform/api/MIT_LICENSE @@ -0,0 +1 @@ +../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/platform/image_processor/APACHE2_LICENSE b/platform/image_processor/APACHE2_LICENSE new file mode 120000 index 00000000..4eaff731 --- /dev/null +++ b/platform/image_processor/APACHE2_LICENSE @@ -0,0 +1 @@ +../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/platform/image_processor/Cargo.toml b/platform/image_processor/Cargo.toml index c990a715..cba200aa 100644 --- a/platform/image_processor/Cargo.toml +++ b/platform/image_processor/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.1" edition = "2021" authors = ["Scuffle "] description = "Scuffle Image Processor" +license = "MIT or Apache-2.0" [dependencies] tracing = "0.1" diff --git a/platform/image_processor/MIT_LICENSE b/platform/image_processor/MIT_LICENSE new file mode 120000 index 00000000..9b50c52e --- /dev/null +++ b/platform/image_processor/MIT_LICENSE @@ -0,0 +1 @@ +../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/platform/website/APACHE2_LICENSE b/platform/website/APACHE2_LICENSE new file mode 120000 index 00000000..4eaff731 --- /dev/null +++ b/platform/website/APACHE2_LICENSE @@ -0,0 +1 @@ +../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/platform/website/LICENSE.md b/platform/website/LICENSE.md deleted file mode 120000 index f0608a63..00000000 --- a/platform/website/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE.md \ No newline at end of file diff --git a/platform/website/MIT_LICENSE b/platform/website/MIT_LICENSE new file mode 120000 index 00000000..9b50c52e --- /dev/null +++ b/platform/website/MIT_LICENSE @@ -0,0 +1 @@ +../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/platform/website/package.json b/platform/website/package.json index 91d573b6..5c4a17ba 100644 --- a/platform/website/package.json +++ b/platform/website/package.json @@ -2,6 +2,7 @@ "name": "website", "version": "0.0.1", "private": true, + "license": "MIT or Apache-2.0", "scripts": { "dev:pre": "pnpm run codegen && pnpm -F=@scuffle/player run wasm:build:dev", "dev": "pnpm run dev:pre && vite dev", diff --git a/proto/BSL_LICENSE b/proto/BSL_LICENSE new file mode 120000 index 00000000..36c42cbc --- /dev/null +++ b/proto/BSL_LICENSE @@ -0,0 +1 @@ +../licenses/BSL_LICENSE \ No newline at end of file diff --git a/proto/Cargo.toml b/proto/Cargo.toml index 150c5e3d..3b1edddc 100644 --- a/proto/Cargo.toml +++ b/proto/Cargo.toml @@ -4,6 +4,7 @@ version = "0.0.1" edition = "2021" authors = ["Scuffle "] description = "Scuffle Protobuf definitions for scuffle" +license = "BSL-1.0" [dependencies] tonic = "0.10" diff --git a/utils/APACHE2_LICENSE b/utils/APACHE2_LICENSE new file mode 120000 index 00000000..f7ae1b66 --- /dev/null +++ b/utils/APACHE2_LICENSE @@ -0,0 +1 @@ +../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/utils/Cargo.toml b/utils/Cargo.toml index 6cee8b3a..97ee4feb 100644 --- a/utils/Cargo.toml +++ b/utils/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" authors = ["Scuffle "] description = "Scuffle Utility Library" repository = "https://github.com/ScuffleTV/scuffle" -license = "MIT" +license = "MIT or Apache-2.0" documentation = "https://docs.rs/scuffle-utils" [lib] diff --git a/utils/MIT_LICENSE b/utils/MIT_LICENSE new file mode 120000 index 00000000..b0845139 --- /dev/null +++ b/utils/MIT_LICENSE @@ -0,0 +1 @@ +../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/api/BSL_LICENSE b/video/api/BSL_LICENSE new file mode 120000 index 00000000..da4e7dec --- /dev/null +++ b/video/api/BSL_LICENSE @@ -0,0 +1 @@ +../../licenses/BSL_LICENSE \ No newline at end of file diff --git a/video/api/Cargo.toml b/video/api/Cargo.toml index ea126e2b..b2112ffa 100644 --- a/video/api/Cargo.toml +++ b/video/api/Cargo.toml @@ -2,6 +2,7 @@ name = "video-api" version = "0.0.1" edition = "2021" +license = "BSL-1.0" [[bin]] name = "video-api" diff --git a/video/api/LICENSE.md b/video/api/LICENSE.md deleted file mode 120000 index f0608a63..00000000 --- a/video/api/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE.md \ No newline at end of file diff --git a/video/cli/BSL_LICENSE b/video/cli/BSL_LICENSE new file mode 120000 index 00000000..da4e7dec --- /dev/null +++ b/video/cli/BSL_LICENSE @@ -0,0 +1 @@ +../../licenses/BSL_LICENSE \ No newline at end of file diff --git a/video/cli/Cargo.toml b/video/cli/Cargo.toml index d5e7b244..489b8222 100644 --- a/video/cli/Cargo.toml +++ b/video/cli/Cargo.toml @@ -2,6 +2,7 @@ name = "video-cli" version = "0.0.1" edition = "2021" +license = "BSL-1.0" [dependencies] tokio = { version = "1.35", features = ["full"] } diff --git a/video/common/BSL_LICENSE b/video/common/BSL_LICENSE new file mode 120000 index 00000000..da4e7dec --- /dev/null +++ b/video/common/BSL_LICENSE @@ -0,0 +1 @@ +../../licenses/BSL_LICENSE \ No newline at end of file diff --git a/video/common/Cargo.toml b/video/common/Cargo.toml index fa9df44c..78749957 100644 --- a/video/common/Cargo.toml +++ b/video/common/Cargo.toml @@ -2,6 +2,7 @@ name = "video-common" version = "0.0.1" edition = "2021" +license = "BSL-1.0" [dependencies] tracing = "0.1" diff --git a/video/edge/BSL_LICENSE b/video/edge/BSL_LICENSE new file mode 120000 index 00000000..da4e7dec --- /dev/null +++ b/video/edge/BSL_LICENSE @@ -0,0 +1 @@ +../../licenses/BSL_LICENSE \ No newline at end of file diff --git a/video/edge/Cargo.toml b/video/edge/Cargo.toml index 5637f5f4..6dc5459e 100644 --- a/video/edge/Cargo.toml +++ b/video/edge/Cargo.toml @@ -2,6 +2,7 @@ name = "video-edge" version = "0.0.1" edition = "2021" +license = "BSL-1.0" [[bin]] name = "video-edge" diff --git a/video/edge/LICENSE.md b/video/edge/LICENSE.md deleted file mode 120000 index f0608a63..00000000 --- a/video/edge/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE.md \ No newline at end of file diff --git a/video/ingest/BSL_LICENSE b/video/ingest/BSL_LICENSE new file mode 120000 index 00000000..da4e7dec --- /dev/null +++ b/video/ingest/BSL_LICENSE @@ -0,0 +1 @@ +../../licenses/BSL_LICENSE \ No newline at end of file diff --git a/video/ingest/Cargo.toml b/video/ingest/Cargo.toml index bf1c51f1..45bbe54d 100644 --- a/video/ingest/Cargo.toml +++ b/video/ingest/Cargo.toml @@ -2,6 +2,7 @@ name = "video-ingest" version = "0.0.1" edition = "2021" +license = "BSL-1.0" [[bin]] name = "video-ingest" diff --git a/video/ingest/LICENSE.md b/video/ingest/LICENSE.md deleted file mode 120000 index f0608a63..00000000 --- a/video/ingest/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE.md \ No newline at end of file diff --git a/video/lib/aac/APACHE2_LICENSE b/video/lib/aac/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/aac/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/aac/Cargo.toml b/video/lib/aac/Cargo.toml index b15c8cde..abd019c4 100644 --- a/video/lib/aac/Cargo.toml +++ b/video/lib/aac/Cargo.toml @@ -2,6 +2,7 @@ name = "aac" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] bytes = "1.5" diff --git a/video/lib/aac/LICENSE.md b/video/lib/aac/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/aac/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/aac/MIT_LICENSE b/video/lib/aac/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/aac/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/amf0/APACHE2_LICENSE b/video/lib/amf0/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/amf0/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/amf0/Cargo.toml b/video/lib/amf0/Cargo.toml index ce565fe4..edfcc233 100644 --- a/video/lib/amf0/Cargo.toml +++ b/video/lib/amf0/Cargo.toml @@ -2,6 +2,7 @@ name = "amf0" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] bytes = "1.5" diff --git a/video/lib/amf0/LICENSE.md b/video/lib/amf0/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/amf0/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/amf0/MIT_LICENSE b/video/lib/amf0/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/amf0/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/av1/APACHE2_LICENSE b/video/lib/av1/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/av1/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/av1/Cargo.toml b/video/lib/av1/Cargo.toml index eb7ed26b..8b3e4f16 100644 --- a/video/lib/av1/Cargo.toml +++ b/video/lib/av1/Cargo.toml @@ -2,6 +2,7 @@ name = "av1" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] bytes = "1.5" diff --git a/video/lib/av1/LICENSE.md b/video/lib/av1/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/av1/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/av1/MIT_LICENSE b/video/lib/av1/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/av1/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/bytesio/APACHE2_LICENSE b/video/lib/bytesio/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/bytesio/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/bytesio/Cargo.toml b/video/lib/bytesio/Cargo.toml index 40709de6..1970ea9d 100644 --- a/video/lib/bytesio/Cargo.toml +++ b/video/lib/bytesio/Cargo.toml @@ -2,6 +2,7 @@ name = "bytesio" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [features] tokio = ["dep:tokio-util", "dep:tokio-stream", "dep:tokio", "dep:futures", "dep:utils"] diff --git a/video/lib/bytesio/LICENSE.md b/video/lib/bytesio/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/bytesio/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/bytesio/MIT_LICENSE b/video/lib/bytesio/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/bytesio/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/exp_golomb/APACHE2_LICENSE b/video/lib/exp_golomb/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/exp_golomb/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/exp_golomb/Cargo.toml b/video/lib/exp_golomb/Cargo.toml index fce05927..6b36fada 100644 --- a/video/lib/exp_golomb/Cargo.toml +++ b/video/lib/exp_golomb/Cargo.toml @@ -2,6 +2,7 @@ name = "exp_golomb" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] bytes = "1.5" diff --git a/video/lib/exp_golomb/LICENSE.md b/video/lib/exp_golomb/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/exp_golomb/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/exp_golomb/MIT_LICENSE b/video/lib/exp_golomb/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/exp_golomb/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/flv/APACHE2_LICENSE b/video/lib/flv/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/flv/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/flv/Cargo.toml b/video/lib/flv/Cargo.toml index 60aec84f..fb526038 100644 --- a/video/lib/flv/Cargo.toml +++ b/video/lib/flv/Cargo.toml @@ -2,6 +2,7 @@ name = "flv" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] byteorder = "1.5" diff --git a/video/lib/flv/LICENSE.md b/video/lib/flv/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/flv/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/flv/MIT_LICENSE b/video/lib/flv/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/flv/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/h264/APACHE2_LICENSE b/video/lib/h264/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/h264/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/h264/Cargo.toml b/video/lib/h264/Cargo.toml index 5ee19404..d39dcdbc 100644 --- a/video/lib/h264/Cargo.toml +++ b/video/lib/h264/Cargo.toml @@ -2,6 +2,7 @@ name = "h264" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] bytes = "1.5" diff --git a/video/lib/h264/LICENSE.md b/video/lib/h264/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/h264/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/h264/MIT_LICENSE b/video/lib/h264/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/h264/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/h265/APACHE2_LICENSE b/video/lib/h265/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/h265/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/h265/Cargo.toml b/video/lib/h265/Cargo.toml index c14bbf12..752ca5e5 100644 --- a/video/lib/h265/Cargo.toml +++ b/video/lib/h265/Cargo.toml @@ -2,6 +2,7 @@ name = "h265" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] bytes = "1.5" diff --git a/video/lib/h265/LICENSE.md b/video/lib/h265/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/h265/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/h265/MIT_LICENSE b/video/lib/h265/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/h265/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/mp4/APACHE2_LICENSE b/video/lib/mp4/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/mp4/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/mp4/Cargo.toml b/video/lib/mp4/Cargo.toml index 7d4a2340..e5eeb08c 100644 --- a/video/lib/mp4/Cargo.toml +++ b/video/lib/mp4/Cargo.toml @@ -2,6 +2,7 @@ name = "mp4" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] byteorder = "1.5" diff --git a/video/lib/mp4/LICENSE.md b/video/lib/mp4/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/mp4/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/mp4/MIT_LICENSE b/video/lib/mp4/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/mp4/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/rtmp/APACHE2_LICENSE b/video/lib/rtmp/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/rtmp/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/rtmp/Cargo.toml b/video/lib/rtmp/Cargo.toml index f6a5baf2..a4960a67 100644 --- a/video/lib/rtmp/Cargo.toml +++ b/video/lib/rtmp/Cargo.toml @@ -2,6 +2,7 @@ name = "rtmp" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] byteorder = "1.5" diff --git a/video/lib/rtmp/LICENSE.md b/video/lib/rtmp/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/rtmp/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/rtmp/MIT_LICENSE b/video/lib/rtmp/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/rtmp/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/lib/transmuxer/APACHE2_LICENSE b/video/lib/transmuxer/APACHE2_LICENSE new file mode 120000 index 00000000..c19293e7 --- /dev/null +++ b/video/lib/transmuxer/APACHE2_LICENSE @@ -0,0 +1 @@ +../../../licenses/APACHE2_LICENSE \ No newline at end of file diff --git a/video/lib/transmuxer/Cargo.toml b/video/lib/transmuxer/Cargo.toml index a161b34c..ab7e4a70 100644 --- a/video/lib/transmuxer/Cargo.toml +++ b/video/lib/transmuxer/Cargo.toml @@ -2,6 +2,7 @@ name = "transmuxer" version = "0.0.1" edition = "2021" +license = "MIT or Apache-2.0" [dependencies] byteorder = "1.5" diff --git a/video/lib/transmuxer/LICENSE.md b/video/lib/transmuxer/LICENSE.md deleted file mode 120000 index 368ec7e5..00000000 --- a/video/lib/transmuxer/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../../LICENSE.md \ No newline at end of file diff --git a/video/lib/transmuxer/MIT_LICENSE b/video/lib/transmuxer/MIT_LICENSE new file mode 120000 index 00000000..1efadacc --- /dev/null +++ b/video/lib/transmuxer/MIT_LICENSE @@ -0,0 +1 @@ +../../../licenses/MIT_LICENSE \ No newline at end of file diff --git a/video/player/BSL_LICENSE b/video/player/BSL_LICENSE new file mode 120000 index 00000000..da4e7dec --- /dev/null +++ b/video/player/BSL_LICENSE @@ -0,0 +1 @@ +../../licenses/BSL_LICENSE \ No newline at end of file diff --git a/video/player/Cargo.toml b/video/player/Cargo.toml index 4fc70b5d..6cea2240 100644 --- a/video/player/Cargo.toml +++ b/video/player/Cargo.toml @@ -6,7 +6,7 @@ version = "0.0.1" authors = ["Troy Benson "] categories = ["wasm"] readme = "README.md" -license = "LICENSE.md" +license = "BSL-1.0" edition = "2021" [lib] diff --git a/video/player/LICENSE.md b/video/player/LICENSE.md deleted file mode 120000 index f0608a63..00000000 --- a/video/player/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE.md \ No newline at end of file diff --git a/video/player/package.json b/video/player/package.json index 27c1b995..0deb3e96 100644 --- a/video/player/package.json +++ b/video/player/package.json @@ -3,6 +3,7 @@ "private": true, "version": "0.0.0", "type": "module", + "license": "BSL-1.0", "scripts": { "wasm:build": "cargo build --target wasm32-unknown-unknown --profile wasm && wasm-bindgen --out-dir pkg --target web --weak-refs --reference-types --split-linked-modules ../../target/wasm32-unknown-unknown/wasm/video_player.wasm && wasm-opt -Oz -o ./pkg/video_player_bg.wasm ./pkg/video_player_bg.wasm --enable-reference-types", "wasm:build:dev": "cargo build --target wasm32-unknown-unknown && wasm-bindgen --out-dir pkg --target web --weak-refs --reference-types --split-linked-modules ../../target/wasm32-unknown-unknown/debug/video_player.wasm", diff --git a/video/player_types/BSL_LICENSE b/video/player_types/BSL_LICENSE new file mode 120000 index 00000000..da4e7dec --- /dev/null +++ b/video/player_types/BSL_LICENSE @@ -0,0 +1 @@ +../../licenses/BSL_LICENSE \ No newline at end of file diff --git a/video/player_types/Cargo.toml b/video/player_types/Cargo.toml index 2b24c181..6a21a7ec 100644 --- a/video/player_types/Cargo.toml +++ b/video/player_types/Cargo.toml @@ -2,6 +2,7 @@ name = "video-player-types" version = "0.0.1" edition = "2021" +license = "BSL-1.0" [dependencies] serde = { version = "1.0", features = ["derive"] } diff --git a/video/transcoder/BSL_LICENSE b/video/transcoder/BSL_LICENSE new file mode 120000 index 00000000..da4e7dec --- /dev/null +++ b/video/transcoder/BSL_LICENSE @@ -0,0 +1 @@ +../../licenses/BSL_LICENSE \ No newline at end of file diff --git a/video/transcoder/Cargo.toml b/video/transcoder/Cargo.toml index aa5a0654..ef0040de 100644 --- a/video/transcoder/Cargo.toml +++ b/video/transcoder/Cargo.toml @@ -2,6 +2,7 @@ name = "video-transcoder" version = "0.0.1" edition = "2021" +license = "BSL-1.0" [[bin]] name = "video-transcoder" diff --git a/video/transcoder/LICENSE.md b/video/transcoder/LICENSE.md deleted file mode 120000 index f0608a63..00000000 --- a/video/transcoder/LICENSE.md +++ /dev/null @@ -1 +0,0 @@ -../../LICENSE.md \ No newline at end of file