Coder Social home page Coder Social logo

Comments (6)

tomtellyou avatar tomtellyou commented on September 23, 2024

咨询的功能模块

多屏拼接

咨询的具体内容和问题

克隆master代码,编译部署按照wiki中的说明执行, 已经在CMakeList.txt中打开了ENABLE_FFMPEG 和 ENABLE_X264和ENABLE_VIDEOSTACK,编译后,通过swagger中的Api接口列表中没有/index/api/stack/start这个接口,直接发送POST请求,报错404,如何解决?

from zlmediakit.

lk274973875 avatar lk274973875 commented on September 23, 2024

我的也跟你一样的问题,解决了吗

from zlmediakit.

lk274973875 avatar lk274973875 commented on September 23, 2024

[](u
微信图片_20240726105939
微信图片_20240726105950
rl)

查看接口列表并无/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.

GumpDing avatar GumpDing commented on September 23, 2024

铁子,你是怎么解决的,编译的时候打开配置也找不到合并的接口

from zlmediakit.

KkemChen avatar KkemChen commented on September 23, 2024

[](u 微信图片_20240726105939 微信图片_20240726105950 rl)

查看接口列表并无/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没有找到。
image

x264开启成功的话,应该有这个输出 "ENABLE_X264 defined"

from zlmediakit.

hejp-cmict avatar hejp-cmict commented on September 23, 2024

跟系统中是否安装x264的库有关系 , 下载安装下x264的库后开启编译选项问题解决

from zlmediakit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.