添加FFmpeg拉流功能

This commit is contained in:
xiongziliang
2019-06-06 18:28:33 +08:00
parent ecc133d605
commit c503749328
5 changed files with 373 additions and 20 deletions

21
server/WebApi.h Normal file
View File

@@ -0,0 +1,21 @@
//
// Created by xzl on 2019-06-06.
//
#ifndef ZLMEDIAKIT_WEBAPI_H
#define ZLMEDIAKIT_WEBAPI_H
namespace mediakit {
////////////RTSP服务器配置///////////
namespace Rtsp {
extern const char kPort[];
} //namespace Rtsp
////////////RTMP服务器配置///////////
namespace Rtmp {
extern const char kPort[];
} //namespace RTMP
} // namespace mediakit
#endif //ZLMEDIAKIT_WEBAPI_H