Skip to content
Merged
Show file tree
Hide file tree
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
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
20 changes: 12 additions & 8 deletions doc/native.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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 (<<webrtc-building>>). 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
(<<webrtc-building>>), 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
Expand Down
Loading