Updated 代码依赖与版权声明 (markdown)

alexliyu7352
2023-05-27 01:58:20 +08:00
parent d59d758813
commit 398be1d101

@@ -1,41 +1,34 @@
## 一、zlmediakit依赖的库列表
| 依赖组件 | 协议类型 | 备注 | 项目地址 |
| :------------------: | :----------: | :----------------------------------------------------------: | :----------------------------------------------------------: |
| ZLToolKit | MIT | 强依赖ZLToolKit也部分依赖某些开源代码 | https://github.com/ZLMediaKit/ZLToolKit |
| ireader/media-server | MIT | 默认依赖编译时指定ENABLE_HLS,ENABLE_MP4,ENABLE_RTPPROXY为关闭时可以去除依赖 | https://github.com/ireader/media-server |
| jsoncpp | MIT | MediaServer依赖 | https://github.com/open-source-parsers/jsoncpp |
| openssl | Apache-2.0 | 开启ssl和webrtc相关功能时依赖编译时指定ENABLE_OPENSSL,ENABLE_WEBRTC为关闭时可以去除依赖 | https://github.com/openssl/openssl |
| srtp | 类MIT | 开启webrtc相关功能时依赖编译时指定ENABLE_WEBRTC为关闭时可以去除依赖 | https://github.com/cisco/libsrtp |
| usrsctp | BSD-3-Clause | 开启webrtc datachannel相关功能时依赖编译时指定ENABLE_SCTP为关闭时可以去除依赖 | https://github.com/sctplab/usrsctp |
| mediasoup | ISC | 部分webrtc源码提取自mediasoup编译时指定ENABLE_WEBRTC为关闭时可以去除依赖 | https://github.com/versatica/mediasoup |
| ffmpeg | GPL/LGPL | 转码分支与mk_api有轻微依赖编译时指定ENABLE_FFMPEG为关闭时可以去除依赖默认关闭 | https://github.com/FFmpeg/FFmpeg |
| wepoll | 类MIT | Windows下编译ENABLE_WPOLL为开始时依赖默认关闭 | https://github.com/piscisaureus/wepoll |
| SPSParser | | sps/pps相关解析代码来自朋友经过修改应该最开始提取自ffmpeg版权存疑 | https://github.com/ZLMediaKit/ZLMediaKit/blob/master/src/Extension/SPSParser.h |
## 二、其他依赖
- 开启编译test_player测试程序时依赖sdl。
- 开启x264/faac相关功能时依赖libx264与libfacc,默认关闭。
- 开启jemalloc时依赖jemalloc默认关闭。
- 开始mysql连接池功能时依赖libmysql-clinet,默认关闭。
## 三、ZLToolkit相关依赖
- [getopt](https://github.com/ZLMediaKit/ZLToolKit/tree/master/src/win32) windows下命令行解析工具其他平台不依赖。
- [uv_errno](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/uv_errno.h) 部分错误处理代码来自libuv。
- [strptime_win](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/strptime_win.cpp) windows下strptime移植函数代码来源网络出处已不可考。
- [mini](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/mini.h) 来源于[github](https://github.com/r-lyeh-archived/mINI),经过整理和修改。
- [function_traits](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/function_traits.h)来源自网络,应该出自祁宇。
- [base64](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/base64.h) 来源自网络经过修改应该出自ffmpeg。
- [SHA1](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/SHA1.h) 整理自[GitHub](https://github.com/vog/sha1)
- [MD5](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/MD5.h) 整理自GitHub,已无法找到原始出处。
## I. ZLMediaKit's List of Dependent Libraries
| Dependent Components | License Type | Remarks | Project Address |
| :--------------------------: | :----------: | :----------------------------------------------------------: | :----------------------------------------------------: |
| ZLToolKit | MIT | Strong dependency, ZLToolKit also partially depends on some open-source codes | https://github.com/ZLMediaKit/ZLToolKit |
| ireader/media-server | MIT | Default dependency, can be removed when ENABLE_HLS, ENABLE_MP4, ENABLE_RTPPROXY are set to disabled at compile time | https://github.com/ireader/media-server |
| jsoncpp | MIT | MediaServer dependency | https://github.com/open-source-parsers/jsoncpp |
| openssl | Apache-2.0 | Dependency when enabling SSL and WebRTC related features, can be removed when ENABLE_OPENSSL, ENABLE_WEBRTC are set to disabled at compile time | https://github.com/openssl/openssl |
| srtp | Similar to MIT | Dependency when enabling WebRTC related features, can be removed when ENABLE_WEBRTC is set to disabled at compile time | https://github.com/cisco/libsrtp |
| usrsctp | BSD-3-Clause | Dependency when enabling WebRTC datachannel related features, can be removed when ENABLE_SCTP is set to disabled at compile time | https://github.com/sctplab/usrsctp |
| mediasoup | ISC | Some WebRTC source code extracted from mediasoup, can be removed when ENABLE_WEBRTC is set to disabled at compile time | https://github.com/versatica/mediasoup |
| ffmpeg | GPL/LGPL | There's minor dependency with the transcoding branch and mk_api, can be removed when ENABLE_FFMPEG is set to disabled at compile time, default is disabled | https://github.com/FFmpeg/FFmpeg |
| wepoll | Similar to MIT | Dependency when ENABLE_WPOLL is enabled during Windows compilation, default is disabled | https://github.com/piscisaureus/wepoll |
| SPSParser | | sps/pps related parsing code, originated from a friend, modified, initially extracted from ffmpeg, copyright doubtful | https://github.com/ZLMediaKit/ZLMediaKit/blob/master/src/Extension/SPSParser.h |
## II. Other Dependencies
- SDL dependency when enabling the compilation of the test_player test program.
- Dependencies on libx264 and libfacc when enabling x264/faac related features, default is disabled.
- jemalloc dependency when enabling jemalloc, default is disabled.
- Dependency on libmysql-clinet when enabling mysql connection pool feature, default is disabled.
## III. ZLToolkit Related Dependencies
- [getopt](https://github.com/ZLMediaKit/ZLToolKit/tree/master/src/win32) is a command-line parsing tool for Windows, not needed for other platforms.
- [uv_errno](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/uv_errno.h) some error handling code is derived from libuv.
- [strptime_win](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/strptime_win.cpp) is the strptime porting function code for Windows, sourced from the internet, origin unknown.
- [mini](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/mini.h)
is sourced from [github](https://github.com/r-lyeh-archived/mINI), after arrangement and modification.
- [function_traits](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/function_traits.h) is sourced from the internet, likely from Qi Yu.
- [base64](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/base64.h) is sourced from the internet, modified, likely originated from ffmpeg.
- [SHA1](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/SHA1.h) is arranged from [GitHub](https://github.com/vog/sha1)
- [MD5](https://github.com/ZLMediaKit/ZLToolKit/blob/master/src/Util/MD5.h) is arranged from GitHub, the original source is no longer findable.