panhui 6 năm trước cách đây
mục cha
commit
838c676d3c

+ 1 - 1
android/app/build.gradle

@@ -37,7 +37,7 @@ android {
     }
     }
 
 
     defaultConfig {
     defaultConfig {
-        applicationId "com.izouma.wanna_battle"
+        applicationId "com.yuanren.dianjing"
         minSdkVersion 21
         minSdkVersion 21
         targetSdkVersion 28
         targetSdkVersion 28
         versionCode flutterVersionCode.toInteger()
         versionCode flutterVersionCode.toInteger()

+ 1 - 1
android/app/src/debug/AndroidManifest.xml

@@ -1,5 +1,5 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="com.izouma.wanna_battle">
+    package="com.izouma.dianjing">
     <!-- Flutter needs it to communicate with the running application
     <!-- Flutter needs it to communicate with the running application
          to allow setting breakpoints, to provide hot reload, etc.
          to allow setting breakpoints, to provide hot reload, etc.
     -->
     -->

+ 2 - 2
android/app/src/main/AndroidManifest.xml

@@ -1,5 +1,5 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="com.izouma.wanna_battle">
+    package="com.yuanren.dianjing">
 
 
     <!-- io.flutter.app.FlutterApplication is an android.app.Application that
     <!-- io.flutter.app.FlutterApplication is an android.app.Application that
          calls FlutterMain.startInitialization(this); in its onCreate method.
          calls FlutterMain.startInitialization(this); in its onCreate method.
@@ -16,7 +16,7 @@
             android:screenOrientation="portrait"
             android:screenOrientation="portrait"
             android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
             android:theme="@style/Theme.AppCompat.Light.NoActionBar" />
         <activity
         <activity
-            android:name=".MainActivity"
+            android:name="com.yuanren.dianjing.MainActivity"
             android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
             android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
             android:hardwareAccelerated="true"
             android:hardwareAccelerated="true"
             android:launchMode="singleTop"
             android:launchMode="singleTop"

+ 1 - 1
android/app/src/main/kotlin/com/izouma/wanna_battle/MainActivity.kt → android/app/src/main/kotlin/com/yuanren/dianjing/MainActivity.kt

@@ -1,4 +1,4 @@
-package com.izouma.wanna_battle
+package com.izouma.dianjing
 
 
 import android.content.Intent
 import android.content.Intent
 import android.os.Bundle
 import android.os.Bundle

+ 1 - 1
android/app/src/profile/AndroidManifest.xml

@@ -1,5 +1,5 @@
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
-    package="com.izouma.wanna_battle">
+    package="com.izouma.dianjing">
     <!-- Flutter needs it to communicate with the running application
     <!-- Flutter needs it to communicate with the running application
          to allow setting breakpoints, to provide hot reload, etc.
          to allow setting breakpoints, to provide hot reload, etc.
     -->
     -->

+ 1 - 1
screen_stream_plugin/android/src/main/java/com/izouma/screen_stream_plugin/VideoProcessService.java

@@ -100,7 +100,7 @@ public class VideoProcessService extends Service implements ImageAvailableListen
                             e.printStackTrace();
                             e.printStackTrace();
                         }
                         }
                         try {
                         try {
-                            String uploadId = new MultipartUploadRequest(VideoProcessService.this, "http://47.96.141.102:8201/playerInfo/uploadVideo")
+                            String uploadId = new MultipartUploadRequest(VideoProcessService.this, "http://47.96.141.102:8202/playerInfo/uploadVideo")
                                     .addFileToUpload(imageAvailableListener.getVideoPath(), "video")
                                     .addFileToUpload(imageAvailableListener.getVideoPath(), "video")
                                     // .addFileToUpload("/storage/emulated/0/Android/data/com.izouma.mobilecybergames/files/record/record1553655902913.flv", "video")
                                     // .addFileToUpload("/storage/emulated/0/Android/data/com.izouma.mobilecybergames/files/record/record1553655902913.flv", "video")
                                     .addParameter("id", String.valueOf(playerInfoId))
                                     .addParameter("id", String.valueOf(playerInfoId))

+ 1 - 1
screen_stream_plugin/ios/Classes/ScreenStreamPlugin.m

@@ -37,7 +37,7 @@
 - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result {
 - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result {
     if ([@"start" isEqualToString:call.method]) {
     if ([@"start" isEqualToString:call.method]) {
         NSString *playerInfoId = call.arguments[@"playerInfoId"];
         NSString *playerInfoId = call.arguments[@"playerInfoId"];
-        NSString *rtmpUrl = [NSString stringWithFormat:@"rtmp://47.96.141.102:1935/myapp/%@?playerInfoId=%@", playerInfoId, playerInfoId];
+        NSString *rtmpUrl = [NSString stringWithFormat:@"rtmp://47.96.141.102:1935/yuanren/%@?playerInfoId=%@", playerInfoId, playerInfoId];
         NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"group.com.izouma.wnnaBattle"];
         NSUserDefaults *userDefaults = [[NSUserDefaults alloc] initWithSuiteName:@"group.com.izouma.wnnaBattle"];
         [userDefaults setValue:rtmpUrl forKey:@"rtmpUrl"];
         [userDefaults setValue:rtmpUrl forKey:@"rtmpUrl"];
         [userDefaults synchronize];
         [userDefaults synchronize];