github源码地址:https://github.com/ZLMediaKit/ZLMediaKit
https://zhuanlan.zhihu.com/p/633120372
https://blog.csdn.net/zhizhengguan/article/details/124682425
https://it.cha138.com/python/show-2266610.html (配置参数说明)
目录
编译可能存在的问题
-
srtp 未找到, WebRTC 相关功能打开失败
https://blog.csdn.net/qq_41176037/article/details/127977795root@ecs-gnht-yz-0002:/data# git clone https://github.com/cisco/libsrtp.git root@ecs-gnht-yz-0002:/data/libsrtp# ./configure --enable-openssl root@ecs-gnht-yz-0002:/data/libsrtp# make -j 4 root@ecs-gnht-yz-0002:/data/libsrtp# make install
-
no source given to target
不要从github上下,从gitee下载,否则子git项目的源码没有下载下来。
-
把一台机器编译好的MediaServer文件拷贝到其它的机器上无法运行
1) /lib64/libc.so.6: version `GLIBC_2.15' not found
https://blog.csdn.net/huaishuming/article/details/102900254
https://blog.csdn.net/weixin_43074760/article/details/129901952
使用中的问题
- 不要将视频同一个url,否则报错:
[rtsp @ 0x1c8bc80] method ANNOUNCE failed: 406 Not Acceptable Could not write header for output file #0 (incorrect codec parameters ?): Server returned 4XX Client Error, but not one of 40{0,1,3,4} Error initializing output stream 0:1 --
URL规则
https://zhuanlan.zhihu.com/p/564827495
HTTP API
https://zhuanlan.zhihu.com/p/565192111?utm_id=0
https://www.jianshu.com/p/016812d17da9
http://10.0.2.1:8008/index/api/getApiList?secret=035c73f7-bb6b-4889-a715-d9eb2d1925cc
,8008默认为80,secret亦配置在config.init文件中。
0 条评论