Skip to content

代码依赖与版权声明

夏楚 edited this page Jul 22, 2023 · 12 revisions

一、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 windows下命令行解析工具,其他平台不依赖。

  • uv_errno 部分错误处理代码来自libuv。

  • strptime_win windows下strptime移植函数代码,来源网络,出处已不可考。

  • mini 来源于github,经过整理和修改。

  • function_traits来源自网络,应该出自祁宇。

  • base64 来源自网络,经过修改,应该出自ffmpeg。

  • SHA1 整理自GitHub

  • MD5 整理自GitHub,已无法找到原始出处。

Clone this wiki locally