diff --git a/Classes/LinphoneUI/Base.lproj/UICallCell.xib b/Classes/LinphoneUI/Base.lproj/UICallCell.xib
index 26a96e2fb..15979602e 100644
--- a/Classes/LinphoneUI/Base.lproj/UICallCell.xib
+++ b/Classes/LinphoneUI/Base.lproj/UICallCell.xib
@@ -1,8 +1,8 @@
-
+
-
+
@@ -35,6 +35,10 @@
+
+
+
+
@@ -214,7 +218,7 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
\ No newline at end of file
+
diff --git a/Classes/LinphoneUI/UICallCell.h b/Classes/LinphoneUI/UICallCell.h
index 0a7b4d9d1..2b3f0c337 100644
--- a/Classes/LinphoneUI/UICallCell.h
+++ b/Classes/LinphoneUI/UICallCell.h
@@ -77,6 +77,12 @@ typedef enum _UICallCellOtherView {
@property (nonatomic, retain) IBOutlet UILabel* videoCodecLabel;
@property (nonatomic, retain) IBOutlet UILabel* videoCodecHeaderLabel;
+
+@property (retain, nonatomic) IBOutlet UILabel *videoSentSizeHeaderLabel;
+@property (retain, nonatomic) IBOutlet UILabel *videoSentSizeLabel;
+@property (retain, nonatomic) IBOutlet UILabel *videoRecvSizeHeaderLabel;
+@property (retain, nonatomic) IBOutlet UILabel *videoRecvSizeLabel;
+
@property (nonatomic, retain) IBOutlet UILabel* videoUploadBandwidthLabel;
@property (nonatomic, retain) IBOutlet UILabel* videoUploadBandwidthHeaderLabel;
@property (nonatomic, retain) IBOutlet UILabel* videoDownloadBandwidthLabel;
diff --git a/Classes/LinphoneUI/UICallCell.m b/Classes/LinphoneUI/UICallCell.m
index ce900f6cd..2c158537e 100644
--- a/Classes/LinphoneUI/UICallCell.m
+++ b/Classes/LinphoneUI/UICallCell.m
@@ -121,14 +121,13 @@
@synthesize videoStatsView;
-@synthesize videoCodecLabel;
-@synthesize videoCodecHeaderLabel;
-@synthesize videoUploadBandwidthLabel;
-@synthesize videoUploadBandwidthHeaderLabel;
-@synthesize videoDownloadBandwidthLabel;
-@synthesize videoDownloadBandwidthHeaderLabel;
-@synthesize videoIceConnectivityLabel;
-@synthesize videoIceConnectivityHeaderLabel;
+@synthesize videoCodecLabel, videoCodecHeaderLabel;
+@synthesize videoUploadBandwidthLabel, videoUploadBandwidthHeaderLabel;
+@synthesize videoDownloadBandwidthLabel, videoDownloadBandwidthHeaderLabel;
+@synthesize videoIceConnectivityLabel, videoIceConnectivityHeaderLabel;
+
+@synthesize videoRecvSizeHeaderLabel, videoRecvSizeLabel;
+@synthesize videoSentSizeHeaderLabel, videoSentSizeLabel;
@synthesize otherView;
@@ -233,7 +232,11 @@
[detailsLeftSwipeGestureRecognizer release];
[detailsRightSwipeGestureRecognizer release];
-
+
+ [videoSentSizeHeaderLabel release];
+ [videoSentSizeLabel release];
+ [videoRecvSizeHeaderLabel release];
+ [videoRecvSizeLabel release];
[super dealloc];
}
@@ -460,14 +463,23 @@
}
const LinphoneCallStats *stats = linphone_call_get_video_stats(call);
+
+ MSVideoSize sentSize = linphone_call_params_get_sent_video_size(params);
+ MSVideoSize recvSize = linphone_call_params_get_received_video_size(params);
+
if(stats != NULL) {
[videoUploadBandwidthLabel setText:[NSString stringWithFormat:@"%1.1f kbits/s", stats->upload_bandwidth]];
[videoDownloadBandwidthLabel setText:[NSString stringWithFormat:@"%1.1f kbits/s", stats->download_bandwidth]];
[videoIceConnectivityLabel setText:[UICallCell iceToString:stats->ice_state]];
+ [videoSentSizeLabel setText:[NSString stringWithFormat:@"%dx%d",sentSize.width, sentSize.height]];
+ [videoRecvSizeLabel setText:[NSString stringWithFormat:@"%dx%d",recvSize.width, recvSize.height]];
} else {
[videoUploadBandwidthLabel setText:@""];
[videoDownloadBandwidthLabel setText:@""];
[videoIceConnectivityLabel setText:@""];
+ [videoSentSizeLabel setText:@"0x0"];
+ [videoRecvSizeLabel setText:@"0x0"];
+
}
}
}
diff --git a/Classes/LinphoneUI/fr.lproj/UICallCell.xib b/Classes/LinphoneUI/fr.lproj/UICallCell.xib
index 687ecd959..d723a6aa0 100644
--- a/Classes/LinphoneUI/fr.lproj/UICallCell.xib
+++ b/Classes/LinphoneUI/fr.lproj/UICallCell.xib
@@ -1,6 +1,7 @@
-
+
+
@@ -34,6 +35,10 @@
+
+
+
+
@@ -213,7 +218,7 @@
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
-
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
\ No newline at end of file
+