* The LinphoneCall object represents a call issued or received by the LinphoneCore
**/
struct _LinphoneCall;
+ /**
+ * The LinphoneCall object represents a call issued or received by the LinphoneCore
+ **/
typedef struct _LinphoneCall LinphoneCall;
-
+
+
+#define LINPHONE_CALL_STATS_AUDIO 0
+#define LINPHONE_CALL_STATS_VIDEO 1
+
+typedef struct _LinphoneCallStats {
+ int type;
+ jitter_stats_t jitter_stats;
+ mblk_t* received_rtcp;
+ mblk_t* sent_rtcp;
+ float round_trip_delay;
+} LinphoneCallStats;
+
+const LinphoneCallStats *linphone_call_get_audio_stats(const LinphoneCall *call);
+const LinphoneCallStats *linphone_call_get_video_stats(const LinphoneCall *call);
+
+
/** Callback prototype */
typedef void (*LinphoneCallCbFunc)(struct _LinphoneCall *call,void * user_data);