配置键名统一使用string

This commit is contained in:
xiongziliang
2019-06-19 10:32:54 +08:00
parent 446c0feb6e
commit e1e50191fb
3 changed files with 19 additions and 14 deletions

View File

@@ -27,16 +27,21 @@
#ifndef ZLMEDIAKIT_WEBAPI_H
#define ZLMEDIAKIT_WEBAPI_H
#include <string>
using namespace std;
namespace mediakit {
////////////RTSP服务器配置///////////
namespace Rtsp {
extern const char kPort[];
extern const string kPort;
} //namespace Rtsp
////////////RTMP服务器配置///////////
namespace Rtmp {
extern const char kPort[];
extern const string kPort;
} //namespace RTMP
} // namespace mediakit