summaryrefslogtreecommitdiff
path: root/common_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'common_types.h')
-rw-r--r--common_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/common_types.h b/common_types.h
index 796ddca0..05e1faf5 100644
--- a/common_types.h
+++ b/common_types.h
@@ -269,6 +269,15 @@ class FrameCountObserver {
const unsigned int ssrc) = 0;
};
+// Callback, used to notify an observer whenever the send-side delay is updated.
+class SendSideDelayObserver {
+ public:
+ virtual ~SendSideDelayObserver() {}
+ virtual void SendSideDelayUpdated(int avg_delay_ms,
+ int max_delay_ms,
+ uint32_t ssrc) = 0;
+};
+
// ==================================================================
// Voice specific types
// ==================================================================