SRS used some third party libraries, which are distributed using their own licenses. This wiki describes the licenses about SRS and related libraries.
I am not a lawyer and this is not legal advice!
SRS v1/v2/v3 uses MIT license that is very liberal.
The State Threads library is a derivative of the Netscape Portable Runtime library (NSPR) and therefore is distributed under the Mozilla Public License (MPL) version 1.1 or the GNU General Public License (GPL) version 2 or later.
You can choose which of the two licenses you want or you can continue the dual license.
Commercial interests probably will choose the MPL, and free software advocates likely will prefer the GPL.
For more information, please read LICENSE of ST.
OpenSSL(May be used for SSL/TLS support) Uses an Original BSD-style license with an announcement clause that makes it "incompatible" with GPL. You are not allowed to ship binaries that link with OpenSSL that includes GPL code (unless that specific GPL code includes an exception for OpenSSL - a habit that is growing more and more common). If OpenSSL's licensing is a problem for you, consider using another TLS library.
Remark: SRS can be built with system ssl library
SRS2 depends on NXJSON. SRS3 has replaced NXJSON with json-parser which uses BSD license.
SRS3+ uses json-parser, read #904.
For SRS to use shared library libsrt.so, please use
./configure --srt=on --shared-srt=on, please see f44224a.
- Opus uses BSD, to transcode RTC(opus) to Live(aac).
SRS forks FFMPEG process to transcode or ingest, however user can use other encoders.
SRS2 uses the following functions, which have license problems and have been replaced in SRS3+:
ff_hex_to_data: For RTSP to parse the hex string. SRS3 replaced by golang hex at 41c6e833 and #917.
srs_av_base64_decode: For RTSP to parse the base64 by FFMPEG. SRS3 replaced by golang base64 at 84f81983 and #917.
srs_crc32_mpegts: For TS to build the crc32 checksum by FFMPEG. SRS3 replaced by pycrc at 0a63448 and #917.
srs_crc32_ieee: For kafka to build the crc32 checksum. SRS3 replaced by pycrc code at 0a63448 and #917.
Please read #917.