1234567891011121314151617181920212223242526272829303132333435363738394041 |
- #ifndef CALL_ADAPTATION_ADAPTATION_CONSTRAINT_H_
- #define CALL_ADAPTATION_ADAPTATION_CONSTRAINT_H_
- #include <string>
- #include "api/adaptation/resource.h"
- #include "call/adaptation/video_source_restrictions.h"
- #include "call/adaptation/video_stream_input_state.h"
- namespace webrtc {
- class AdaptationConstraint {
- public:
- virtual ~AdaptationConstraint();
- virtual std::string Name() const = 0;
-
-
-
- virtual bool IsAdaptationUpAllowed(
- const VideoStreamInputState& input_state,
- const VideoSourceRestrictions& restrictions_before,
- const VideoSourceRestrictions& restrictions_after) const = 0;
- };
- }
- #endif
|