zlmediakit

WebRTC/RTSP/RTMP/HTTP/HLS/HTTP-FLV/WebSocket-FLV/HTTP-TS/HTTP-fMP4/WebSocket-TS/WebSocket-fMP4/GB28181/SRT server and client framework based on C++11

Latest version: 2023.8.26

Add to xmake.lua

add_requires("zlmediakit 2023.8.26")

Learn how to add and link packages with Xmake →

Information

License
MIT
Recipe updated
2023-08-28T09:39:42.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • macosx: x86_64, arm64
  • windows: x86, x64, arm, arm64, arm64ec

Options

asan
Enable Address Sanitize. · Type: boolean · Default: false
c_api
Enable C API SDK. · Type: boolean · Default: false
c_static_api
Enable mk_api static lib. · Type: boolean · Default: false
cxx_api
Enable C++ API SDK. · Type: boolean · Default: true
faac
Enable FAAC. · Type: boolean · Default: false
ffmpeg
Enable FFMPEG. · Type: boolean · Default: false
jemalloc
Enable static linking to the jemalloc library. · Type: boolean · Default: false
mem_debug
Enable Memory Debug. · Type: boolean · Default: false
mysql
Enable MySQL. · Type: boolean · Default: false
server_lib
Enable server as android static library. · Type: boolean · Default: false
x264
Enable libx264. · Type: boolean · Default: false

Versions

  • 2023.8.26

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "zlmediakit 2023.8.26"

show info

xrepo info "zlmediakit"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("zlmediakit 2023.8.26")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("zlmediakit")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "zlmediakit 2023.8.26" shell