From 398be1d1011ca0aa41538d9b4166e54db13e1570 Mon Sep 17 00:00:00 2001 From: alexliyu7352 Date: Sat, 27 May 2023 01:58:20 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E4=BB=A3=E7=A0=81=E4=BE=9D=E8=B5=96?= =?UTF-8?q?=E4=B8=8E=E7=89=88=E6=9D=83=E5=A3=B0=E6=98=8E=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 代码依赖与版权声明.md | 63 +++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 35 deletions(-) diff --git a/代码依赖与版权声明.md b/代码依赖与版权声明.md index 9b93a99..08a0425 100644 --- a/代码依赖与版权声明.md +++ b/代码依赖与版权声明.md @@ -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. \ No newline at end of file