Commit f1176d27287f6d49fc11eda8094a317d3625611b

Authored by 朱林
1 parent 79f2d873

no message

LiveVideoCloud/Classes/Sections/LiveSections/Controller/LVCLiveViewController.m
... ... @@ -98,7 +98,12 @@
98 98 NSString *random = [NSString stringWithFormat:@"%d%d%d%d%d",arc4random()%9,arc4random()%9,arc4random()%9,arc4random()%9,arc4random()%9];
99 99 NSString *activityId = [NSString stringWithFormat:@"%@%@",timeString,random];
100 100  
101   - _kitCN = [[CNLiveGPUStreamerKit alloc] initWithDefaultConfigWithActivityId:activityId channelId:@"iOStest" isHorizontalScreen:@"0"];
  101 +// _kitCN = [[CNLiveGPUStreamerKit alloc] initWithDefaultConfigWithActivityId:activityId channelId:@"iOStest" isHorizontalScreen:@"0"];
  102 +
  103 + _kitCN = [[CNLiveGPUStreamerKit alloc] initCNLiveKitWithInterruptConfigWithPureAudioMode:NO];
  104 + _kitCN.activityId = activityId;
  105 + _kitCN.channelId = @"iOStest";
  106 +
102 107 // 封面图
103 108 _kitCN.coverImgUrl = @"https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=169300069,2234409601&fm=21&gp=0.jpg";
104 109 // 昵称 头像
... ...