11 releases
0.1.10 | Aug 6, 2024 |
---|---|
0.1.9 | Jul 8, 2024 |
0.1.4 | Jun 28, 2024 |
#62 in Multimedia
71 downloads per month
69KB
2K
SLoC
rszlm
ZLMediaKit rust api
build
-
依赖
-
编译好并且 install
ZLMediaKit
之后,设置环境变量ZLM_DIR
,该路径包含 ZLMediaKit 的include
和lib
以及bin
文件夹,并将bin
设置到PATH
环境变量中如果不设置
ZLM_DIR
环境变量,rszlm-sys 会拉取ZLMediaKit
git 代码进行编译 -
编译
cargo build
features
-
dynamic
和static
编译-
dynamic
(默认):rszlm = { version = "*" }
-
static
:rszlm = { version = "*", features = ["static"] }
-
-
webrtc
rszlm = { version = "*", features = ["webrtc"] }
examples
example 中使用了ffmpeg-next
,运行前请参照dependencies安装相关环境
Dependencies
~0.1–2.9MB
~59K SLoC