WebApi.h 883 Bytes
Newer Older
xiongziliang committed
1
/*
xiongziliang committed
2
 * Copyright (c) 2016 The ZLMediaKit project authors. All Rights Reserved.
xiongziliang committed
3 4 5
 *
 * This file is part of ZLMediaKit(https://github.com/xiongziliang/ZLMediaKit).
 *
xiongziliang committed
6 7 8
 * Use of this source code is governed by MIT license that can be found in the
 * LICENSE file in the root of the source tree. All contributing project authors
 * may be found in the AUTHORS file in the root of the source tree.
xiongziliang committed
9
 */
10 11 12 13

#ifndef ZLMEDIAKIT_WEBAPI_H
#define ZLMEDIAKIT_WEBAPI_H

14 15 16
#include <string>
using namespace std;

17
namespace mediakit {
18

19 20
////////////RTSP服务器配置///////////
namespace Rtsp {
21
extern const string kPort;
22 23 24 25
} //namespace Rtsp

////////////RTMP服务器配置///////////
namespace Rtmp {
26
extern const string kPort;
27
} //namespace RTMP
28

29 30 31
}  // namespace mediakit


32 33
void installWebApi();
void unInstallWebApi();
34 35
//配置文件路径
extern string g_ini_file;
36

37
#endif //ZLMEDIAKIT_WEBAPI_H