Commit c3c408e1e279619eb63aa2458c1a0cd82eb3fc36

Authored by 朱林
1 parent 1508a4ff

no message

LiveVideoCloud/AppDelegate/AppDelegate.m
... ... @@ -22,7 +22,7 @@
22 22 self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
23 23 self.window.rootViewController = [[ZXTabBarController alloc] init];
24 24  
25   - //初始化直播SDK
  25 + //APP 启动是初始化直播SDK
26 26 [[CNLiveWebcastManager manager] initWithAppId:UserAppId appKey:UserAppKey isTestEnvironment:YES];
27 27  
28 28 //初始化聊天SDK并连接服务器
... ... @@ -44,7 +44,7 @@
44 44  
45 45 // 20170327 20170328
46 46  
47   - CNLiveChatUserInfo *userInfo = [[CNLiveChatUserInfo alloc] initWithUserId:@"20170328" name:@"20170328" portrait:@""];
  47 + CNLiveChatUserInfo *userInfo = [[CNLiveChatUserInfo alloc] initWithUserId:@"20170328ll" name:@"20170328" portrait:@""];
48 48 [[CNLiveChatManager sharedCNLiveChatManager] loginServer:userInfo success:^(NSString *userId) {
49 49 NSLog(@"连接服务器-----success");
50 50  
... ...