mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 19:00:01 +08:00
android支持更低版本,默认关闭vhost
This commit is contained in:
parent
54b2cd0089
commit
67b70ec8bb
@ -4,7 +4,7 @@ android {
|
||||
compileSdkVersion 28
|
||||
defaultConfig {
|
||||
applicationId "com.zlmediakit.demo"
|
||||
minSdkVersion 19
|
||||
minSdkVersion 15
|
||||
targetSdkVersion 28
|
||||
versionCode 1
|
||||
versionName "1.0"
|
||||
|
@ -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/");
|
||||
|
Loading…
Reference in New Issue
Block a user