diff --git a/Classes/CallSideMenuView.m b/Classes/CallSideMenuView.m index 7d641180d..29ecbc382 100644 --- a/Classes/CallSideMenuView.m +++ b/Classes/CallSideMenuView.m @@ -68,6 +68,10 @@ } } ++ (NSString*)afinetToString:(int)remote_family { + return (remote_family == UNSPEC) ? @"Unspecified":(remote_family == INET) ? @"IPv4" : @"IPv6"; +} + + (NSString *)mediaEncryptionToString:(LinphoneMediaEncryption)enc { switch (enc) { case LinphoneMediaEncryptionDTLS: @@ -142,6 +146,9 @@ [result appendString:@"\n"]; [result appendString:[NSString stringWithFormat:@"ICE state: %@", [self.class iceToString:stats->ice_state]]]; [result appendString:@"\n"]; + + [result appendString:[NSString stringWithFormat:@"Afinet: %@", [self.class afinetToString:stats->rtp_remote_family]]]; + [result appendString:@"\n"]; // RTP stats section (packet loss count, etc) rtp_stats_t rtp_stats = linphone_call_stats_get_rtp_stats(stats);