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

夏楚
2023-07-23 00:26:25 +08:00
parent a56aaf30f9
commit f49b0d2523

@@ -0,0 +1,41 @@
## 一、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,已无法找到原始出处。