From 9e5babf9db52e64bdae60137be7696e56241fca6 Mon Sep 17 00:00:00 2001
From: xingzilong <xingzilong@454eff88-639b-444f-9e54-f578c98de674>
Date: 星期五, 18 八月 2017 18:12:17 +0800
Subject: [PATCH] H264 NALU解析  并在RTSPServer判断

---
 VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h |   26 +++++++++++++++-----------
 1 files changed, 15 insertions(+), 11 deletions(-)

diff --git a/VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h b/VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h
index 0f9958c..3ce1489 100644
--- a/VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h
+++ b/VisitFace/RtspNativeCodec/app/src/main/cpp/AppConfig.h
@@ -5,27 +5,31 @@
 #ifndef RTSPNATIVECODEC_APPCONFIG_H
 #define RTSPNATIVECODEC_APPCONFIG_H
 
-
 #include <json.h>
 #include <iostream>
 #include <fstream>
 #include <sstream>
 #include <string>
+
 using namespace std;
-class AppConfig {
+
+class AppConfig
+{
 public:
-    AppConfig();
-    ~AppConfig();
+	AppConfig();
+	~AppConfig();
+	AppConfig(string path);
+
 	string getStringValue(string key);
-	int    getIntValue(string key);
-	void   setStringValue(string key, string value);
-	void   setIntValue(string key, int value);
-    void   loadConfig(string path);
-	void   save(string path);
-	void   clear();
+	int getIntValue(string key);
+	void setStringValue(string key, string value);
+	void setIntValue(string key, int value);
+	void loadConfig(string path);
+	void save(string path);
+	void clear();
+
 private:
 	Json::Value root;
 };
-
 
 #endif //RTSPNATIVECODEC_APPCONFIG_H

--
Gitblit v1.8.0