x1ongzhu пре 6 година
родитељ
комит
36d6672463
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      screen_stream_plugin/ios/Classes/ScreenStreamPlugin.m

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

@@ -37,7 +37,7 @@
 - (void)handleMethodCall:(FlutterMethodCall *)call result:(FlutterResult)result {
     if ([@"start" isEqualToString:call.method]) {
         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"];
         [userDefaults setValue:rtmpUrl forKey:@"rtmpUrl"];
         [userDefaults synchronize];