bug fix
This commit is contained in:
@@ -25,12 +25,8 @@
|
||||
|
||||
[self setupUI];
|
||||
|
||||
// 加载上次使用的频道ID(优先使用单聊的,如果没有则使用会议的)
|
||||
NSString *lastChannelId = [[AVConfigManager sharedManager] loadCallChannelId];
|
||||
if (lastChannelId.length == 0) {
|
||||
lastChannelId = [[AVConfigManager sharedManager] loadConferenceChannelId];
|
||||
}
|
||||
self.channelIdTextField.text = lastChannelId;
|
||||
// 加载上次使用的频道ID
|
||||
self.channelIdTextField.text = [[AVConfigManager sharedManager] loadCallChannelId];
|
||||
}
|
||||
|
||||
- (void)setupUI {
|
||||
@@ -173,7 +169,7 @@
|
||||
}
|
||||
|
||||
// 保存频道 ID
|
||||
[[AVConfigManager sharedManager] saveConferenceChannelId:channelId];
|
||||
[[AVConfigManager sharedManager] saveCallChannelId:channelId];
|
||||
|
||||
// 创建并跳转到视频会议页面
|
||||
SellyVideoCallConferenceController *vc = [[SellyVideoCallConferenceController alloc] init];
|
||||
|
||||
@@ -714,18 +714,7 @@
|
||||
}
|
||||
|
||||
- (void)player:(SellyLiveVideoPlayer *)player onDebugInfo:(SellyLivePlayerStats *)stats {
|
||||
NSLog(@"统计信息: 协议=%@, CPU=%ld%%/%ld%%, FPS=%ld, 码率=%ldkbps/%ldkbps, RTT=%ldms ,freezeTime=%ldms, 分辨率=%@, 丢包率=%.2f%% timestampMs=%lld",
|
||||
stats.protocol,
|
||||
stats.appCpu,
|
||||
stats.systemCpu,
|
||||
stats.fps,
|
||||
stats.videoBitrate,
|
||||
stats.audioBitrate,
|
||||
stats.rtt,
|
||||
stats.freezeTime,
|
||||
NSStringFromCGSize(stats.videoSize),
|
||||
stats.packetLossRate,
|
||||
stats.timestampMs);
|
||||
|
||||
}
|
||||
|
||||
#pragma mark - Screenshot
|
||||
|
||||
Reference in New Issue
Block a user