|
@@ -11,7 +11,7 @@
|
|
|
// IsChannel:是否是P2P通道
|
|
|
- (void)reportWebRtcRePoportTypeIsChannel:(BOOL)IsChannel withStats:(RTC_OBJC_TYPE(RTCStatisticsReport) *)stats
|
|
|
{
|
|
|
- HLog(@"444444 %@",stats)
|
|
|
+ //HLog(@"444444 %@",stats)
|
|
|
if(!stats){
|
|
|
[self reportWebRtcRePoportTypeIsChannel:IsChannel withStatus:0 withPublicIp:@"" withPublicPort:@"" withPrivateIp:@"" withPrivatePort:@""];
|
|
|
return;
|
|
@@ -27,7 +27,7 @@
|
|
|
for (NSString *key in [stats.statistics allKeys]) {
|
|
|
RTCStatistics *rtcStatistics = [stats.statistics objectForKey:key];
|
|
|
|
|
|
- HLog(@"222 %@",rtcStatistics.type)
|
|
|
+ //HLog(@"222 %@",rtcStatistics.type)
|
|
|
|
|
|
if ([rtcStatistics.type isEqualToString:@"transport"]) {
|
|
|
jsonTransport = rtcStatistics.values;
|