Index: webrtc/video_send_stream.h |
diff --git a/webrtc/video_send_stream.h b/webrtc/video_send_stream.h |
index bc8773e70910030afa8cfb848cac749f0d525b61..5d84aaddde3d561ac79038e6956c358f1394d66f 100644 |
--- a/webrtc/video_send_stream.h |
+++ b/webrtc/video_send_stream.h |
@@ -23,6 +23,7 @@ |
namespace webrtc { |
+class LoadObserver; |
class VideoEncoder; |
// Class to deliver captured frame to the video send stream. |
@@ -118,6 +119,10 @@ class VideoSendStream : public SendStream { |
// Transport for outgoing packets. |
newapi::Transport* send_transport = nullptr; |
+ // Callback for overuse and normal usage based on the jitter of incoming |
+ // captured frames. 'nullptr' disables the callback. |
+ LoadObserver* overuse_callback = nullptr; |
+ |
// Called for each I420 frame before encoding the frame. Can be used for |
// effects, snapshots etc. 'nullptr' disables the callback. |
I420FrameCallback* pre_encode_callback = nullptr; |