Comments (6)
咨询的功能模块
多屏拼接
咨询的具体内容和问题
克隆master代码,编译部署按照wiki中的说明执行, 已经在CMakeList.txt中打开了ENABLE_FFMPEG 和 ENABLE_X264和ENABLE_VIDEOSTACK,编译后,通过swagger中的Api接口列表中没有/index/api/stack/start这个接口,直接发送POST请求,报错404,如何解决?
from zlmediakit.
我的也跟你一样的问题,解决了吗
from zlmediakit.
查看接口列表并无/index/api/stack/start,如下:
{
"code": 0,
"data": [
"/index/",
"/index/api/addFFmpegSource",
"/index/api/addStreamProxy",
"/index/api/addStreamPusherProxy",
"/index/api/broadcastMessage",
"/index/api/close_stream",
"/index/api/close_streams",
"/index/api/closeRtpServer",
"/index/api/connectRtpServer",
"/index/api/delete_webrtc",
"/index/api/deleteRecordDirectory",
"/index/api/delFFmpegSource",
"/index/api/delStreamProxy",
"/index/api/delStreamPusherProxy",
"/index/api/downloadBin",
"/index/api/downloadFile",
"/index/api/getAllSession",
"/index/api/getApiList",
"/index/api/getMediaInfo",
"/index/api/getMediaList",
"/index/api/getMediaPlayerList",
"/index/api/getMP4RecordFile",
"/index/api/getProxyInfo",
"/index/api/getProxyPusherInfo",
"/index/api/getRtpInfo",
"/index/api/getServerConfig",
"/index/api/getSnap",
"/index/api/getStatistic",
"/index/api/getThreadsLoad",
"/index/api/getWorkThreadsLoad",
"/index/api/isMediaOnline",
"/index/api/isRecording",
"/index/api/kick_session",
"/index/api/kick_sessions",
"/index/api/listRtpSender",
"/index/api/listRtpServer",
"/index/api/loadMP4File",
"/index/api/openRtpServer",
"/index/api/openRtpServerMultiplex",
"/index/api/pauseRtpCheck",
"/index/api/restartServer",
"/index/api/resumeRtpCheck",
"/index/api/seekRecordStamp",
"/index/api/setRecordSpeed",
"/index/api/setServerConfig",
"/index/api/startRecord",
"/index/api/startSendRtp",
"/index/api/startSendRtpPassive",
"/index/api/stopRecord",
"/index/api/stopSendRtp",
"/index/api/updateRtpServerSSRC",
"/index/api/version",
"/index/api/webrtc",
"/index/api/whep",
"/index/api/whip"
]
}
from zlmediakit.
铁子,你是怎么解决的,编译的时候打开配置也找不到合并的接口
from zlmediakit.
查看接口列表并无/index/api/stack/start,如下:
{ "code": 0, "data": [ "/index/", "/index/api/addFFmpegSource", "/index/api/addStreamProxy", "/index/api/addStreamPusherProxy", "/index/api/broadcastMessage", "/index/api/close_stream", "/index/api/close_streams", "/index/api/closeRtpServer", "/index/api/connectRtpServer", "/index/api/delete_webrtc", "/index/api/deleteRecordDirectory", "/index/api/delFFmpegSource", "/index/api/delStreamProxy", "/index/api/delStreamPusherProxy", "/index/api/downloadBin", "/index/api/downloadFile", "/index/api/getAllSession", "/index/api/getApiList", "/index/api/getMediaInfo", "/index/api/getMediaList", "/index/api/getMediaPlayerList", "/index/api/getMP4RecordFile", "/index/api/getProxyInfo", "/index/api/getProxyPusherInfo", "/index/api/getRtpInfo", "/index/api/getServerConfig", "/index/api/getSnap", "/index/api/getStatistic", "/index/api/getThreadsLoad", "/index/api/getWorkThreadsLoad", "/index/api/isMediaOnline", "/index/api/isRecording", "/index/api/kick_session", "/index/api/kick_sessions", "/index/api/listRtpSender", "/index/api/listRtpServer", "/index/api/loadMP4File", "/index/api/openRtpServer", "/index/api/openRtpServerMultiplex", "/index/api/pauseRtpCheck", "/index/api/restartServer", "/index/api/resumeRtpCheck", "/index/api/seekRecordStamp", "/index/api/setRecordSpeed", "/index/api/setServerConfig", "/index/api/startRecord", "/index/api/startSendRtp", "/index/api/startSendRtpPassive", "/index/api/stopRecord", "/index/api/stopSendRtp", "/index/api/updateRtpServerSSRC", "/index/api/version", "/index/api/webrtc", "/index/api/whep", "/index/api/whip" ] }
看你这个截图里面,cmake的输出,应该是x264没有找到。
x264开启成功的话,应该有这个输出 "ENABLE_X264 defined"
from zlmediakit.
跟系统中是否安装x264的库有关系 , 下载安装下x264的库后开启编译选项问题解决
from zlmediakit.
Related Issues (20)
- 最新版本天地伟业摄像头会出现解码异常 HOT 1
- [BUG] BUG现象描述(必填)播放到一分钟这样就断开了 HOT 4
- [BUG] 使用多个流,国标+固定地址,同时进行录像时系统崩溃 HOT 3
- [BUG] BUG现象描述:监控视频无法播放 HOT 1
- [BUG] 播放视频窗口黑屏 HOT 1
- [BUG] 使用多个流同时进行录像时系统崩溃 HOT 14
- [功能请求] 需求描述(必填) 添加边缘计算处理 HOT 3
- [功能请求] 请问向外部服务推流目前仅支持rtmp与rtsp吗?是否支持whip? HOT 1
- [功能请求] 需求描述(必填)请问向外部服务推流目前仅支持rtmp与rtsp吗?是否支持whip? HOT 2
- [Bug] When sending an mp4 file through the startSendRtp interface, some of the preceding seconds are lost. HOT 3
- [BUG] Using Android Chrome 128 pushes WebRTC to ZLMediaKit will cause video streaming to fail HOT 1
- [BUG] Using Android Chrome 128 pushing WebRTC to ZLMediaKit results in video streaming failure
- [BUG] android端 mk_http_server_start(80, 0); mk_rtsp_server_start(554, 0); mk_rtmp_server_start(1935, 0); 崩溃 HOT 1
- SIP services and hooks are integrated together, abnormal situations are closed, and after restarting, it is found that on_publish on_stream_none_reader is repeatedly called, and auto_close=true is not working[Sip服务和hook等都集成在一起,异常情况关闭了,等重启后发现一直重复调用on_publish on_stream_none_reader,auto_close=true也没用] HOT 1
- [Feature Request] Add multiple zlm services to Android [[功能请求] Android添加多个zlm服务] HOT 2
- [BUG] centos7部署,gb28181推流。媒体注册成功,报错Unsupported mpeg:4 HOT 1
- [BUG] ffmpeg test streaming aac format audio file is all noise [[BUG] ffmpeg测试推流aac格式音频文件全是杂音] HOT 1
- [BUG] When adding an RTSP video stream using addStreamProxy with enable_audio=0, why is WebRTC still able to play audio? [[BUG] addStreamProxy添加一个rtsp视频流,enable_audio=0, 为何webrtc还是能播出音频?] HOT 2
- [Compilation Issue] Does iOS's ZLMediaKit use ZLToolKit? [[编译问题] iOS的ZLMediaKit有用到ZLToolKit吗?] HOT 1
- [Compilation Issue] Does iOS's ZLMediaKit use ZLToolKit? [[编译问题] iOS的ZLMediaKit有用到ZLToolKit吗?] HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zlmediakit.