aboutsummaryrefslogtreecommitdiff
path: root/call/adaptation/resource_adaptation_processor_interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'call/adaptation/resource_adaptation_processor_interface.h')
-rw-r--r--call/adaptation/resource_adaptation_processor_interface.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/call/adaptation/resource_adaptation_processor_interface.h b/call/adaptation/resource_adaptation_processor_interface.h
index 9a059dde89..a2d1a24d40 100644
--- a/call/adaptation/resource_adaptation_processor_interface.h
+++ b/call/adaptation/resource_adaptation_processor_interface.h
@@ -12,6 +12,7 @@
#define CALL_ADAPTATION_RESOURCE_ADAPTATION_PROCESSOR_INTERFACE_H_
#include <map>
+#include <vector>
#include "absl/types/optional.h"
#include "api/adaptation/resource.h"
@@ -80,6 +81,7 @@ class ResourceAdaptationProcessorInterface {
virtual void RemoveRestrictionsListener(
VideoSourceRestrictionsListener* restrictions_listener) = 0;
virtual void AddResource(rtc::scoped_refptr<Resource> resource) = 0;
+ virtual std::vector<rtc::scoped_refptr<Resource>> GetResources() const = 0;
virtual void RemoveResource(rtc::scoped_refptr<Resource> resource) = 0;
virtual void AddAdaptationConstraint(
AdaptationConstraint* adaptation_constraint) = 0;