mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-01 10:49:26 +00:00
Remote rtp family in CallSideMenuView
This commit is contained in:
parent
96d33a13b8
commit
9fbf331468
1 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue