From cfb084858ac9293c1efe8a740047a08ca3d45242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Erik=20Spr=C3=A5ng?= Date: Thu, 23 Apr 2026 15:50:36 +0200 Subject: [PATCH] Add OnFrameDropped override to LocalRecorder::Display --- .../host/frontend/webrtc/libdevice/local_recorder.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/base/cvd/cuttlefish/host/frontend/webrtc/libdevice/local_recorder.cpp b/base/cvd/cuttlefish/host/frontend/webrtc/libdevice/local_recorder.cpp index 2f779c2d4fd..65bb245a7eb 100644 --- a/base/cvd/cuttlefish/host/frontend/webrtc/libdevice/local_recorder.cpp +++ b/base/cvd/cuttlefish/host/frontend/webrtc/libdevice/local_recorder.cpp @@ -18,6 +18,7 @@ #include #include +#include #include #include #include @@ -27,14 +28,12 @@ #include "absl/log/log.h" #include -#include -#include -#include +#include +#include #include #include #include #include -#include namespace cuttlefish { namespace webrtc_streaming { @@ -63,6 +62,9 @@ class LocalRecorder::Display virtual webrtc::EncodedImageCallback::Result OnEncodedImage( const webrtc::EncodedImage& encoded_image, const webrtc::CodecSpecificInfo* codec_specific_info) override; + // TODO(sprang): Mark as override when the libwebrtc dependency is bumped. + virtual void OnFrameDropped(uint32_t rtp_timestamp, int spatial_id, + bool is_end_of_temporal_unit) {} LocalRecorder::Impl& impl_; std::shared_ptr source_;