| Index: webrtc/video_send_stream.h
|
| diff --git a/webrtc/video_send_stream.h b/webrtc/video_send_stream.h
|
| index 18606de9faf318803a15dcc08af951bbc4ec9509..1c37390dd7c9b0a257695cbb2ea3eb7cab3099af 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.
|
| @@ -122,6 +123,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;
|
|
|