|
|
@@ -360,7 +360,7 @@
|
|
|
[self initPointForControlBtnFun];
|
|
|
|
|
|
_testLostLabel = [[UILabel alloc] init];
|
|
|
- _testLostLabel.textColor = [UIColor yellowColor];
|
|
|
+ _testLostLabel.textColor = [UIColor greenColor];
|
|
|
_testLostLabel.textAlignment = NSTextAlignmentCenter;
|
|
|
_testLostLabel.font = [UIFont systemFontOfSize:14.0];
|
|
|
_testLostLabel.numberOfLines = 0;
|
|
|
@@ -1342,6 +1342,11 @@
|
|
|
//FPS
|
|
|
__block NSString*lostDataStr = [[NSString alloc] initWithFormat:@"总包数:%ld --总丢包数:%ld--3秒接受到包数:%ld---3秒丢包数:%ld---3秒丢包率:%0.2f%%",lasPacketsReceived,lastAlllostData,(NSInteger)NsecondReceivedData,(NSInteger)NsecondLostData,prelostRate];
|
|
|
|
|
|
+ webrtcServerModel * webrtcServerMod = ksharedAppDelegate.bestWebrtcServerModel;
|
|
|
+ NSString *signallingUrl = [[NSString alloc] initWithFormat:@"%@:%@--\n%@:%@--%.0fms",webrtcServerMod.signallingIp,webrtcServerMod.signallingPort,webrtcServerMod.turnIp,webrtcServerMod.turnPort,webrtcServerMod.delayedms];
|
|
|
+
|
|
|
+ lostDataStr = [[NSString alloc] initWithFormat:@"%@\n%@",lostDataStr,signallingUrl];
|
|
|
+
|
|
|
mainBlock(^{
|
|
|
self->_testLostLabel.text = lostDataStr;
|
|
|
});
|