From 8863afc6d33f2b4fbb6fc32d81a9c1df9f1410de Mon Sep 17 00:00:00 2001 From: R Date: Mon, 23 Nov 2026 06:52:51 -0300 Subject: [PATCH] webrtc: the native page and the README name the superproject's two libdatachannel patches, under the MPL, in place of an unmodified copy --- README.md | 5 +++-- doc/native.adoc | 20 ++++++++++++-------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index d83355e..eab5c20 100644 --- a/README.md +++ b/README.md @@ -57,5 +57,6 @@ libs/webrtc/doc` builds it into `doc/html/index.html`. ## License Distributed under the [Boost Software License, Version 1.0](LICENSE_1_0.txt). -Natively webrtc uses libdatachannel unmodified, under the Mozilla Public -License 2.0, with its nested dependencies under their own licences. +Natively webrtc uses libdatachannel, under the Mozilla Public License 2.0, +with the superproject's patches of `tools/libdatachannel/patches` (under the +MPL too), and its nested dependencies under their own licences. diff --git a/doc/native.adoc b/doc/native.adoc index 1c39884..367d2e5 100644 --- a/doc/native.adoc +++ b/doc/native.adoc @@ -15,18 +15,22 @@ Natively webrtc wraps https://github.com/paullouisageneau/libdatachannel[libdata libraries or in the standard library, and libdatachannel is the smallest complete implementation of it: data channels without a media engine, ICE through libjuice, SCTP through usrsctp, DTLS on the same source-built OpenSSL -as webcpp::asio's TLS. webrtc uses it unmodified, as a dependency, and copies -none of its files: the superproject pins it at commit `6b1e2e6`, with its -nested sources at the commits `tools/libdatachannel/pin.json` lists, and -builds it from them (<>). Nothing of it appears in a public -header: a program never names libdatachannel. +as webcpp::asio's TLS. webrtc uses it as a dependency, and copies none of its +files: the superproject pins it at commit `6b1e2e6`, with its nested sources at +the commits `tools/libdatachannel/pin.json` lists, and builds it from them +(<>), with the corrections of `tools/libdatachannel/patches` +applied to the build's copy: two races of 0.24.6 that failed a connection +whose DTLS or SCTP transport started while the answer was being applied. +Nothing of it appears in a public header: a program never names +libdatachannel. libdatachannel is distributed under the Mozilla Public License 2.0, and its nested dependencies under their own licences, which the superproject's third-party table lists. MPL's copyleft is per file: while libdatachannel is -used unmodified, it reaches none of webcpp's files, which are under the Boost -Software License alone. A program that distributes a native build of webrtc -distributes libdatachannel with it, and keeps its licence and notices. +changed only by those patches, themselves under the MPL, it reaches none of +webcpp's own files, which are under the Boost Software License alone. A +program that distributes a native build of webrtc distributes libdatachannel +with it, and keeps its licence and notices. [#webrtc-native-threads] === Threads