Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: webrtc/media/engine/webrtcvideoengine2.h

Issue 1836043004: Cleanup the VideoAdapter (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Addressed pbos comments Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: webrtc/media/engine/webrtcvideoengine2.h
diff --git a/webrtc/media/engine/webrtcvideoengine2.h b/webrtc/media/engine/webrtcvideoengine2.h
index 8c05c60f6823606a951783a5485adebef2e3dc1b..ba2dbd8a02b1d71faec77e49aa357ce426bcad56 100644
--- a/webrtc/media/engine/webrtcvideoengine2.h
+++ b/webrtc/media/engine/webrtcvideoengine2.h
@@ -175,6 +175,15 @@ class WebRtcVideoChannel2 : public VideoMediaChannel, public webrtc::Transport {
// Implemented for VideoMediaChannelTest.
bool sending() const { return sending_; }
+ // AdaptReason is used for expressing why a WebRtcVideoSendStream request
+ // a lower input frame size than the currently configured camera input frame
+ // size. There can be more than one reason OR:ed together.
+ enum AdaptReason {
+ ADAPTREASON_NONE = 0,
+ ADAPTREASON_CPU = 1,
+ ADAPTREASON_BANDWIDTH = 2,
+ };
+
private:
class WebRtcVideoReceiveStream;
struct VideoCodecSettings {

Powered by Google App Engine
This is Rietveld 408576698