diff --git a/Android/app/build.gradle b/Android/app/build.gradle index da3ae89b..56c5646d 100644 --- a/Android/app/build.gradle +++ b/Android/app/build.gradle @@ -4,7 +4,7 @@ android { compileSdkVersion 28 defaultConfig { applicationId "com.zlmediakit.demo" - minSdkVersion 19 + minSdkVersion 15 targetSdkVersion 28 versionCode 1 versionName "1.0" diff --git a/Android/app/src/main/cpp/native-lib.cpp b/Android/app/src/main/cpp/native-lib.cpp index 193ebff7..f6a2946c 100644 --- a/Android/app/src/main/cpp/native-lib.cpp +++ b/Android/app/src/main/cpp/native-lib.cpp @@ -174,6 +174,7 @@ JNI_API(jboolean,startDemo,jstring ini_dir){ mINI::Instance()["http.sslport"] = 8443; mINI::Instance()["rtsp.port"] = 8554; mINI::Instance()["rtsp.sslport"] = 8332; + mINI::Instance()["general.enableVhost"] = 0; for(auto &pr : mINI::Instance()){ //替换hook默认地址 replace(pr.second,"https://127.0.0.1/","http://127.0.0.1:8080/");